Merge pull request #5820 from IonAgorria/fixcloneline

FIX: cloned supplier order lines not having all parameters
This commit is contained in:
Laurent Destailleur 2016-10-01 18:59:57 +02:00 committed by GitHub
commit fe7e600dd3

View File

@ -1148,7 +1148,13 @@ class CommandeFournisseur extends CommonOrder
$this->lines[$i]->remise_percent,
'HT',
0,
$this->lines[$i]->info_bits
$this->lines[$i]->product_type,
$this->lines[$i]->info_bits,
false,
$this->lines[$i]->date_start,
$this->lines[$i]->date_end,
0,
$this->lines[$i]->fk_unit
);
if ($result < 0)
{