Do not format quantities with digits in over shipment warning message
The rounding, due to the number of digits, may display an confusing message for which both quantities are the same. Closes #13495 (grafted from 5bd93cbda1c0f5280212c7fbb387299fea026a79) --HG-- branch : 6.0
This commit is contained in:
@@ -67,6 +67,6 @@ class Line(metaclass=PoolMeta):
|
||||
gettext('sale_shipment_tolerance.msg_over_shipment',
|
||||
line=self.rec_name,
|
||||
shipped=lang.format(
|
||||
'%.*f', (self.unit.digits, shipped_quantity)),
|
||||
'%f', shipped_quantity),
|
||||
maximal=lang.format(
|
||||
'%.*f', (self.unit.digits, maximal_quantity))))
|
||||
'%f', maximal_quantity)))
|
||||
|
||||
Reference in New Issue
Block a user