Fix line origin and Id when create order from

This commit is contained in:
florian HENRY 2020-03-02 15:22:35 +01:00
parent 06e428064f
commit dbb80aecd1

View File

@ -951,8 +951,8 @@ class Commande extends CommonOrder
$line->label, $line->label,
$line->array_options, $line->array_options,
$line->fk_unit, $line->fk_unit,
$this->element, $line->origin,
$line->id $line->origin_id
); );
if ($result < 0) if ($result < 0)
{ {