diff options
| author | Yannick Tivisse <yti@odoo.com> | 2017-05-30 15:29:57 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-05-30 15:52:47 +0200 |
| commit | e2f3e8c4b79b5a86aceef3e47368cdba9c0c982d (patch) | |
| tree | 6c8daee0514ee85a46cae070eedd309d1dc884e0 | |
| parent | c5718fa897cdffca8c2b5bf3e535552b0d581bda (diff) | |
[FIX] stock: Make incoterm names translatable
| -rw-r--r-- | addons/stock/i18n/stock.pot | 79 | ||||
| -rw-r--r-- | addons/stock/models/stock_incoterms.py | 2 |
2 files changed, 78 insertions, 3 deletions
diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index d0c4ce258b1..e7182b88541 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -897,18 +897,38 @@ 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 "" @@ -1444,6 +1464,41 @@ 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" msgstr "" @@ -1861,6 +1916,11 @@ 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" msgstr "" @@ -1934,6 +1994,21 @@ 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" msgstr "" diff --git a/addons/stock/models/stock_incoterms.py b/addons/stock/models/stock_incoterms.py index 0d8a1258fbf..c315e36abe5 100644 --- a/addons/stock/models/stock_incoterms.py +++ b/addons/stock/models/stock_incoterms.py @@ -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, |
