Format quantities of over shipment warning message with the unit
This commit is contained in:
@@ -66,5 +66,7 @@ class Line(metaclass=PoolMeta):
|
||||
name,
|
||||
gettext('sale_shipment_tolerance.msg_over_shipment',
|
||||
line=self.rec_name,
|
||||
shipped=lang.format_number(shipped_quantity),
|
||||
maximal=lang.format_number(maximal_quantity)))
|
||||
shipped=lang.format_number_symbol(
|
||||
shipped_quantity, self.unit),
|
||||
maximal=lang.format_number_symbol(
|
||||
maximal_quantity, self.unit)))
|
||||
|
||||
Reference in New Issue
Block a user