Navigation Menu

Skip to content

Commit

Permalink
[FIX] delivery: translate delivery name
Browse files Browse the repository at this point in the history
Somehow a backport of fce72f9

opw-1886904
  • Loading branch information
nim-odoo committed Oct 10, 2018
1 parent 782e437 commit 5b594de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/delivery/models/sale_order.py
Expand Up @@ -88,7 +88,7 @@ def _create_delivery_line(self, carrier, price_unit):
# Create the sale order line
values = {
'order_id': self.id,
'name': carrier.name,
'name': carrier.with_context(lang=self.partner_id.lang).name,
'product_uom_qty': 1,
'product_uom': carrier.product_id.uom_id.id,
'product_id': carrier.product_id.id,
Expand Down

0 comments on commit 5b594de

Please sign in to comment.