Merge pull request #20316 from atm-gauthier/14.0_fix_round_unitprice_with_MU
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:
commit
090b5c41bf
@ -3400,7 +3400,7 @@ class Form
|
|||||||
'value'=>$outref,
|
'value'=>$outref,
|
||||||
'label'=>$outval,
|
'label'=>$outval,
|
||||||
'qty'=>$outqty,
|
'qty'=>$outqty,
|
||||||
'price_ht'=>price2num($objp->unitprice, 'MT'),
|
'price_ht'=>price2num($objp->unitprice, 'MU'),
|
||||||
'discount'=>$outdiscount,
|
'discount'=>$outdiscount,
|
||||||
'type'=>$outtype,
|
'type'=>$outtype,
|
||||||
'duration_value'=>$outdurationvalue,
|
'duration_value'=>$outdurationvalue,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user