Fix: Can't modifiy accountancy code sell

This commit is contained in:
Laurent Destailleur 2012-06-28 20:01:50 +02:00
parent 4176287094
commit a30b366b2b

View File

@ -126,7 +126,7 @@ if (empty($reshook))
$action=""; $action="";
} }
if ($action == 'setaccountancy_code_buy') if ($action == 'setaccountancy_code_sell')
{ {
$object->fetch($id,$ref); $object->fetch($id,$ref);
$result = $object->setValueFrom('accountancy_code_sell', $_POST['accountancy_code_sell']); $result = $object->setValueFrom('accountancy_code_sell', $_POST['accountancy_code_sell']);