diff --git a/pos_to_weight_by_product_uom/README.rst b/pos_to_weight_by_product_uom/README.rst new file mode 100644 index 00000000..b97c0917 --- /dev/null +++ b/pos_to_weight_by_product_uom/README.rst @@ -0,0 +1,4 @@ +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/pos_to_weight_by_product_uom/__init__.py b/pos_to_weight_by_product_uom/__init__.py new file mode 100644 index 00000000..31660d6a --- /dev/null +++ b/pos_to_weight_by_product_uom/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/pos_to_weight_by_product_uom/__manifest__.py b/pos_to_weight_by_product_uom/__manifest__.py new file mode 100644 index 00000000..adfd2089 --- /dev/null +++ b/pos_to_weight_by_product_uom/__manifest__.py @@ -0,0 +1,25 @@ +# Copyright 2017, Grap +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Pos to weight by product uom", + "summary": "Make 'To Weight' default value" + " depending on product UoM settings", + "version": "12.0.1.0.0", + "website": "https://github.com/OCA/pos", + "author": "GRAP, Odoo Community Association (OCA)", + "development_status": "Beta", + "license": "AGPL-3", + "installable": True, + "depends": [ + "point_of_sale", + ], + "data": [ + 'views/view_uom_uom.xml', + 'views/view_uom_category.xml', + ], + 'demo': [ + 'demo/res_groups.xml', + 'demo/uom_category.xml', + 'demo/uom_uom.xml', + ] +} diff --git a/pos_to_weight_by_product_uom/demo/res_groups.xml b/pos_to_weight_by_product_uom/demo/res_groups.xml new file mode 100644 index 00000000..5cb1b481 --- /dev/null +++ b/pos_to_weight_by_product_uom/demo/res_groups.xml @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/pos_to_weight_by_product_uom/demo/uom_category.xml b/pos_to_weight_by_product_uom/demo/uom_category.xml new file mode 100644 index 00000000..e3eceec8 --- /dev/null +++ b/pos_to_weight_by_product_uom/demo/uom_category.xml @@ -0,0 +1,12 @@ + + + + + + + Demo - New Category To Weigh + True + + + diff --git a/pos_to_weight_by_product_uom/demo/uom_uom.xml b/pos_to_weight_by_product_uom/demo/uom_uom.xml new file mode 100644 index 00000000..48bd22ec --- /dev/null +++ b/pos_to_weight_by_product_uom/demo/uom_uom.xml @@ -0,0 +1,11 @@ + + + + + + Demo - New Uom To Weigh + + + + diff --git a/pos_to_weight_by_product_uom/i18n/ca.po b/pos_to_weight_by_product_uom/i18n/ca.po new file mode 100644 index 00000000..c133863e --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/ca.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Plantilla del producte" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Plantilla del producte" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/de.po b/pos_to_weight_by_product_uom/i18n/de.po new file mode 100644 index 00000000..10d63874 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/de.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +# Rudolf Schnapka , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: Rudolf Schnapka , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Produktvorlage" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Produktvorlage" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "Maßeinheit des Produkts" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/es.po b/pos_to_weight_by_product_uom/i18n/es.po new file mode 100644 index 00000000..9231ded7 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/es.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Plantilla de producto" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Plantilla de producto" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "Unidad de medida" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/es_MX.po b/pos_to_weight_by_product_uom/i18n/es_MX.po new file mode 100644 index 00000000..59d35772 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/es_MX.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"es_MX/)\n" +"Language: es_MX\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Plantilla del producto" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Plantilla del producto" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/fi.po b/pos_to_weight_by_product_uom/i18n/fi.po new file mode 100644 index 00000000..65ac6ca2 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/fi.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Tuotteen malli" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Tuotteen malli" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/fr.po b/pos_to_weight_by_product_uom/i18n/fr.po new file mode 100644 index 00000000..cc6238b0 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/fr.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-13 12:19+0000\n" +"PO-Revision-Date: 2017-11-13 12:19+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "Demo - Nouvelle Catégorie à peser" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "Demo - Nouvelle UdM à peser" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Modèle d'article" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Modèle d'article" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "Unité de mesure d'article" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "Catégorie d'UdM d'article" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "À peser" diff --git a/pos_to_weight_by_product_uom/i18n/fr_CH.po b/pos_to_weight_by_product_uom/i18n/fr_CH.po new file mode 100644 index 00000000..4d78175a --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/fr_CH.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Template de produit" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Template de produit" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/hr.po b/pos_to_weight_by_product_uom/i18n/hr.po new file mode 100644 index 00000000..e31a816d --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/hr.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Predložak proizvoda" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Predložak proizvoda" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/hr_HR.po b/pos_to_weight_by_product_uom/i18n/hr_HR.po new file mode 100644 index 00000000..d4fa8aa3 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/hr_HR.po @@ -0,0 +1,62 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Predložak proizvoda" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Predložak proizvoda" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/it.po b/pos_to_weight_by_product_uom/i18n/it.po new file mode 100644 index 00000000..d524626c --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/it.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Template prodotto" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Template prodotto" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/pos_to_weight_by_product_uom.pot b/pos_to_weight_by_product_uom/i18n/pos_to_weight_by_product_uom.pot new file mode 100644 index 00000000..e39bc691 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/pos_to_weight_by_product_uom.pot @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +msgid "Product" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 +#: field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" + diff --git a/pos_to_weight_by_product_uom/i18n/pt_BR.po b/pos_to_weight_by_product_uom/i18n/pt_BR.po new file mode 100644 index 00000000..2b677614 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/pt_BR.po @@ -0,0 +1,62 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +# Felipe Lopes , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: Felipe Lopes , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Produto Modelo" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Produto Modelo" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "Unidade de medida do produto" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/ro.po b/pos_to_weight_by_product_uom/i18n/ro.po new file mode 100644 index 00000000..08a1459d --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/ro.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Produs șablon" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Produs șablon" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/sl.po b/pos_to_weight_by_product_uom/i18n/sl.po new file mode 100644 index 00000000..d5618c6d --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/sl.po @@ -0,0 +1,62 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +# Matjaž Mozetič , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-09 08:33+0000\n" +"PO-Revision-Date: 2017-12-09 08:33+0000\n" +"Last-Translator: Matjaž Mozetič , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "Demo - nova kategorija za tehtanje" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "Demo - nova EM za tehtanje" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Predloga proizvoda" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Predloga proizvoda" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "EM proizvoda" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "Kateg. EM proizvoda" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "Nastavite 'za tehtanje' pri vsakem proizvodu te kategorije" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "Za tehtanje" diff --git a/pos_to_weight_by_product_uom/i18n/tr_TR.po b/pos_to_weight_by_product_uom/i18n/tr_TR.po new file mode 100644 index 00000000..a2a948c5 --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/tr_TR.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Ürün şablonu" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Ürün şablonu" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/vi_VN.po b/pos_to_weight_by_product_uom/i18n/vi_VN.po new file mode 100644 index 00000000..ac5fe26e --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/vi_VN.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/" +"teams/23907/vi_VN/)\n" +"Language: vi_VN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "Mẫu sản phẩm" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "Mẫu sản phẩm" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/i18n/zh_CN.po b/pos_to_weight_by_product_uom/i18n/zh_CN.po new file mode 100644 index 00000000..d9322b4f --- /dev/null +++ b/pos_to_weight_by_product_uom/i18n/zh_CN.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_to_weight_by_product_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-08 04:01+0000\n" +"PO-Revision-Date: 2017-12-08 04:01+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom.categ,name:pos_to_weight_by_product_uom.product_uom_categ_to_weigh +msgid "Demo - New Category To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:product.uom,name:pos_to_weight_by_product_uom.product_uom_to_weigh +msgid "Demo - New Uom To Weigh" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_product +#, fuzzy +msgid "Product" +msgstr "产品模板" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_template +msgid "Product Template" +msgstr "产品模板" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom +msgid "Product Unit of Measure" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: model:ir.model,name:pos_to_weight_by_product_uom.model_product_uom_categ +msgid "Product uom categ" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: view:product.uom.categ:pos_to_weight_by_product_uom.product_uom_categ_form_view_inherit_pos_to_weight_by_product_uom +msgid "Set 'to weigh' in each product of this category" +msgstr "" + +#. module: pos_to_weight_by_product_uom +#: field:product.uom,to_weigh:0 field:product.uom.categ,to_weigh:0 +msgid "To weigh" +msgstr "" diff --git a/pos_to_weight_by_product_uom/models/__init__.py b/pos_to_weight_by_product_uom/models/__init__.py new file mode 100644 index 00000000..0bdd0ae6 --- /dev/null +++ b/pos_to_weight_by_product_uom/models/__init__.py @@ -0,0 +1,5 @@ + +from . import product_product +from . import product_template +from . import uom_uom +from . import uom_category diff --git a/pos_to_weight_by_product_uom/models/product_product.py b/pos_to_weight_by_product_uom/models/product_product.py new file mode 100644 index 00000000..ec8fc03b --- /dev/null +++ b/pos_to_weight_by_product_uom/models/product_product.py @@ -0,0 +1,16 @@ +# Copyright (C) 2018 - Today: GRAP (http://www.grap.coop) +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, models + + +class ProductProduct(models.Model): + _inherit = 'product.product' + + @api.onchange('uom_id', 'uom_po_id') + def _onchange_uom(self): + res = super(ProductProduct, self)._onchange_uom() + if self.uom_id: + self.to_weight = self.uom_id.to_weigh + return res diff --git a/pos_to_weight_by_product_uom/models/product_template.py b/pos_to_weight_by_product_uom/models/product_template.py new file mode 100644 index 00000000..16710a80 --- /dev/null +++ b/pos_to_weight_by_product_uom/models/product_template.py @@ -0,0 +1,15 @@ +# Copyright (C) 2017 - Today: GRAP (http://www.grap.coop) +# @author: Quentin DUPONT +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from odoo import api, models + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + @api.onchange('uom_id') + def _onchange_uom_id(self): + res = super(ProductTemplate, self)._onchange_uom_id() + if self.uom_id: + self.to_weight = self.uom_id.to_weigh + return res diff --git a/pos_to_weight_by_product_uom/models/uom_category.py b/pos_to_weight_by_product_uom/models/uom_category.py new file mode 100644 index 00000000..677bb1d3 --- /dev/null +++ b/pos_to_weight_by_product_uom/models/uom_category.py @@ -0,0 +1,17 @@ +# Copyright 2017, Grap +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models, api + + +class UomCategory(models.Model): + _inherit = 'uom.category' + + to_weigh = fields.Boolean('To weigh', default=False) + + @api.multi + def action_recompute_to_weigh(self): + for categ in self: + domain = [('uom_id.category_id', '=', categ.id)] + products = self.env['product.template'].search(domain) + products.write({'to_weight': categ.to_weigh}) diff --git a/pos_to_weight_by_product_uom/models/uom_uom.py b/pos_to_weight_by_product_uom/models/uom_uom.py new file mode 100644 index 00000000..b9675bbf --- /dev/null +++ b/pos_to_weight_by_product_uom/models/uom_uom.py @@ -0,0 +1,12 @@ +# Copyright 2017, Grap +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class UomUom(models.Model): + _inherit = 'uom.uom' + + to_weigh = fields.Boolean( + related='category_id.to_weigh', + readonly=True) diff --git a/pos_to_weight_by_product_uom/readme/CONFIGURE.rst b/pos_to_weight_by_product_uom/readme/CONFIGURE.rst new file mode 100644 index 00000000..ce80e91e --- /dev/null +++ b/pos_to_weight_by_product_uom/readme/CONFIGURE.rst @@ -0,0 +1,14 @@ +* active settings "Allow using different units of measure" in Settings > Configuration > Sales > Quotations and Sales Orders > Product Features + + +* During the creation of a category, tick the box 'To weigh'. + +.. image:: ../static/description/uom_categ_change_toweigh.png + :alt: Change the field 'To weigh' for every category + :width: 400 + +* You can set every product existing with the new 'To weigh' parameter + +.. image:: ../static/description/uom_categ_button_toweigh.png + :alt: Set 'to weigh' in each product of this category + :width: 900 diff --git a/pos_to_weight_by_product_uom/readme/CONTRIBUTORS.rst b/pos_to_weight_by_product_uom/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..cdeba9d2 --- /dev/null +++ b/pos_to_weight_by_product_uom/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Quentin Dupont, GRAP (http://www.grap.coop/) +* Sylvain LE GAL diff --git a/pos_to_weight_by_product_uom/readme/DESCRIPTION.rst b/pos_to_weight_by_product_uom/readme/DESCRIPTION.rst new file mode 100644 index 00000000..622cdcaf --- /dev/null +++ b/pos_to_weight_by_product_uom/readme/DESCRIPTION.rst @@ -0,0 +1,30 @@ +At the moment, when we create a new product and choose the unity of measure **kg**, +we have to tick the checkbox 'To Weigh With Scale' in the Point of Sale part. + +We want to speed the process of creating a new product, avoiding filling manually this parameter. + + +This module adds the field **'To weigh'** in UOM categories (set to **false** by default). + +.. image:: ../static/description/uom_categ_toweigh.png + :alt: Categories of unities of measure + :width: 900 + + +**→** This field affects every unities contained in this category. + +.. image:: ../static/description/uom_toweigh.png + :alt: Unities of measure with field 'To weigh' + :width: 900 + +**→** **AND** it is linked with the parameter **to_weight** in product.template used for example in the Point of Sale app. + +.. image:: ../static/description/uom_pos_change_toweigh_checked.png + :alt: Change the field 'to weigh' for every product + :width: 300 + +* You **CAN'T** change 'To weigh' for one UOM → You have to change in Category and affect all UOM of this category. + +.. image:: ../static/description/uom_change_toweigh.png + :alt: Can't change the field 'to weigh' for one unity of measure + :width: 900 diff --git a/pos_to_weight_by_product_uom/readme/USAGE.rst b/pos_to_weight_by_product_uom/readme/USAGE.rst new file mode 100644 index 00000000..5ad68e66 --- /dev/null +++ b/pos_to_weight_by_product_uom/readme/USAGE.rst @@ -0,0 +1,5 @@ +You're able to change this field for a specific product (in tab Sales). + +.. image:: ../static/description/uom_pos_change_toweigh.png + :alt: Change the field 'to weigh' for a specific + :width: 300 diff --git a/pos_to_weight_by_product_uom/static/description/icon.png b/pos_to_weight_by_product_uom/static/description/icon.png new file mode 100644 index 00000000..f1cbe7ba Binary files /dev/null and b/pos_to_weight_by_product_uom/static/description/icon.png differ diff --git a/pos_to_weight_by_product_uom/static/description/uom_categ_button_toweigh.png b/pos_to_weight_by_product_uom/static/description/uom_categ_button_toweigh.png new file mode 100644 index 00000000..e25d48fd Binary files /dev/null and b/pos_to_weight_by_product_uom/static/description/uom_categ_button_toweigh.png differ diff --git a/pos_to_weight_by_product_uom/static/description/uom_categ_change_toweigh.png b/pos_to_weight_by_product_uom/static/description/uom_categ_change_toweigh.png new file mode 100644 index 00000000..bf19c9fd Binary files /dev/null and b/pos_to_weight_by_product_uom/static/description/uom_categ_change_toweigh.png differ diff --git a/pos_to_weight_by_product_uom/static/description/uom_categ_toweigh.png b/pos_to_weight_by_product_uom/static/description/uom_categ_toweigh.png new file mode 100644 index 00000000..250723ba Binary files /dev/null and b/pos_to_weight_by_product_uom/static/description/uom_categ_toweigh.png differ diff --git a/pos_to_weight_by_product_uom/static/description/uom_change_toweigh.png b/pos_to_weight_by_product_uom/static/description/uom_change_toweigh.png new file mode 100644 index 00000000..1d900f28 Binary files /dev/null and b/pos_to_weight_by_product_uom/static/description/uom_change_toweigh.png differ diff --git a/pos_to_weight_by_product_uom/static/description/uom_pos_change_toweigh.png b/pos_to_weight_by_product_uom/static/description/uom_pos_change_toweigh.png new file mode 100644 index 00000000..260fe53c Binary files /dev/null and b/pos_to_weight_by_product_uom/static/description/uom_pos_change_toweigh.png differ diff --git a/pos_to_weight_by_product_uom/static/description/uom_pos_change_toweigh_checked.png b/pos_to_weight_by_product_uom/static/description/uom_pos_change_toweigh_checked.png new file mode 100644 index 00000000..8baff3db Binary files /dev/null and b/pos_to_weight_by_product_uom/static/description/uom_pos_change_toweigh_checked.png differ diff --git a/pos_to_weight_by_product_uom/views/view_uom_category.xml b/pos_to_weight_by_product_uom/views/view_uom_category.xml new file mode 100644 index 00000000..1dfcca7e --- /dev/null +++ b/pos_to_weight_by_product_uom/views/view_uom_category.xml @@ -0,0 +1,28 @@ + + + + + + + uom.category + + + + +