FIX : when we use ajax select product fourn price on supplier order for example, unitprice should be rounded with MU and not MT

This commit is contained in:
Gauthier PC portable 024 2022-03-09 17:41:48 +01:00
parent c0088191f1
commit f2aaa27d7b

View File

@ -3400,7 +3400,7 @@ class Form
'value'=>$outref,
'label'=>$outval,
'qty'=>$outqty,
'price_ht'=>price2num($objp->unitprice, 'MT'),
'price_ht'=>price2num($objp->unitprice, 'MU'),
'discount'=>$outdiscount,
'type'=>$outtype,
'duration_value'=>$outdurationvalue,