FIX - Clone Fourn Command, add line's extrafields
This commit is contained in:
parent
e0c8ccb9fb
commit
35f32391a0
@ -1288,6 +1288,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