Merge pull request #1978 from atm-maxime/3.6
Fix : product list was wrong on supplier invoice because fourn_id is not fetched
This commit is contained in:
commit
80581b2908
@ -160,7 +160,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->socid, GETPOST('idprodfournprice'), 'idprodfournprice', '', '', $ajaxoptions, 1);
|
||||
}
|
||||
echo '</span>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user