mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
eaee252a5d
|
|
@ -10,6 +10,7 @@
|
|||
<exclude-pattern type="relative">htdocs/conf.php</exclude-pattern>
|
||||
<exclude-pattern type="relative">*/nltechno*</exclude-pattern>
|
||||
<exclude-pattern type="relative">*/htdocs/includes</exclude-pattern>
|
||||
<exclude-pattern type="relative">*.min.css</exclude-pattern>
|
||||
|
||||
<!-- List of all tests -->
|
||||
|
||||
|
|
|
|||
|
|
@ -119,9 +119,15 @@ class MouvementStock extends CommonObject
|
|||
|
||||
// Set properties of movement
|
||||
$this->product_id = $fk_product;
|
||||
$this->entrepot_id = $entrepot_id;
|
||||
$this->entrepot_id = $entrepot_id; // deprecated
|
||||
$this->warehouse_id = $entrepot_id;
|
||||
$this->qty = $qty;
|
||||
$this->type = $type;
|
||||
$this->price = $price;
|
||||
$this->label = $label;
|
||||
$this->inventorycode = $inventorycode;
|
||||
$this->datem = $now;
|
||||
$this->batch = $batch;
|
||||
|
||||
$mvid = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -711,7 +711,7 @@ if (empty($reshook))
|
|||
// Logo/Photo save
|
||||
$dir = $conf->societe->multidir_output[$object->entity]."/".$object->id."/logos";
|
||||
$file_OK = is_uploaded_file($_FILES['photo']['tmp_name']);
|
||||
if (GETPOST('deletephoto') && $object->photo)
|
||||
if (GETPOST('deletephoto') && $object->logo)
|
||||
{
|
||||
$fileimg=$dir.'/'.$object->logo;
|
||||
$dirthumbs=$dir.'/thumbs';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user