diff --git a/addons/sale/i18n/sale.pot b/addons/sale/i18n/sale.pot index 564ed7139ae..94dc4ff890d 100644 --- a/addons/sale/i18n/sale.pot +++ b/addons/sale/i18n/sale.pot @@ -922,6 +922,12 @@ msgstr "" msgid "Never allow to modify a confirmed sale order" msgstr "" +#. module: sale +#: code:addons/sale/sale.py:96 +#, python-format +msgid "New" +msgstr "" + #. module: sale #: model:ir.actions.act_window,name:sale.action_quotation_form msgid "New Quotation" diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 4a740280109..2925d35c545 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -93,7 +93,7 @@ class SaleOrder(models.Model): for order in self: order.order_line._compute_tax_id() - name = fields.Char(string='Order Reference', required=True, copy=False, readonly=True, index=True, default='New') + name = fields.Char(string='Order Reference', required=True, copy=False, readonly=True, index=True, default=_('New')) origin = fields.Char(string='Source Document', help="Reference of the document that generated this sales order request.") client_order_ref = fields.Char(string='Customer Reference', copy=False)