[FIX] stock: Make incoterm names translatable

This commit is contained in:
Yannick Tivisse
2017-05-30 15:52:47 +02:00
parent c5718fa897
commit e2f3e8c4b7
2 changed files with 78 additions and 3 deletions
+77 -2
View File
@@ -896,19 +896,39 @@ msgstr ""
msgid "By unchecking the active field, you may hide an INCOTERM you will not use."
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_CIP
msgid "CARRIAGE AND INSURANCE PAID TO"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_CPT
msgid "CARRIAGE PAID TO"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_CFR
msgid "COST AND FREIGHT"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_CIF
msgid "COST, INSURANCE AND FREIGHT"
msgstr ""
#. module: stock
#: model:ir.ui.view,arch_db:stock.stock_picking_calendar
msgid "Calendar View"
msgstr ""
#. module: stock
#: code:addons/stock/models/stock_warehouse.py:396
#: code:addons/stock/models/stock_warehouse.py:400
#, python-format
msgid "Can't find any customer or supplier location."
msgstr ""
#. module: stock
#: code:addons/stock/models/stock_warehouse.py:444
#: code:addons/stock/models/stock_warehouse.py:448
#, python-format
msgid "Can't find any generic Make To Order route."
msgstr ""
@@ -1443,6 +1463,41 @@ msgstr ""
msgid "Customers"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_DAF
msgid "DELIVERED AT FRONTIER"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_DAP
msgid "DELIVERED AT PLACE"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_DAT
msgid "DELIVERED AT TERMINAL"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_DDP
msgid "DELIVERED DUTY PAID"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_DDU
msgid "DELIVERED DUTY UNPAID"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_DEQ
msgid "DELIVERED EX QUAY"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_DES
msgid "DELIVERED EX SHIP"
msgstr ""
#. module: stock
#: model:ir.model.fields,field_description:stock.field_stock_config_settings_module_delivery_dhl
msgid "DHL integration"
@@ -1860,6 +1915,11 @@ msgstr ""
msgid "Dropshipping"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_EXW
msgid "EX WORKS"
msgstr ""
#. module: stock
#: model:ir.ui.view,arch_db:stock.inventory_planner
msgid "Edit its details or add new ones"
@@ -1933,6 +1993,21 @@ msgstr ""
msgid "FIFO, LIFO..."
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_FAS
msgid "FREE ALONGSIDE SHIP"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_FCA
msgid "FREE CARRIER"
msgstr ""
#. module: stock
#: model:stock.incoterms,name:stock.incoterm_FOB
msgid "FREE ON BOARD"
msgstr ""
#. module: stock
#: model:ir.model.fields,field_description:stock.field_stock_config_settings_module_delivery_fedex
msgid "Fedex integration"
+1 -1
View File
@@ -9,7 +9,7 @@ class Incoterms(models.Model):
_description = "Incoterms"
name = fields.Char(
'Name', required=True,
'Name', required=True, translate=True,
help="Incoterms are series of sales terms. They are used to divide transaction costs and responsibilities between buyer and seller and reflect state-of-the-art transportation practices.")
code = fields.Char(
'Code', size=3, required=True,