-
-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by legalsylvain
- Loading branch information
Showing
41 changed files
with
1,265 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
Oops, something went wrong.