Merge pull request #9892 from atm-maxime/fix_supp_inv_clone

Fix invoice supplier clone was not getting all lines parameters #9800
This commit is contained in:
Laurent Destailleur 2018-10-30 14:59:48 +01:00 committed by GitHub
commit 4dca94480e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,14 @@ class FactureFournisseur extends CommonInvoice
$this->lines[$i]->fk_product,
'HT',
(! empty($this->lines[$i]->info_bits)?$this->lines[$i]->info_bits:''),
$this->lines[$i]->product_type
$this->lines[$i]->product_type,
$this->lines[$i]->remise_percent,
false,
$this->lines[$i]->date_start,
$this->lines[$i]->date_end,
$this->lines[$i]->array_options,
$this->lines[$i]->fk_unit,
$this->lines[$i]->pu_ht_devise
);
}
else