FIX - Clone Fourn Command, add line's extrafields

This commit is contained in:
atm-lena 2020-03-10 14:46:15 +01:00
parent e0c8ccb9fb
commit 35f32391a0

View File

@ -1288,6 +1288,10 @@ class CommandeFournisseur extends CommonOrder
$this->db->begin();
// get extrafields so they will be clone
foreach($this->lines as $line)
$line->fetch_optionals($line->rowid);
// Load source object
$objFrom = clone $this;