Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into 6.0
This commit is contained in:
commit
3ec295935c
@ -990,6 +990,8 @@ if (empty($reshook))
|
|||||||
$type = $productsupplier->type;
|
$type = $productsupplier->type;
|
||||||
$price_base_type = 'HT';
|
$price_base_type = 'HT';
|
||||||
|
|
||||||
|
$rang = $object->line_max() +1;
|
||||||
|
|
||||||
// TODO Save the product supplier ref into database (like done for supplier propal and order) into field ref_supplier (must rename field ref into ref_supplier first)
|
// TODO Save the product supplier ref into database (like done for supplier propal and order) into field ref_supplier (must rename field ref into ref_supplier first)
|
||||||
$result=$object->addline(
|
$result=$object->addline(
|
||||||
$desc,
|
$desc,
|
||||||
@ -1006,7 +1008,7 @@ if (empty($reshook))
|
|||||||
$tva_npr,
|
$tva_npr,
|
||||||
$price_base_type,
|
$price_base_type,
|
||||||
$type,
|
$type,
|
||||||
-1,
|
$rang,
|
||||||
0,
|
0,
|
||||||
$array_options,
|
$array_options,
|
||||||
$productsupplier->fk_unit
|
$productsupplier->fk_unit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user