Skip to content

Commit

Permalink
Merge PR #368 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
OCA-git-bot committed Nov 18, 2019
2 parents f2b6260 + 2d0b0d9 commit 7745d25
Show file tree
Hide file tree
Showing 41 changed files with 1,265 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pos_to_weight_by_product_uom/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3 changes: 3 additions & 0 deletions pos_to_weight_by_product_uom/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
25 changes: 25 additions & 0 deletions pos_to_weight_by_product_uom/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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',
]
}
11 changes: 11 additions & 0 deletions pos_to_weight_by_product_uom/demo/res_groups.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017, Grap
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->

<odoo>

<record model="res.groups" id="uom.group_uom">
<field name="users" eval="[(4, ref('base.user_admin'))]"/>
</record>

</odoo>
12 changes: 12 additions & 0 deletions pos_to_weight_by_product_uom/demo/uom_category.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017, Grap
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->

<odoo>

<record model="uom.category" id="uom_category_to_weigh">
<field name="name">Demo - New Category To Weigh</field>
<field name="to_weigh">True</field>
</record>

</odoo>
11 changes: 11 additions & 0 deletions pos_to_weight_by_product_uom/demo/uom_uom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Copyright 2017, Grap
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->

<odoo>

<record model="uom.uom" id="uom_uom_to_weigh">
<field name="name">Demo - New Uom To Weigh</field>
<field name="category_id" ref="pos_to_weight_by_product_uom.uom_category_to_weigh"/>
</record>

</odoo>
60 changes: 60 additions & 0 deletions pos_to_weight_by_product_uom/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""
61 changes: 61 additions & 0 deletions pos_to_weight_by_product_uom/i18n/de.po
Original file line number Diff line number Diff line change
@@ -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 <transbot@odoo-community.org>, 2017
# Rudolf Schnapka <rs@techno-flex.de>, 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 <rs@techno-flex.de>, 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 ""
60 changes: 60 additions & 0 deletions pos_to_weight_by_product_uom/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""
61 changes: 61 additions & 0 deletions pos_to_weight_by_product_uom/i18n/es_MX.po
Original file line number Diff line number Diff line change
@@ -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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""
60 changes: 60 additions & 0 deletions pos_to_weight_by_product_uom/i18n/fi.po
Original file line number Diff line number Diff line change
@@ -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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""

0 comments on commit 7745d25

Please sign in to comment.