Fix : product list was wrong on supplier invoice because fourn_id is not fetched
This commit is contained in:
parent
41f0920656
commit
26ccb79f24
@ -152,7 +152,7 @@ else {
|
||||
'option_disabled' => 'addPredefinedProductButton', // html id to disable once select is done
|
||||
'warning' => $langs->trans("NoPriceDefinedForThisSupplier") // translation of an error saved into var 'error'
|
||||
);
|
||||
$form->select_produits_fournisseurs($object->fourn_id, GETPOST('idprodfournprice'), 'idprodfournprice', '', '', $ajaxoptions, 1);
|
||||
$form->select_produits_fournisseurs($object->fk_soc, GETPOST('idprodfournprice'), 'idprodfournprice', '', '', $ajaxoptions, 1);
|
||||
}
|
||||
echo '</span>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user