Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
This commit is contained in:
commit
c9b715b7ad
@ -1316,7 +1316,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
false,
|
false,
|
||||||
$this->lines[$i]->date_start,
|
$this->lines[$i]->date_start,
|
||||||
$this->lines[$i]->date_end,
|
$this->lines[$i]->date_end,
|
||||||
0,
|
$this->lines[$i]->array_options,
|
||||||
$this->lines[$i]->fk_unit
|
$this->lines[$i]->fk_unit
|
||||||
);
|
);
|
||||||
if ($result < 0)
|
if ($result < 0)
|
||||||
@ -1425,6 +1425,10 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
|
|
||||||
$this->db->begin();
|
$this->db->begin();
|
||||||
|
|
||||||
|
// get extrafields so they will be clone
|
||||||
|
foreach($this->lines as $line)
|
||||||
|
$line->fetch_optionals($line->rowid);
|
||||||
|
|
||||||
// Load source object
|
// Load source object
|
||||||
$objFrom = clone $this;
|
$objFrom = clone $this;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user