Fix : product list was wrong on supplier invoice because fourn_id is not fetched

This commit is contained in:
MAxime Kohlhaas 2014-10-25 19:20:02 +02:00
parent 41f0920656
commit 374b761fdf

View File

@ -152,7 +152,7 @@ else {
'option_disabled' => 'addPredefinedProductButton', // html id to disable once select is done 'option_disabled' => 'addPredefinedProductButton', // html id to disable once select is done
'warning' => $langs->trans("NoPriceDefinedForThisSupplier") // translation of an error saved into var 'error' '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>'; echo '</span>';
} }