[FIX] sale: make New in new sales orders translate-able

opw-671476
This commit is contained in:
Denis Ledoux
2016-03-09 11:33:41 +01:00
parent f4006d22ef
commit c175699e3f
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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"
+1 -1
View File
@@ -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)