Use proper module for message when checking shipment cost for sale quotation

Closes #12458
This commit is contained in:
Sergi Almacellas Abellana
2023-08-09 23:20:03 +02:00
parent 83220a6076
commit 1ae7c02f97
+1 -1
View File
@@ -187,7 +187,7 @@ class Sale(metaclass=PoolMeta):
and line.quantity >= 0 and line.quantity >= 0
and not self.carrier): and not self.carrier):
raise SaleQuotationError( raise SaleQuotationError(
gettext('sale' gettext('sale_shipment_cost'
'.msg_sale_carrier_required_for_quotation', '.msg_sale_carrier_required_for_quotation',
sale=self.rec_name)) sale=self.rec_name))