From 2cad527753900903dc7297b4d53f91ef6ebd540b Mon Sep 17 00:00:00 2001 From: jbeficent Date: Mon, 24 Oct 2016 18:32:54 +0200 Subject: [PATCH 01/39] [IMP] Several improvements and fixes. --- stock_orderpoint_uom/README.rst | 65 +++++++++++++++++++ stock_orderpoint_uom/__init__.py | 6 ++ stock_orderpoint_uom/__openerp__.py | 19 ++++++ stock_orderpoint_uom/models/__init__.py | 7 ++ .../models/procurement_order.py | 21 ++++++ .../models/stock_warehouse_orderpoint.py | 27 ++++++++ stock_orderpoint_uom/tests/__init__.py | 6 ++ .../test_stock_orderpoint_procure_uom.py | 58 +++++++++++++++++ .../views/stock_warehouse_orderpoint_view.xml | 31 +++++++++ 9 files changed, 240 insertions(+) create mode 100644 stock_orderpoint_uom/README.rst create mode 100644 stock_orderpoint_uom/__init__.py create mode 100644 stock_orderpoint_uom/__openerp__.py create mode 100644 stock_orderpoint_uom/models/__init__.py create mode 100644 stock_orderpoint_uom/models/procurement_order.py create mode 100644 stock_orderpoint_uom/models/stock_warehouse_orderpoint.py create mode 100644 stock_orderpoint_uom/tests/__init__.py create mode 100644 stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py create mode 100644 stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml diff --git a/stock_orderpoint_uom/README.rst b/stock_orderpoint_uom/README.rst new file mode 100644 index 000000000..4bb323ca3 --- /dev/null +++ b/stock_orderpoint_uom/README.rst @@ -0,0 +1,65 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +==================== +Stock Orderpoint UoM +==================== + +This module allows users users to define what unit of measure should be used +in procurements created from minimum stock rules. + +A typical use case would be a product that is stocked in centimeters, and +needs to be restocked in meters from another warehouse. When the picking is +created, the quantity to be transferred will be expressed in meters, making +it easier for the people responsible for the transfers to understand the +requirement. + + +Usage +===== + +Go to 'Configuration / Reordering Rules' and indicate a Procurement UoM. + + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/153/8.0 + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Jordi Ballester Alomar + + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/stock_orderpoint_uom/__init__.py b/stock_orderpoint_uom/__init__.py new file mode 100644 index 000000000..08f93b3a4 --- /dev/null +++ b/stock_orderpoint_uom/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/stock_orderpoint_uom/__openerp__.py b/stock_orderpoint_uom/__openerp__.py new file mode 100644 index 000000000..10708378f --- /dev/null +++ b/stock_orderpoint_uom/__openerp__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +{ + "name": "Stock Orderpoint UoM", + "summary": "Allows to create procurement orders in the UoM indicated in " + "the orderpoint", + "version": "8.0.1.0.0", + "author": "Eficent Business and IT Consulting Services S.L," + "Odoo Community Association (OCA)", + "website": "https://www.odoo-community.org", + "category": "Warehouse Management", + "depends": ["stock"], + "data": ["views/stock_warehouse_orderpoint_view.xml"], + "license": "AGPL-3", + 'installable': True, + 'application': False, +} diff --git a/stock_orderpoint_uom/models/__init__.py b/stock_orderpoint_uom/models/__init__.py new file mode 100644 index 000000000..508e43109 --- /dev/null +++ b/stock_orderpoint_uom/models/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import stock_warehouse_orderpoint +from . import procurement_order diff --git a/stock_orderpoint_uom/models/procurement_order.py b/stock_orderpoint_uom/models/procurement_order.py new file mode 100644 index 000000000..250faf038 --- /dev/null +++ b/stock_orderpoint_uom/models/procurement_order.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from openerp import api, models + + +class ProcurementOrder(models.Model): + _inherit = "procurement.order" + + @api.model + def _prepare_orderpoint_procurement(self, orderpoint, product_qty): + res = super(ProcurementOrder, self)._prepare_orderpoint_procurement( + orderpoint, product_qty) + if orderpoint.procure_uom_id: + res['product_qty'] = orderpoint.procure_uom_id._compute_qty( + orderpoint.product_id.uom_id.id, product_qty, + orderpoint.procure_uom_id.id) + res['product_uom'] = orderpoint.procure_uom_id.id + return res diff --git a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py new file mode 100644 index 000000000..a4ca61052 --- /dev/null +++ b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from openerp import api, fields, models, _ +from openerp.exceptions import Warning as UserError + + +class StockWarehouseOrderpoint(models.Model): + _inherit = "stock.warehouse.orderpoint" + + procure_uom_id = fields.Many2one(comodel_name='product.uom', + string="Procurement UoM") + + @api.constrains('product_uom', 'procure_uom_id') + def _check_procure_uom(self): + if any(orderpoint.product_uom and + orderpoint.procure_uom_id and + orderpoint.product_uom.category_id != + orderpoint.procure_uom_id.category_id + for orderpoint in self): + raise UserError( + _('Error: The product default Unit of Measure and ' + 'the procurement Unit of Measure must be in the ' + 'same category.')) + return True diff --git a/stock_orderpoint_uom/tests/__init__.py b/stock_orderpoint_uom/tests/__init__.py new file mode 100644 index 000000000..8ab7b3f74 --- /dev/null +++ b/stock_orderpoint_uom/tests/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import test_stock_orderpoint_procure_uom diff --git a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py new file mode 100644 index 000000000..b59453679 --- /dev/null +++ b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +import openerp.tests.common as common +from openerp.tools import mute_logger +from openerp.exceptions import ValidationError + + +class TestStockOrderpointProcureUom(common.TransactionCase): + + def setUp(self): + super(TestStockOrderpointProcureUom, self).setUp() + productObj = self.env['product.product'] + self.warehouse = self.env.ref('stock.warehouse0') + self.location_stock = self.env.ref('stock.stock_location_stock') + self.uom_unit = self.env.ref('product.product_uom_unit') + self.uom_dozen = self.env.ref('product.product_uom_dozen') + self.uom_kg = self.env.ref('product.product_uom_kgm') + + self.productA = productObj.create( + {'name': 'product A', + 'standard_price': 1, + 'type': 'product', + 'uom_id': self.uom_unit.id, + 'default_code': 'A', + }) + + def test_stock_orderpoint_procure_uom(self): + + self.env['stock.warehouse.orderpoint'].create({ + 'warehouse_id': self.warehouse.id, + 'location_id': self.location_stock.id, + 'product_id': self.productA.id, + 'product_max_qty': 24, + 'product_min_qty': 12, + 'procure_uom_id': self.uom_dozen.id, + }) + + sched = self.env['procurement.order'] + sched.run_scheduler() + proc = sched.search([('product_id', '=', self.productA.id)]) + self.assertEqual(proc.product_uom, self.uom_dozen) + self.assertEqual(proc.product_qty, 2) + + def test_stock_orderpoint_wrong_uom(self): + + with mute_logger('openerp.sql_db'): + with self.assertRaises(ValidationError): + self.env['stock.warehouse.orderpoint'].create({ + 'warehouse_id': self.warehouse.id, + 'location_id': self.location_stock.id, + 'product_id': self.productA.id, + 'product_max_qty': 24, + 'product_min_qty': 12, + 'procure_uom_id': self.uom_kg.id, + }) diff --git a/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml b/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml new file mode 100644 index 000000000..ae41f7756 --- /dev/null +++ b/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml @@ -0,0 +1,31 @@ + + + + + + stock.warehouse.orderpoint.tree + stock.warehouse.orderpoint + + + + + + + + + + stock.warehouse.orderpoint.form + stock.warehouse.orderpoint + + + + + + + + + + From 6e88aafb861d30457b9bb2b2cdc508d525b2135b Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 29 Nov 2016 13:34:34 -0500 Subject: [PATCH 02/39] OCA Transbot updated translations from Transifex --- stock_orderpoint_uom/i18n/de.po | 43 +++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/es.po | 42 ++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/es_MX.po | 42 ++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/fr.po | 42 ++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/hr.po | 42 ++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/it.po | 42 ++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/pt_BR.po | 43 +++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/ro.po | 42 ++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/sl.po | 44 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/vi_VN.po | 42 ++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/zh_CN.po | 42 ++++++++++++++++++++++++++++ 11 files changed, 466 insertions(+) create mode 100644 stock_orderpoint_uom/i18n/de.po create mode 100644 stock_orderpoint_uom/i18n/es.po create mode 100644 stock_orderpoint_uom/i18n/es_MX.po create mode 100644 stock_orderpoint_uom/i18n/fr.po create mode 100644 stock_orderpoint_uom/i18n/hr.po create mode 100644 stock_orderpoint_uom/i18n/it.po create mode 100644 stock_orderpoint_uom/i18n/pt_BR.po create mode 100644 stock_orderpoint_uom/i18n/ro.po create mode 100644 stock_orderpoint_uom/i18n/sl.po create mode 100644 stock_orderpoint_uom/i18n/vi_VN.po create mode 100644 stock_orderpoint_uom/i18n/zh_CN.po diff --git a/stock_orderpoint_uom/i18n/de.po b/stock_orderpoint_uom/i18n/de.po new file mode 100644 index 000000000..3eedef5d0 --- /dev/null +++ b/stock_orderpoint_uom/i18n/de.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Rudolf Schnapka , 2016 +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "Mindestbestandsregel" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Beschaffung" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/es.po b/stock_orderpoint_uom/i18n/es.po new file mode 100644 index 000000000..88e942323 --- /dev/null +++ b/stock_orderpoint_uom/i18n/es.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "Regla de inventario mínimo" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Abastecimiento" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/es_MX.po b/stock_orderpoint_uom/i18n/es_MX.po new file mode 100644 index 000000000..23ad2b186 --- /dev/null +++ b/stock_orderpoint_uom/i18n/es_MX.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Juan González , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-29 18:43+0000\n" +"PO-Revision-Date: 2016-11-29 18:43+0000\n" +"Last-Translator: Juan González , 2016\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Contratación" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/fr.po b/stock_orderpoint_uom/i18n/fr.po new file mode 100644 index 000000000..b4dcb9132 --- /dev/null +++ b/stock_orderpoint_uom/i18n/fr.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Procurement" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/hr.po b/stock_orderpoint_uom/i18n/hr.po new file mode 100644 index 000000000..3a9fea120 --- /dev/null +++ b/stock_orderpoint_uom/i18n/hr.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: Bole , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\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: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Nabava" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/it.po b/stock_orderpoint_uom/i18n/it.po new file mode 100644 index 000000000..80e0d28c6 --- /dev/null +++ b/stock_orderpoint_uom/i18n/it.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Paolo Valier , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: Paolo Valier , 2016\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Approvvigionamento" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/pt_BR.po b/stock_orderpoint_uom/i18n/pt_BR.po new file mode 100644 index 000000000..ff0b0a2b5 --- /dev/null +++ b/stock_orderpoint_uom/i18n/pt_BR.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Armando Vulcano Junior , 2016 +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "Regra minima de inventário" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Aprovisionamento" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/ro.po b/stock_orderpoint_uom/i18n/ro.po new file mode 100644 index 000000000..bea213b16 --- /dev/null +++ b/stock_orderpoint_uom/i18n/ro.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Dorin Hongu , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: Dorin Hongu , 2016\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Aprovizionare" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/sl.po b/stock_orderpoint_uom/i18n/sl.po new file mode 100644 index 000000000..2e9d8646c --- /dev/null +++ b/stock_orderpoint_uom/i18n/sl.po @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Matjaž Mozetič , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: Matjaž Mozetič , 2016\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" +"Napaka: privzeti enoti mere za proizvod in enoto oskrbe morata biti iz iste" +" kategorije." + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "Pravilo minimalne zaloge" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Oskrbovanje" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "EM oskrbovanja" diff --git a/stock_orderpoint_uom/i18n/vi_VN.po b/stock_orderpoint_uom/i18n/vi_VN.po new file mode 100644 index 000000000..6a95e0d1d --- /dev/null +++ b/stock_orderpoint_uom/i18n/vi_VN.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/vi_VN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi_VN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Mua sắm / Cung ứng" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/zh_CN.po b/stock_orderpoint_uom/i18n/zh_CN.po new file mode 100644 index 000000000..095001d36 --- /dev/null +++ b/stock_orderpoint_uom/i18n/zh_CN.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Jeffery Chen Fan , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-18 03:44+0000\n" +"PO-Revision-Date: 2016-11-18 03:44+0000\n" +"Last-Translator: Jeffery Chen Fan , 2016\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "补货" + +#. module: stock_orderpoint_uom +#: field:stock.warehouse.orderpoint,procure_uom_id:0 +msgid "Procurement UoM" +msgstr "" From 5fe6a7ecb6367f2dae6b819f3ef43e1b0faca977 Mon Sep 17 00:00:00 2001 From: lreficent Date: Thu, 22 Dec 2016 14:52:08 +0100 Subject: [PATCH 03/39] stock_orderpoint_uom: Migrated to 9.0 --- stock_orderpoint_uom/README.rst | 10 +++- stock_orderpoint_uom/__openerp__.py | 2 +- .../views/stock_warehouse_orderpoint_view.xml | 48 +++++++++---------- 3 files changed, 32 insertions(+), 28 deletions(-) diff --git a/stock_orderpoint_uom/README.rst b/stock_orderpoint_uom/README.rst index 4bb323ca3..61092330d 100644 --- a/stock_orderpoint_uom/README.rst +++ b/stock_orderpoint_uom/README.rst @@ -15,18 +15,24 @@ created, the quantity to be transferred will be expressed in meters, making it easier for the people responsible for the transfers to understand the requirement. +Configuration +============= + +To configure this module, you need to 'Inventory > Configuration > Settings' +and enable 'Some products may be sold/purchased in different unit of measures +(advanced)' option. Usage ===== -Go to 'Configuration / Reordering Rules' and indicate a Procurement UoM. +Go to 'Inventory > Inventory Control > Reordering Rules' and indicate a +Procurement UoM. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/153/8.0 - Bug Tracker =========== diff --git a/stock_orderpoint_uom/__openerp__.py b/stock_orderpoint_uom/__openerp__.py index 10708378f..2b381a532 100644 --- a/stock_orderpoint_uom/__openerp__.py +++ b/stock_orderpoint_uom/__openerp__.py @@ -6,7 +6,7 @@ "name": "Stock Orderpoint UoM", "summary": "Allows to create procurement orders in the UoM indicated in " "the orderpoint", - "version": "8.0.1.0.0", + "version": "9.0.1.0.0", "author": "Eficent Business and IT Consulting Services S.L," "Odoo Community Association (OCA)", "website": "https://www.odoo-community.org", diff --git a/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml b/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml index ae41f7756..d52bf56b1 100644 --- a/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml +++ b/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml @@ -1,31 +1,29 @@ - - + - - stock.warehouse.orderpoint.tree - stock.warehouse.orderpoint - - - - - + + stock.warehouse.orderpoint.tree + stock.warehouse.orderpoint + + + + - + + - - stock.warehouse.orderpoint.form - stock.warehouse.orderpoint - - - - - + + stock.warehouse.orderpoint.form + stock.warehouse.orderpoint + + + + - + + - - + From 426c5b5179bb7221ab8578397c4bed12f1438c9c Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 24 Dec 2016 01:33:54 -0500 Subject: [PATCH 04/39] OCA Transbot updated translations from Transifex --- stock_orderpoint_uom/i18n/pt_PT.po | 42 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/sl.po | 12 ++++----- stock_orderpoint_uom/i18n/tr_TR.po | 42 ++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 6 deletions(-) create mode 100644 stock_orderpoint_uom/i18n/pt_PT.po create mode 100644 stock_orderpoint_uom/i18n/tr_TR.po diff --git a/stock_orderpoint_uom/i18n/pt_PT.po b/stock_orderpoint_uom/i18n/pt_PT.po new file mode 100644 index 000000000..138e11603 --- /dev/null +++ b/stock_orderpoint_uom/i18n/pt_PT.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Pedro Castro Silva , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-07 07:42+0000\n" +"PO-Revision-Date: 2017-01-07 07:42+0000\n" +"Last-Translator: Pedro Castro Silva , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Aquisições" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/sl.po b/stock_orderpoint_uom/i18n/sl.po index 2e9d8646c..80f7c30d8 100644 --- a/stock_orderpoint_uom/i18n/sl.po +++ b/stock_orderpoint_uom/i18n/sl.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Matjaž Mozetič , 2016 +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: Matjaž Mozetič , 2016\n" +"POT-Creation-Date: 2016-12-24 04:10+0000\n" +"PO-Revision-Date: 2016-12-24 04:10+0000\n" +"Last-Translator: OCA Transbot , 2016\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -39,6 +39,6 @@ msgid "Procurement" msgstr "Oskrbovanje" #. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "EM oskrbovanja" diff --git a/stock_orderpoint_uom/i18n/tr_TR.po b/stock_orderpoint_uom/i18n/tr_TR.po new file mode 100644 index 000000000..3e4176f50 --- /dev/null +++ b/stock_orderpoint_uom/i18n/tr_TR.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Ozge Altinisik , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 09:42+0000\n" +"PO-Revision-Date: 2016-12-31 09:42+0000\n" +"Last-Translator: Ozge Altinisik , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order +msgid "Procurement" +msgstr "Satın alma" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" From d8e6446cf5cf31e5fd9b235cdda16e8e8750ecc0 Mon Sep 17 00:00:00 2001 From: lreficent Date: Fri, 20 Jan 2017 12:03:57 +0100 Subject: [PATCH 05/39] Warning deprecated. --- stock_orderpoint_uom/models/stock_warehouse_orderpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py index a4ca61052..099ff5dcc 100644 --- a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py +++ b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from openerp import api, fields, models, _ -from openerp.exceptions import Warning as UserError +from openerp.exceptions import UserError class StockWarehouseOrderpoint(models.Model): From 69566d8507c4a27806a927fedf982d71fc8f6dbc Mon Sep 17 00:00:00 2001 From: lreficent Date: Thu, 16 Mar 2017 10:06:40 +0100 Subject: [PATCH 06/39] [MIG] stock_orderpoint_uom to v10.0 --- stock_orderpoint_uom/README.rst | 3 ++- stock_orderpoint_uom/__init__.py | 2 +- .../{__openerp__.py => __manifest__.py} | 6 +++--- stock_orderpoint_uom/models/__init__.py | 3 +-- .../models/procurement_order.py | 21 ------------------- .../models/stock_warehouse_orderpoint.py | 19 +++++++++++++---- stock_orderpoint_uom/tests/__init__.py | 2 +- .../test_stock_orderpoint_procure_uom.py | 8 +++---- 8 files changed, 27 insertions(+), 37 deletions(-) rename stock_orderpoint_uom/{__openerp__.py => __manifest__.py} (78%) delete mode 100644 stock_orderpoint_uom/models/procurement_order.py diff --git a/stock_orderpoint_uom/README.rst b/stock_orderpoint_uom/README.rst index 61092330d..156b1d7ab 100644 --- a/stock_orderpoint_uom/README.rst +++ b/stock_orderpoint_uom/README.rst @@ -31,7 +31,7 @@ Procurement UoM. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/153/8.0 + :target: https://runbot.odoo-community.org/runbot/153/10.0 Bug Tracker =========== @@ -53,6 +53,7 @@ Contributors ------------ * Jordi Ballester Alomar +* Lois Rilo Maintainer diff --git a/stock_orderpoint_uom/__init__.py b/stock_orderpoint_uom/__init__.py index 08f93b3a4..b24d567fe 100644 --- a/stock_orderpoint_uom/__init__.py +++ b/stock_orderpoint_uom/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). diff --git a/stock_orderpoint_uom/__openerp__.py b/stock_orderpoint_uom/__manifest__.py similarity index 78% rename from stock_orderpoint_uom/__openerp__.py rename to stock_orderpoint_uom/__manifest__.py index 2b381a532..bafbbca54 100644 --- a/stock_orderpoint_uom/__openerp__.py +++ b/stock_orderpoint_uom/__manifest__.py @@ -1,13 +1,13 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Stock Orderpoint UoM", "summary": "Allows to create procurement orders in the UoM indicated in " "the orderpoint", - "version": "9.0.1.0.0", - "author": "Eficent Business and IT Consulting Services S.L," + "version": "10.0.1.0.0", + "author": "Eficent, " "Odoo Community Association (OCA)", "website": "https://www.odoo-community.org", "category": "Warehouse Management", diff --git a/stock_orderpoint_uom/models/__init__.py b/stock_orderpoint_uom/models/__init__.py index 508e43109..1007959bb 100644 --- a/stock_orderpoint_uom/models/__init__.py +++ b/stock_orderpoint_uom/models/__init__.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import stock_warehouse_orderpoint -from . import procurement_order diff --git a/stock_orderpoint_uom/models/procurement_order.py b/stock_orderpoint_uom/models/procurement_order.py deleted file mode 100644 index 250faf038..000000000 --- a/stock_orderpoint_uom/models/procurement_order.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2016 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - -from openerp import api, models - - -class ProcurementOrder(models.Model): - _inherit = "procurement.order" - - @api.model - def _prepare_orderpoint_procurement(self, orderpoint, product_qty): - res = super(ProcurementOrder, self)._prepare_orderpoint_procurement( - orderpoint, product_qty) - if orderpoint.procure_uom_id: - res['product_qty'] = orderpoint.procure_uom_id._compute_qty( - orderpoint.product_id.uom_id.id, product_qty, - orderpoint.procure_uom_id.id) - res['product_uom'] = orderpoint.procure_uom_id.id - return res diff --git a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py index 099ff5dcc..c12203739 100644 --- a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py +++ b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py @@ -1,13 +1,13 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from openerp import api, fields, models, _ -from openerp.exceptions import UserError +from odoo import api, fields, models, _ +from odoo.exceptions import UserError -class StockWarehouseOrderpoint(models.Model): +class Orderpoint(models.Model): _inherit = "stock.warehouse.orderpoint" procure_uom_id = fields.Many2one(comodel_name='product.uom', @@ -25,3 +25,14 @@ class StockWarehouseOrderpoint(models.Model): 'the procurement Unit of Measure must be in the ' 'same category.')) return True + + @api.model + def _prepare_procurement_values(self, product_qty, + date=False, group=False): + res = super(Orderpoint, self)._prepare_procurement_values( + product_qty, date, group) + if self.procure_uom_id: + res['product_qty'] = self.product_uom._compute_quantity( + product_qty, self.procure_uom_id) + res['product_uom'] = self.procure_uom_id.id + return res diff --git a/stock_orderpoint_uom/tests/__init__.py b/stock_orderpoint_uom/tests/__init__.py index 8ab7b3f74..09e60ed30 100644 --- a/stock_orderpoint_uom/tests/__init__.py +++ b/stock_orderpoint_uom/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). diff --git a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py index b59453679..06862ff53 100644 --- a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py +++ b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py @@ -1,11 +1,11 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -import openerp.tests.common as common -from openerp.tools import mute_logger -from openerp.exceptions import ValidationError +import odoo.tests.common as common +from odoo.tools import mute_logger +from odoo.exceptions import ValidationError class TestStockOrderpointProcureUom(common.TransactionCase): From 2c48253176b44fc25ea75b3dc9dba3dec417e17c Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 30 Dec 2017 14:34:07 +0100 Subject: [PATCH 07/39] OCA Transbot updated translations from Transifex --- stock_orderpoint_uom/i18n/de.po | 18 +++++---------- stock_orderpoint_uom/i18n/es.po | 17 +++++--------- stock_orderpoint_uom/i18n/es_ES.po | 37 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/pt_BR.po | 18 +++++---------- stock_orderpoint_uom/i18n/sl.po | 15 ++++-------- 5 files changed, 60 insertions(+), 45 deletions(-) create mode 100644 stock_orderpoint_uom/i18n/es_ES.po diff --git a/stock_orderpoint_uom/i18n/de.po b/stock_orderpoint_uom/i18n/de.po index 3eedef5d0..dabb1bc4a 100644 --- a/stock_orderpoint_uom/i18n/de.po +++ b/stock_orderpoint_uom/i18n/de.po @@ -3,15 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Rudolf Schnapka , 2016 -# OCA Transbot , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2017-12-28 03:50+0000\n" +"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -33,11 +32,6 @@ msgid "Minimum Inventory Rule" msgstr "Mindestbestandsregel" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Beschaffung" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es.po b/stock_orderpoint_uom/i18n/es.po index 88e942323..d4f98349f 100644 --- a/stock_orderpoint_uom/i18n/es.po +++ b/stock_orderpoint_uom/i18n/es.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# OCA Transbot , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2017-12-28 03:50+0000\n" +"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -32,11 +32,6 @@ msgid "Minimum Inventory Rule" msgstr "Regla de inventario mínimo" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Abastecimiento" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es_ES.po b/stock_orderpoint_uom/i18n/es_ES.po new file mode 100644 index 000000000..18340c310 --- /dev/null +++ b/stock_orderpoint_uom/i18n/es_ES.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-28 03:50+0000\n" +"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/es_ES/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_ES\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "Regla inventario mínimo" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/pt_BR.po b/stock_orderpoint_uom/i18n/pt_BR.po index ff0b0a2b5..6f5d1650c 100644 --- a/stock_orderpoint_uom/i18n/pt_BR.po +++ b/stock_orderpoint_uom/i18n/pt_BR.po @@ -3,15 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Armando Vulcano Junior , 2016 -# OCA Transbot , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2017-12-28 03:50+0000\n" +"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -33,11 +32,6 @@ msgid "Minimum Inventory Rule" msgstr "Regra minima de inventário" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Aprovisionamento" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/sl.po b/stock_orderpoint_uom/i18n/sl.po index 80f7c30d8..df68152d8 100644 --- a/stock_orderpoint_uom/i18n/sl.po +++ b/stock_orderpoint_uom/i18n/sl.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# OCA Transbot , 2016 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-24 04:10+0000\n" -"PO-Revision-Date: 2016-12-24 04:10+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2017-12-28 03:50+0000\n" +"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -33,11 +33,6 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "Pravilo minimalne zaloge" -#. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Oskrbovanje" - #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" From 85df9dda60a0af0d9c1eb4d4f63e9d4541a05843 Mon Sep 17 00:00:00 2001 From: lreficent Date: Tue, 9 Jan 2018 13:48:11 +0100 Subject: [PATCH 08/39] [10.0][FIX] stock_orderpoint_uom: product_uom not stored --- stock_orderpoint_uom/models/stock_warehouse_orderpoint.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py index c12203739..c79e97a1c 100644 --- a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py +++ b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py @@ -13,7 +13,8 @@ class Orderpoint(models.Model): procure_uom_id = fields.Many2one(comodel_name='product.uom', string="Procurement UoM") - @api.constrains('product_uom', 'procure_uom_id') + @api.constrains('product_id', 'product_id.product_tmpl_id.uom_id', + 'procure_uom_id') def _check_procure_uom(self): if any(orderpoint.product_uom and orderpoint.procure_uom_id and From 54217ef1cba519b60cdb9e0b4ae8cdb00cf3173d Mon Sep 17 00:00:00 2001 From: lreficent Date: Tue, 9 Jan 2018 18:17:38 +0100 Subject: [PATCH 09/39] move constrain to product --- stock_orderpoint_uom/models/__init__.py | 3 +-- .../models/product_template.py | 23 +++++++++++++++++++ .../models/stock_warehouse_orderpoint.py | 3 +-- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 stock_orderpoint_uom/models/product_template.py diff --git a/stock_orderpoint_uom/models/__init__.py b/stock_orderpoint_uom/models/__init__.py index 1007959bb..ec739420c 100644 --- a/stock_orderpoint_uom/models/__init__.py +++ b/stock_orderpoint_uom/models/__init__.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import stock_warehouse_orderpoint +from . import product_template diff --git a/stock_orderpoint_uom/models/product_template.py b/stock_orderpoint_uom/models/product_template.py new file mode 100644 index 000000000..600e448a3 --- /dev/null +++ b/stock_orderpoint_uom/models/product_template.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from odoo import api, models, _ +from odoo.exceptions import UserError + + +class ProductTemplate(models.Model): + _inherit = "product.template" + + @api.constrains('uom_id') + def _check_orderpoint_procure_uom(self): + for rec in self: + orderpoint = self.env['stock.warehouse.orderpoint'].search([ + ('procure_uom_id.category_id', '!=', + rec.uom_id.category_id.id), + ('product_id.product_tmpl_id', '=', rec.id)], limit=1) + if orderpoint: + raise UserError( + _("At least one reordering rule for this product has a " + "different Procurement unit of measure category.")) diff --git a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py index c79e97a1c..9127f6c98 100644 --- a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py +++ b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py @@ -13,8 +13,7 @@ class Orderpoint(models.Model): procure_uom_id = fields.Many2one(comodel_name='product.uom', string="Procurement UoM") - @api.constrains('product_id', 'product_id.product_tmpl_id.uom_id', - 'procure_uom_id') + @api.constrains('product_id', 'procure_uom_id') def _check_procure_uom(self): if any(orderpoint.product_uom and orderpoint.procure_uom_id and From b3ca9d0ee80207e904e800ba16d37f52e23a7708 Mon Sep 17 00:00:00 2001 From: lreficent Date: Tue, 9 Jan 2018 18:26:29 +0100 Subject: [PATCH 10/39] optimize --- stock_orderpoint_uom/models/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_orderpoint_uom/models/product_template.py b/stock_orderpoint_uom/models/product_template.py index 600e448a3..78ca59ec4 100644 --- a/stock_orderpoint_uom/models/product_template.py +++ b/stock_orderpoint_uom/models/product_template.py @@ -16,7 +16,7 @@ class ProductTemplate(models.Model): orderpoint = self.env['stock.warehouse.orderpoint'].search([ ('procure_uom_id.category_id', '!=', rec.uom_id.category_id.id), - ('product_id.product_tmpl_id', '=', rec.id)], limit=1) + ('product_id', 'in', rec.product_variant_ids.ids)], limit=1) if orderpoint: raise UserError( _("At least one reordering rule for this product has a " From ac44c56c5f7210af1bd6157aad3262e94a36864a Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Wed, 17 Jan 2018 09:45:53 +0100 Subject: [PATCH 11/39] OCA Transbot updated translations from Transifex --- stock_orderpoint_uom/i18n/ca.po | 50 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/de.po | 17 ++++++++-- stock_orderpoint_uom/i18n/es.po | 17 ++++++++-- stock_orderpoint_uom/i18n/es_MX.po | 30 +++++++++++------- stock_orderpoint_uom/i18n/fi.po | 50 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/fr.po | 30 +++++++++++------- stock_orderpoint_uom/i18n/fr_CH.po | 50 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/hr.po | 30 +++++++++++------- stock_orderpoint_uom/i18n/hr_HR.po | 50 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/it.po | 30 +++++++++++------- stock_orderpoint_uom/i18n/nl.po | 50 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/nl_NL.po | 50 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/pt_BR.po | 17 ++++++++-- stock_orderpoint_uom/i18n/ro.po | 30 +++++++++++------- stock_orderpoint_uom/i18n/sl.po | 17 ++++++++-- stock_orderpoint_uom/i18n/tr.po | 50 ++++++++++++++++++++++++++++++ stock_orderpoint_uom/i18n/tr_TR.po | 28 +++++++++++------ stock_orderpoint_uom/i18n/vi_VN.po | 30 +++++++++++------- stock_orderpoint_uom/i18n/zh_CN.po | 30 +++++++++++------- 19 files changed, 561 insertions(+), 95 deletions(-) create mode 100644 stock_orderpoint_uom/i18n/ca.po create mode 100644 stock_orderpoint_uom/i18n/fi.po create mode 100644 stock_orderpoint_uom/i18n/fr_CH.po create mode 100644 stock_orderpoint_uom/i18n/hr_HR.po create mode 100644 stock_orderpoint_uom/i18n/nl.po create mode 100644 stock_orderpoint_uom/i18n/nl_NL.po create mode 100644 stock_orderpoint_uom/i18n/tr.po diff --git a/stock_orderpoint_uom/i18n/ca.po b/stock_orderpoint_uom/i18n/ca.po new file mode 100644 index 000000000..b02524b74 --- /dev/null +++ b/stock_orderpoint_uom/i18n/ca.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Plantilla del producte" diff --git a/stock_orderpoint_uom/i18n/de.po b/stock_orderpoint_uom/i18n/de.po index dabb1bc4a..a34e5bc7b 100644 --- a/stock_orderpoint_uom/i18n/de.po +++ b/stock_orderpoint_uom/i18n/de.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-28 03:50+0000\n" -"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "MIME-Version: 1.0\n" @@ -18,6 +18,14 @@ msgstr "" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -35,3 +43,8 @@ msgstr "Mindestbestandsregel" #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Produktvorlage" diff --git a/stock_orderpoint_uom/i18n/es.po b/stock_orderpoint_uom/i18n/es.po index d4f98349f..eebc997d0 100644 --- a/stock_orderpoint_uom/i18n/es.po +++ b/stock_orderpoint_uom/i18n/es.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-28 03:50+0000\n" -"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" @@ -18,6 +18,14 @@ msgstr "" "Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -35,3 +43,8 @@ msgstr "Regla de inventario mínimo" #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Plantilla de producto" diff --git a/stock_orderpoint_uom/i18n/es_MX.po b/stock_orderpoint_uom/i18n/es_MX.po index 23ad2b186..b0602f88a 100644 --- a/stock_orderpoint_uom/i18n/es_MX.po +++ b/stock_orderpoint_uom/i18n/es_MX.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Juan González , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-29 18:43+0000\n" -"PO-Revision-Date: 2016-11-29 18:43+0000\n" -"Last-Translator: Juan González , 2016\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -32,11 +40,11 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Contratación" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Plantilla del producto" diff --git a/stock_orderpoint_uom/i18n/fi.po b/stock_orderpoint_uom/i18n/fi.po new file mode 100644 index 000000000..e622b0fcc --- /dev/null +++ b/stock_orderpoint_uom/i18n/fi.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Tuotteen malli" diff --git a/stock_orderpoint_uom/i18n/fr.po b/stock_orderpoint_uom/i18n/fr.po index b4dcb9132..71b76d132 100644 --- a/stock_orderpoint_uom/i18n/fr.po +++ b/stock_orderpoint_uom/i18n/fr.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# OCA Transbot , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -32,11 +40,11 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Procurement" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Modèle de produit" diff --git a/stock_orderpoint_uom/i18n/fr_CH.po b/stock_orderpoint_uom/i18n/fr_CH.po new file mode 100644 index 000000000..ee74c9ac6 --- /dev/null +++ b/stock_orderpoint_uom/i18n/fr_CH.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CH\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Template de produit" diff --git a/stock_orderpoint_uom/i18n/hr.po b/stock_orderpoint_uom/i18n/hr.po index 3a9fea120..9875fddfd 100644 --- a/stock_orderpoint_uom/i18n/hr.po +++ b/stock_orderpoint_uom/i18n/hr.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Bole , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: Bole , 2016\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: hr\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: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -32,11 +40,11 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Nabava" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Predložak proizvoda" diff --git a/stock_orderpoint_uom/i18n/hr_HR.po b/stock_orderpoint_uom/i18n/hr_HR.po new file mode 100644 index 000000000..10010bf67 --- /dev/null +++ b/stock_orderpoint_uom/i18n/hr_HR.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\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: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Predložak proizvoda" diff --git a/stock_orderpoint_uom/i18n/it.po b/stock_orderpoint_uom/i18n/it.po index 80e0d28c6..3de336000 100644 --- a/stock_orderpoint_uom/i18n/it.po +++ b/stock_orderpoint_uom/i18n/it.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Paolo Valier , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: Paolo Valier , 2016\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -32,11 +40,11 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Approvvigionamento" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Template Prodotto" diff --git a/stock_orderpoint_uom/i18n/nl.po b/stock_orderpoint_uom/i18n/nl.po new file mode 100644 index 000000000..dfb1481f1 --- /dev/null +++ b/stock_orderpoint_uom/i18n/nl.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Productsjabloon" diff --git a/stock_orderpoint_uom/i18n/nl_NL.po b/stock_orderpoint_uom/i18n/nl_NL.po new file mode 100644 index 000000000..d49cbec09 --- /dev/null +++ b/stock_orderpoint_uom/i18n/nl_NL.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Peter Hageman , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: Peter Hageman , 2018\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Productsjabloon" diff --git a/stock_orderpoint_uom/i18n/pt_BR.po b/stock_orderpoint_uom/i18n/pt_BR.po index 6f5d1650c..0eef59b17 100644 --- a/stock_orderpoint_uom/i18n/pt_BR.po +++ b/stock_orderpoint_uom/i18n/pt_BR.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-28 03:50+0000\n" -"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" "MIME-Version: 1.0\n" @@ -18,6 +18,14 @@ msgstr "" "Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -35,3 +43,8 @@ msgstr "Regra minima de inventário" #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Modelo Produto" diff --git a/stock_orderpoint_uom/i18n/ro.po b/stock_orderpoint_uom/i18n/ro.po index bea213b16..fb77eb095 100644 --- a/stock_orderpoint_uom/i18n/ro.po +++ b/stock_orderpoint_uom/i18n/ro.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Dorin Hongu , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: Dorin Hongu , 2016\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: ro\n" "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -32,11 +40,11 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Aprovizionare" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Produs șablon" diff --git a/stock_orderpoint_uom/i18n/sl.po b/stock_orderpoint_uom/i18n/sl.po index df68152d8..e63911c72 100644 --- a/stock_orderpoint_uom/i18n/sl.po +++ b/stock_orderpoint_uom/i18n/sl.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-28 03:50+0000\n" -"PO-Revision-Date: 2017-12-28 03:50+0000\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" @@ -18,6 +18,14 @@ msgstr "" "Language: sl\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -37,3 +45,8 @@ msgstr "Pravilo minimalne zaloge" #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "EM oskrbovanja" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Predloga proizvoda" diff --git a/stock_orderpoint_uom/i18n/tr.po b/stock_orderpoint_uom/i18n/tr.po new file mode 100644 index 000000000..f136c6655 --- /dev/null +++ b/stock_orderpoint_uom/i18n/tr.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +# Translators: +# Ediz Duman , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: Ediz Duman , 2018\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#, python-format +msgid "" +"Error: The product default Unit of Measure and the procurement Unit of " +"Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Ürün Şablonu" diff --git a/stock_orderpoint_uom/i18n/tr_TR.po b/stock_orderpoint_uom/i18n/tr_TR.po index 3e4176f50..578916c6f 100644 --- a/stock_orderpoint_uom/i18n/tr_TR.po +++ b/stock_orderpoint_uom/i18n/tr_TR.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Ozge Altinisik , 2017 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-31 09:42+0000\n" -"PO-Revision-Date: 2016-12-31 09:42+0000\n" -"Last-Translator: Ozge Altinisik , 2017\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: tr_TR\n" "Plural-Forms: nplurals=1; plural=0;\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -31,12 +39,12 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" -#. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Satın alma" - #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Ürün şablonu" diff --git a/stock_orderpoint_uom/i18n/vi_VN.po b/stock_orderpoint_uom/i18n/vi_VN.po index 6a95e0d1d..648ea8efc 100644 --- a/stock_orderpoint_uom/i18n/vi_VN.po +++ b/stock_orderpoint_uom/i18n/vi_VN.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# OCA Transbot , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/vi_VN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: vi_VN\n" "Plural-Forms: nplurals=1; plural=0;\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -32,11 +40,11 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "Mua sắm / Cung ứng" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "Mẫu sản phẩm" diff --git a/stock_orderpoint_uom/i18n/zh_CN.po b/stock_orderpoint_uom/i18n/zh_CN.po index 095001d36..e3e6ff5cc 100644 --- a/stock_orderpoint_uom/i18n/zh_CN.po +++ b/stock_orderpoint_uom/i18n/zh_CN.po @@ -3,14 +3,14 @@ # * stock_orderpoint_uom # # Translators: -# Jeffery Chen Fan , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 03:44+0000\n" -"PO-Revision-Date: 2016-11-18 03:44+0000\n" -"Last-Translator: Jeffery Chen Fan , 2016\n" +"POT-Creation-Date: 2018-01-16 14:36+0000\n" +"PO-Revision-Date: 2018-01-16 14:36+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -18,6 +18,14 @@ msgstr "" "Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + #. module: stock_orderpoint_uom #: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 #, python-format @@ -32,11 +40,11 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" -msgstr "补货" - -#. module: stock_orderpoint_uom -#: field:stock.warehouse.orderpoint,procure_uom_id:0 +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "产品模板" From 484cd385e63bdae96afd21fe1fe56e139a5fb8ac Mon Sep 17 00:00:00 2001 From: Bhavesh Odedra Date: Tue, 27 Feb 2018 21:21:23 +0530 Subject: [PATCH 12/39] [MIG] stock_orderpoint_uom: Migration to 11.0 --- stock_orderpoint_uom/README.rst | 11 ++++---- stock_orderpoint_uom/__init__.py | 1 - stock_orderpoint_uom/__manifest__.py | 6 ++--- stock_orderpoint_uom/demo/product.xml | 10 +++++++ stock_orderpoint_uom/models/__init__.py | 2 +- .../models/procurement_group.py | 20 ++++++++++++++ .../models/product_template.py | 1 - .../models/stock_warehouse_orderpoint.py | 12 --------- stock_orderpoint_uom/tests/__init__.py | 1 - .../test_stock_orderpoint_procure_uom.py | 27 ++++++++++++++----- 10 files changed, 59 insertions(+), 32 deletions(-) create mode 100644 stock_orderpoint_uom/demo/product.xml create mode 100644 stock_orderpoint_uom/models/procurement_group.py diff --git a/stock_orderpoint_uom/README.rst b/stock_orderpoint_uom/README.rst index 156b1d7ab..de6ce80fd 100644 --- a/stock_orderpoint_uom/README.rst +++ b/stock_orderpoint_uom/README.rst @@ -19,19 +19,18 @@ Configuration ============= To configure this module, you need to 'Inventory > Configuration > Settings' -and enable 'Some products may be sold/purchased in different unit of measures -(advanced)' option. +and enable 'Sell and purchase products in different units of measure' option. Usage ===== -Go to 'Inventory > Inventory Control > Reordering Rules' and indicate a -Procurement UoM. +Go to 'Inventory > Master Data > Reordering Rules' and indicate a Procurement +UoM. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/153/10.0 + :target: https://runbot.odoo-community.org/runbot/153/11.0 Bug Tracker =========== @@ -54,7 +53,7 @@ Contributors * Jordi Ballester Alomar * Lois Rilo - +* Bhavesh Odedra Maintainer ---------- diff --git a/stock_orderpoint_uom/__init__.py b/stock_orderpoint_uom/__init__.py index b24d567fe..b52a76e1a 100644 --- a/stock_orderpoint_uom/__init__.py +++ b/stock_orderpoint_uom/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). diff --git a/stock_orderpoint_uom/__manifest__.py b/stock_orderpoint_uom/__manifest__.py index bafbbca54..145ec2cee 100644 --- a/stock_orderpoint_uom/__manifest__.py +++ b/stock_orderpoint_uom/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). @@ -6,12 +5,13 @@ "name": "Stock Orderpoint UoM", "summary": "Allows to create procurement orders in the UoM indicated in " "the orderpoint", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "author": "Eficent, " "Odoo Community Association (OCA)", "website": "https://www.odoo-community.org", "category": "Warehouse Management", - "depends": ["stock"], + "depends": ["purchase", "stock"], + "demo": ["demo/product.xml"], "data": ["views/stock_warehouse_orderpoint_view.xml"], "license": "AGPL-3", 'installable': True, diff --git a/stock_orderpoint_uom/demo/product.xml b/stock_orderpoint_uom/demo/product.xml new file mode 100644 index 000000000..a2831566c --- /dev/null +++ b/stock_orderpoint_uom/demo/product.xml @@ -0,0 +1,10 @@ + + + + + + 3 + 1 + 72 + + diff --git a/stock_orderpoint_uom/models/__init__.py b/stock_orderpoint_uom/models/__init__.py index ec739420c..128caa2a3 100644 --- a/stock_orderpoint_uom/models/__init__.py +++ b/stock_orderpoint_uom/models/__init__.py @@ -1,5 +1,5 @@ -# -*- coding: utf-8 -*- # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import stock_warehouse_orderpoint from . import product_template +from . import procurement_group diff --git a/stock_orderpoint_uom/models/procurement_group.py b/stock_orderpoint_uom/models/procurement_group.py new file mode 100644 index 000000000..0325ee452 --- /dev/null +++ b/stock_orderpoint_uom/models/procurement_group.py @@ -0,0 +1,20 @@ +# Copyright (C) 2018 - TODAY, Open Source Integrators +# (http://www.opensourceintegrators.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from odoo import api, models + + +class ProcurementGroup(models.Model): + _inherit = "procurement.group" + + @api.model + def run(self, product_id, product_qty, product_uom, location_id, name, + origin, values): + if 'orderpoint_id' in values: + orderpoint = values.get('orderpoint_id') + product_qty = orderpoint.product_uom._compute_quantity( + product_qty, orderpoint.procure_uom_id) + return super(ProcurementGroup, self).run(product_id, product_qty, + product_uom, location_id, + name, origin, values) diff --git a/stock_orderpoint_uom/models/product_template.py b/stock_orderpoint_uom/models/product_template.py index 78ca59ec4..12e097db3 100644 --- a/stock_orderpoint_uom/models/product_template.py +++ b/stock_orderpoint_uom/models/product_template.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2018 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). diff --git a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py index 9127f6c98..8be67a254 100644 --- a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py +++ b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). @@ -25,14 +24,3 @@ class Orderpoint(models.Model): 'the procurement Unit of Measure must be in the ' 'same category.')) return True - - @api.model - def _prepare_procurement_values(self, product_qty, - date=False, group=False): - res = super(Orderpoint, self)._prepare_procurement_values( - product_qty, date, group) - if self.procure_uom_id: - res['product_qty'] = self.product_uom._compute_quantity( - product_qty, self.procure_uom_id) - res['product_uom'] = self.procure_uom_id.id - return res diff --git a/stock_orderpoint_uom/tests/__init__.py b/stock_orderpoint_uom/tests/__init__.py index 09e60ed30..039371258 100644 --- a/stock_orderpoint_uom/tests/__init__.py +++ b/stock_orderpoint_uom/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). diff --git a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py index 06862ff53..7d15a02eb 100644 --- a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py +++ b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016-17 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). @@ -12,7 +11,14 @@ class TestStockOrderpointProcureUom(common.TransactionCase): def setUp(self): super(TestStockOrderpointProcureUom, self).setUp() + # Refs + self.vendor = self.env.ref( + 'stock_orderpoint_uom.product_supplierinfo_product_7') + + # Get required Model productObj = self.env['product.product'] + self.purchase_model = self.env['purchase.order'] + self.purchase_line_model = self.env['purchase.order.line'] self.warehouse = self.env.ref('stock.warehouse0') self.location_stock = self.env.ref('stock.stock_location_stock') self.uom_unit = self.env.ref('product.product_uom_unit') @@ -25,24 +31,31 @@ class TestStockOrderpointProcureUom(common.TransactionCase): 'type': 'product', 'uom_id': self.uom_unit.id, 'default_code': 'A', + 'variant_seller_ids': [(6, 0, [self.vendor.id])], }) def test_stock_orderpoint_procure_uom(self): - self.env['stock.warehouse.orderpoint'].create({ + orderpoint = self.env['stock.warehouse.orderpoint'].create({ 'warehouse_id': self.warehouse.id, 'location_id': self.location_stock.id, 'product_id': self.productA.id, 'product_max_qty': 24, 'product_min_qty': 12, + 'product_uom': self.uom_unit.id, 'procure_uom_id': self.uom_dozen.id, }) - sched = self.env['procurement.order'] - sched.run_scheduler() - proc = sched.search([('product_id', '=', self.productA.id)]) - self.assertEqual(proc.product_uom, self.uom_dozen) - self.assertEqual(proc.product_qty, 2) + self.env['procurement.group'].run_scheduler() + # As per route configuration, it will create Purchase order + purchase = self.purchase_model.search( + [('origin', 'ilike', orderpoint.name)]) + self.assertEquals(len(purchase), 1) + purchase_line = self.purchase_line_model.search( + [('orderpoint_id', '=', orderpoint.id), + ('order_id', '=', purchase.id)]) + self.assertEquals(len(purchase_line), 1) + self.assertEqual(purchase_line.product_qty, 2.0) def test_stock_orderpoint_wrong_uom(self): From a5451593419d5877561f94dc3542cb6ee9d85a20 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Wed, 28 Feb 2018 16:25:45 +0100 Subject: [PATCH 13/39] Fix UOM conversion, improve tests --- stock_orderpoint_uom/__manifest__.py | 1 - stock_orderpoint_uom/demo/product.xml | 10 --- .../models/procurement_group.py | 3 +- .../test_stock_orderpoint_procure_uom.py | 69 +++++++++++++++++-- 4 files changed, 67 insertions(+), 16 deletions(-) delete mode 100644 stock_orderpoint_uom/demo/product.xml diff --git a/stock_orderpoint_uom/__manifest__.py b/stock_orderpoint_uom/__manifest__.py index 145ec2cee..6cc18006f 100644 --- a/stock_orderpoint_uom/__manifest__.py +++ b/stock_orderpoint_uom/__manifest__.py @@ -11,7 +11,6 @@ "website": "https://www.odoo-community.org", "category": "Warehouse Management", "depends": ["purchase", "stock"], - "demo": ["demo/product.xml"], "data": ["views/stock_warehouse_orderpoint_view.xml"], "license": "AGPL-3", 'installable': True, diff --git a/stock_orderpoint_uom/demo/product.xml b/stock_orderpoint_uom/demo/product.xml deleted file mode 100644 index a2831566c..000000000 --- a/stock_orderpoint_uom/demo/product.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - 3 - 1 - 72 - - diff --git a/stock_orderpoint_uom/models/procurement_group.py b/stock_orderpoint_uom/models/procurement_group.py index 0325ee452..622544e97 100644 --- a/stock_orderpoint_uom/models/procurement_group.py +++ b/stock_orderpoint_uom/models/procurement_group.py @@ -16,5 +16,6 @@ class ProcurementGroup(models.Model): product_qty = orderpoint.product_uom._compute_quantity( product_qty, orderpoint.procure_uom_id) return super(ProcurementGroup, self).run(product_id, product_qty, - product_uom, location_id, + orderpoint.procure_uom_id, + location_id, name, origin, values) diff --git a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py index 7d15a02eb..ec370d43f 100644 --- a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py +++ b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py @@ -11,9 +11,6 @@ class TestStockOrderpointProcureUom(common.TransactionCase): def setUp(self): super(TestStockOrderpointProcureUom, self).setUp() - # Refs - self.vendor = self.env.ref( - 'stock_orderpoint_uom.product_supplierinfo_product_7') # Get required Model productObj = self.env['product.product'] @@ -22,7 +19,9 @@ class TestStockOrderpointProcureUom(common.TransactionCase): self.warehouse = self.env.ref('stock.warehouse0') self.location_stock = self.env.ref('stock.stock_location_stock') self.uom_unit = self.env.ref('product.product_uom_unit') + self.uom_unit.rounding = 1 self.uom_dozen = self.env.ref('product.product_uom_dozen') + self.uom_dozen.rounding = 1 self.uom_kg = self.env.ref('product.product_uom_kgm') self.productA = productObj.create( @@ -30,8 +29,14 @@ class TestStockOrderpointProcureUom(common.TransactionCase): 'standard_price': 1, 'type': 'product', 'uom_id': self.uom_unit.id, + 'uom_po_id': self.uom_dozen.id, 'default_code': 'A', - 'variant_seller_ids': [(6, 0, [self.vendor.id])], + 'variant_seller_ids': [(0, 0, { + 'name': self.env.ref('base.res_partner_3').id, + 'delay': 3, + 'min_qty': 1, + 'price': 72, + })], }) def test_stock_orderpoint_procure_uom(self): @@ -55,6 +60,8 @@ class TestStockOrderpointProcureUom(common.TransactionCase): [('orderpoint_id', '=', orderpoint.id), ('order_id', '=', purchase.id)]) self.assertEquals(len(purchase_line), 1) + self.assertEqual(purchase_line.product_id, self.productA) + self.assertEqual(purchase_line.product_uom, self.uom_dozen) self.assertEqual(purchase_line.product_qty, 2.0) def test_stock_orderpoint_wrong_uom(self): @@ -69,3 +76,57 @@ class TestStockOrderpointProcureUom(common.TransactionCase): 'product_min_qty': 12, 'procure_uom_id': self.uom_kg.id, }) + + def test_regenerate_po(self): + + def _assert_purchase_generated(self, supplier, product): + purchase = self.purchase_model.search( + [('partner_id', '=', supplier.id)]) + self.assertEquals(len(purchase), 1) + lines = purchase.order_line + self.assertEquals(len(lines), 1) + self.assertEquals(lines.product_id, product) + self.assertEquals(lines.product_uom, self.uom_dozen) + self.assertEquals(lines.product_qty, 9) + return purchase + + supplier = self.env['res.partner'].create({ + 'name': 'Brewery Inc', + 'is_company': True, + 'supplier': True + }) + + product = self.env['product.product'].create({ + 'name': 'Beer bottle', + 'standard_price': 1, + 'type': 'product', + 'uom_id': self.uom_unit.id, + 'uom_po_id': self.uom_dozen.id, + 'seller_ids': [(0, False, { + 'name': supplier.id, + 'delay': 1, + 'min_qty': 1, + 'price': 2 + })] + }) + + self.env['stock.warehouse.orderpoint'].create({ + 'warehouse_id': self.warehouse.id, + 'location_id': self.location_stock.id, + 'product_id': product.id, + 'product_max_qty': 100, + 'product_min_qty': 10, + 'qty_multiple': 10, + 'product_uom': self.uom_unit.id, + 'procure_uom_id': self.uom_dozen.id, + }) + + self.env['procurement.group'].run_scheduler() + + purchase1 = _assert_purchase_generated(self, supplier, product) + purchase1.button_cancel() + purchase1.unlink() + + self.env['procurement.group'].run_scheduler() + + _assert_purchase_generated(self, supplier, product) From 282cffc7fd0f2db7bf189bb029983c362f582e08 Mon Sep 17 00:00:00 2001 From: Bhavesh Odedra Date: Mon, 5 Mar 2018 21:44:09 +0530 Subject: [PATCH 14/39] [CHG] website url and improve method --- stock_orderpoint_uom/__manifest__.py | 2 +- stock_orderpoint_uom/models/procurement_group.py | 10 ++++++---- .../tests/test_stock_orderpoint_procure_uom.py | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/stock_orderpoint_uom/__manifest__.py b/stock_orderpoint_uom/__manifest__.py index 6cc18006f..5903c8c8e 100644 --- a/stock_orderpoint_uom/__manifest__.py +++ b/stock_orderpoint_uom/__manifest__.py @@ -8,7 +8,7 @@ "version": "11.0.1.0.0", "author": "Eficent, " "Odoo Community Association (OCA)", - "website": "https://www.odoo-community.org", + "website": "https://github.com/OCA/stock-logistics-warehouse", "category": "Warehouse Management", "depends": ["purchase", "stock"], "data": ["views/stock_warehouse_orderpoint_view.xml"], diff --git a/stock_orderpoint_uom/models/procurement_group.py b/stock_orderpoint_uom/models/procurement_group.py index 622544e97..325b82563 100644 --- a/stock_orderpoint_uom/models/procurement_group.py +++ b/stock_orderpoint_uom/models/procurement_group.py @@ -13,9 +13,11 @@ class ProcurementGroup(models.Model): origin, values): if 'orderpoint_id' in values: orderpoint = values.get('orderpoint_id') - product_qty = orderpoint.product_uom._compute_quantity( - product_qty, orderpoint.procure_uom_id) + if orderpoint.procure_uom_id and \ + product_uom != orderpoint.procure_uom_id: + product_qty = product_uom._compute_quantity( + product_qty, orderpoint.procure_uom_id) + product_uom = orderpoint.procure_uom_id return super(ProcurementGroup, self).run(product_id, product_qty, - orderpoint.procure_uom_id, - location_id, + product_uom, location_id, name, origin, values) diff --git a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py index ec370d43f..803679e5f 100644 --- a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py +++ b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py @@ -62,7 +62,7 @@ class TestStockOrderpointProcureUom(common.TransactionCase): self.assertEquals(len(purchase_line), 1) self.assertEqual(purchase_line.product_id, self.productA) self.assertEqual(purchase_line.product_uom, self.uom_dozen) - self.assertEqual(purchase_line.product_qty, 2.0) + self.assertEqual(purchase_line.product_qty, 2) def test_stock_orderpoint_wrong_uom(self): From 041faaa53793f5244f38e36939f12782b1f24d6a Mon Sep 17 00:00:00 2001 From: oca-travis Date: Thu, 21 Jun 2018 13:48:19 +0000 Subject: [PATCH 15/39] [UPD] Update stock_orderpoint_uom.pot --- stock_orderpoint_uom/i18n/ca.po | 13 +++-- stock_orderpoint_uom/i18n/de.po | 13 +++-- stock_orderpoint_uom/i18n/es.po | 13 +++-- stock_orderpoint_uom/i18n/es_ES.po | 27 +++++++++-- stock_orderpoint_uom/i18n/es_MX.po | 16 +++++-- stock_orderpoint_uom/i18n/fi.po | 13 +++-- stock_orderpoint_uom/i18n/fr.po | 13 +++-- stock_orderpoint_uom/i18n/fr_CH.po | 16 +++++-- stock_orderpoint_uom/i18n/hr.po | 16 +++++-- stock_orderpoint_uom/i18n/hr_HR.po | 19 +++++--- stock_orderpoint_uom/i18n/it.po | 13 +++-- stock_orderpoint_uom/i18n/nl.po | 13 +++-- stock_orderpoint_uom/i18n/nl_NL.po | 16 +++++-- stock_orderpoint_uom/i18n/pt_BR.po | 16 +++++-- stock_orderpoint_uom/i18n/pt_PT.po | 27 ++++++++--- stock_orderpoint_uom/i18n/ro.po | 16 +++++-- stock_orderpoint_uom/i18n/sl.po | 21 ++++++--- .../i18n/stock_orderpoint_uom.pot | 47 +++++++++++++++++++ stock_orderpoint_uom/i18n/tr.po | 13 +++-- stock_orderpoint_uom/i18n/tr_TR.po | 16 +++++-- stock_orderpoint_uom/i18n/vi_VN.po | 16 +++++-- stock_orderpoint_uom/i18n/zh_CN.po | 16 +++++-- 22 files changed, 289 insertions(+), 100 deletions(-) create mode 100644 stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot diff --git a/stock_orderpoint_uom/i18n/ca.po b/stock_orderpoint_uom/i18n/ca.po index b02524b74..fc883ee54 100644 --- a/stock_orderpoint_uom/i18n/ca.po +++ b/stock_orderpoint_uom/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\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" -"Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/de.po b/stock_orderpoint_uom/i18n/de.po index a34e5bc7b..87159a7f5 100644 --- a/stock_orderpoint_uom/i18n/de.po +++ b/stock_orderpoint_uom/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 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" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "Mindestbestandsregel" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/es.po b/stock_orderpoint_uom/i18n/es.po index eebc997d0..9b8c17a77 100644 --- a/stock_orderpoint_uom/i18n/es.po +++ b/stock_orderpoint_uom/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+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" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "Regla de inventario mínimo" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/es_ES.po b/stock_orderpoint_uom/i18n/es_ES.po index 18340c310..1e272a762 100644 --- a/stock_orderpoint_uom/i18n/es_ES.po +++ b/stock_orderpoint_uom/i18n/es_ES.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,15 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-12-28 03:50+0000\n" "PO-Revision-Date: 2017-12-28 03:50+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/es_ES/)\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_ES\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -31,7 +40,17 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "Regla inventario mínimo" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/es_MX.po b/stock_orderpoint_uom/i18n/es_MX.po index b0602f88a..e552426be 100644 --- a/stock_orderpoint_uom/i18n/es_MX.po +++ b/stock_orderpoint_uom/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,15 +11,16 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\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" -"Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/fi.po b/stock_orderpoint_uom/i18n/fi.po index e622b0fcc..fb7aca8d2 100644 --- a/stock_orderpoint_uom/i18n/fi.po +++ b/stock_orderpoint_uom/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\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" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/fr.po b/stock_orderpoint_uom/i18n/fr.po index 71b76d132..18fd7e566 100644 --- a/stock_orderpoint_uom/i18n/fr.po +++ b/stock_orderpoint_uom/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/fr_CH.po b/stock_orderpoint_uom/i18n/fr_CH.po index ee74c9ac6..efc24838d 100644 --- a/stock_orderpoint_uom/i18n/fr_CH.po +++ b/stock_orderpoint_uom/i18n/fr_CH.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,15 +11,16 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\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" -"Language: fr_CH\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/hr.po b/stock_orderpoint_uom/i18n/hr.po index 9875fddfd..d0127c56d 100644 --- a/stock_orderpoint_uom/i18n/hr.po +++ b/stock_orderpoint_uom/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,14 +12,15 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\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" -"Language: hr\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" +"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: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/hr_HR.po b/stock_orderpoint_uom/i18n/hr_HR.po index 10010bf67..494c1dcbc 100644 --- a/stock_orderpoint_uom/i18n/hr_HR.po +++ b/stock_orderpoint_uom/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,15 +11,17 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\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" -"Language: hr_HR\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" +"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: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +29,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +41,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/it.po b/stock_orderpoint_uom/i18n/it.po index 3de336000..7eba1a9d7 100644 --- a/stock_orderpoint_uom/i18n/it.po +++ b/stock_orderpoint_uom/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\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" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/nl.po b/stock_orderpoint_uom/i18n/nl.po index dfb1481f1..53cc95a62 100644 --- a/stock_orderpoint_uom/i18n/nl.po +++ b/stock_orderpoint_uom/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/nl_NL.po b/stock_orderpoint_uom/i18n/nl_NL.po index d49cbec09..f379dc224 100644 --- a/stock_orderpoint_uom/i18n/nl_NL.po +++ b/stock_orderpoint_uom/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # Peter Hageman , 2018 msgid "" @@ -11,15 +11,16 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: Peter Hageman , 2018\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/pt_BR.po b/stock_orderpoint_uom/i18n/pt_BR.po index 0eef59b17..ce420ff43 100644 --- a/stock_orderpoint_uom/i18n/pt_BR.po +++ b/stock_orderpoint_uom/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,15 +11,16 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\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" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "Regra minima de inventário" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/pt_PT.po b/stock_orderpoint_uom/i18n/pt_PT.po index 138e11603..9dbfd7ec6 100644 --- a/stock_orderpoint_uom/i18n/pt_PT.po +++ b/stock_orderpoint_uom/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # Pedro Castro Silva , 2017 msgid "" @@ -11,15 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-01-07 07:42+0000\n" "PO-Revision-Date: 2017-01-07 07:42+0000\n" "Last-Translator: Pedro Castro Silva , 2017\n" -"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 +#, python-format +msgid "" +"At least one reordering rule for this product has a different Procurement " +"unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -32,11 +41,17 @@ msgid "Minimum Inventory Rule" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model,name:stock_orderpoint_uom.model_procurement_order -msgid "Procurement" +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +#, fuzzy +msgid "Procurement Requisition" msgstr "Aquisições" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "" diff --git a/stock_orderpoint_uom/i18n/ro.po b/stock_orderpoint_uom/i18n/ro.po index fb77eb095..4f515bd18 100644 --- a/stock_orderpoint_uom/i18n/ro.po +++ b/stock_orderpoint_uom/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,14 +12,15 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\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" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/sl.po b/stock_orderpoint_uom/i18n/sl.po index e63911c72..c4b855766 100644 --- a/stock_orderpoint_uom/i18n/sl.po +++ b/stock_orderpoint_uom/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,14 +12,15 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 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" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,20 +28,26 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " "Measure must be in the same category." msgstr "" -"Napaka: privzeti enoti mere za proizvod in enoto oskrbe morata biti iz iste" -" kategorije." +"Napaka: privzeti enoti mere za proizvod in enoto oskrbe morata biti iz iste " +"kategorije." #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint msgid "Minimum Inventory Rule" msgstr "Pravilo minimalne zaloge" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +#, fuzzy +msgid "Procurement Requisition" +msgstr "EM oskrbovanja" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot b/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot new file mode 100644 index 000000000..cf798e6d5 --- /dev/null +++ b/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_orderpoint_uom +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 +#, python-format +msgid "At least one reordering rule for this product has a different Procurement unit of measure category." +msgstr "" + +#. module: stock_orderpoint_uom +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 +#, python-format +msgid "Error: The product default Unit of Measure and the procurement Unit of Measure must be in the same category." +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint +msgid "Minimum Inventory Rule" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +msgid "Procurement UoM" +msgstr "" + +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_product_template +msgid "Product Template" +msgstr "" + diff --git a/stock_orderpoint_uom/i18n/tr.po b/stock_orderpoint_uom/i18n/tr.po index f136c6655..62d8e98cd 100644 --- a/stock_orderpoint_uom/i18n/tr.po +++ b/stock_orderpoint_uom/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # Ediz Duman , 2018 msgid "" @@ -12,14 +12,14 @@ msgstr "" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: Ediz Duman , 2018\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +27,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +39,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/tr_TR.po b/stock_orderpoint_uom/i18n/tr_TR.po index 578916c6f..f7fce255f 100644 --- a/stock_orderpoint_uom/i18n/tr_TR.po +++ b/stock_orderpoint_uom/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,15 +11,16 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\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" -"Language: tr_TR\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/vi_VN.po b/stock_orderpoint_uom/i18n/vi_VN.po index 648ea8efc..a6752d116 100644 --- a/stock_orderpoint_uom/i18n/vi_VN.po +++ b/stock_orderpoint_uom/i18n/vi_VN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,15 +11,16 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/vi_VN/)\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" -"Language: vi_VN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" diff --git a/stock_orderpoint_uom/i18n/zh_CN.po b/stock_orderpoint_uom/i18n/zh_CN.po index e3e6ff5cc..953b58205 100644 --- a/stock_orderpoint_uom/i18n/zh_CN.po +++ b/stock_orderpoint_uom/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_orderpoint_uom -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,15 +11,16 @@ msgstr "" "POT-Creation-Date: 2018-01-16 14:36+0000\n" "PO-Revision-Date: 2018-01-16 14:36+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\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" -"Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/product_template.py:22 +#: code:addons/stock_orderpoint_uom/models/product_template.py:21 #, python-format msgid "" "At least one reordering rule for this product has a different Procurement " @@ -27,7 +28,7 @@ msgid "" msgstr "" #. module: stock_orderpoint_uom -#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:24 +#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23 #, python-format msgid "" "Error: The product default Unit of Measure and the procurement Unit of " @@ -39,6 +40,11 @@ msgstr "" msgid "Minimum Inventory Rule" msgstr "" +#. module: stock_orderpoint_uom +#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group +msgid "Procurement Requisition" +msgstr "" + #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id msgid "Procurement UoM" From 7f5252f2c33bbe1ea232487b0fdf281da3bc1bbe Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 9 Oct 2018 09:19:22 +0000 Subject: [PATCH 16/39] [UPD] Update stock_orderpoint_uom.pot --- stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot | 1 + 1 file changed, 1 insertion(+) diff --git a/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot b/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot index cf798e6d5..ad978395a 100644 --- a/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot +++ b/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot @@ -37,6 +37,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" From 156f79484782a4ba56c4482bff0550a27e99605b Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 9 Dec 2018 13:12:36 +0000 Subject: [PATCH 17/39] Update translation files Updated by Update PO files to match POT (msgmerge) hook in Weblate. --- stock_orderpoint_uom/i18n/ca.po | 1 + stock_orderpoint_uom/i18n/de.po | 1 + stock_orderpoint_uom/i18n/es.po | 1 + stock_orderpoint_uom/i18n/es_ES.po | 1 + stock_orderpoint_uom/i18n/es_MX.po | 1 + stock_orderpoint_uom/i18n/fi.po | 1 + stock_orderpoint_uom/i18n/fr.po | 1 + stock_orderpoint_uom/i18n/fr_CH.po | 1 + stock_orderpoint_uom/i18n/hr.po | 1 + stock_orderpoint_uom/i18n/hr_HR.po | 1 + stock_orderpoint_uom/i18n/it.po | 1 + stock_orderpoint_uom/i18n/nl.po | 1 + stock_orderpoint_uom/i18n/nl_NL.po | 1 + stock_orderpoint_uom/i18n/pt_BR.po | 1 + stock_orderpoint_uom/i18n/pt_PT.po | 1 + stock_orderpoint_uom/i18n/ro.po | 1 + stock_orderpoint_uom/i18n/sl.po | 1 + stock_orderpoint_uom/i18n/tr.po | 1 + stock_orderpoint_uom/i18n/tr_TR.po | 1 + stock_orderpoint_uom/i18n/vi_VN.po | 1 + stock_orderpoint_uom/i18n/zh_CN.po | 1 + 21 files changed, 21 insertions(+) diff --git a/stock_orderpoint_uom/i18n/ca.po b/stock_orderpoint_uom/i18n/ca.po index fc883ee54..c3aaa7e6e 100644 --- a/stock_orderpoint_uom/i18n/ca.po +++ b/stock_orderpoint_uom/i18n/ca.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/de.po b/stock_orderpoint_uom/i18n/de.po index 87159a7f5..d61d582de 100644 --- a/stock_orderpoint_uom/i18n/de.po +++ b/stock_orderpoint_uom/i18n/de.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es.po b/stock_orderpoint_uom/i18n/es.po index 9b8c17a77..b604a1e4f 100644 --- a/stock_orderpoint_uom/i18n/es.po +++ b/stock_orderpoint_uom/i18n/es.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es_ES.po b/stock_orderpoint_uom/i18n/es_ES.po index 1e272a762..0e57e70f9 100644 --- a/stock_orderpoint_uom/i18n/es_ES.po +++ b/stock_orderpoint_uom/i18n/es_ES.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es_MX.po b/stock_orderpoint_uom/i18n/es_MX.po index e552426be..9dfd723eb 100644 --- a/stock_orderpoint_uom/i18n/es_MX.po +++ b/stock_orderpoint_uom/i18n/es_MX.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/fi.po b/stock_orderpoint_uom/i18n/fi.po index fb7aca8d2..69a03a438 100644 --- a/stock_orderpoint_uom/i18n/fi.po +++ b/stock_orderpoint_uom/i18n/fi.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/fr.po b/stock_orderpoint_uom/i18n/fr.po index 18fd7e566..95714db81 100644 --- a/stock_orderpoint_uom/i18n/fr.po +++ b/stock_orderpoint_uom/i18n/fr.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/fr_CH.po b/stock_orderpoint_uom/i18n/fr_CH.po index efc24838d..7ea23d399 100644 --- a/stock_orderpoint_uom/i18n/fr_CH.po +++ b/stock_orderpoint_uom/i18n/fr_CH.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/hr.po b/stock_orderpoint_uom/i18n/hr.po index d0127c56d..115bbac25 100644 --- a/stock_orderpoint_uom/i18n/hr.po +++ b/stock_orderpoint_uom/i18n/hr.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/hr_HR.po b/stock_orderpoint_uom/i18n/hr_HR.po index 494c1dcbc..4a5dc0c85 100644 --- a/stock_orderpoint_uom/i18n/hr_HR.po +++ b/stock_orderpoint_uom/i18n/hr_HR.po @@ -48,6 +48,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/it.po b/stock_orderpoint_uom/i18n/it.po index 7eba1a9d7..9ebc40d00 100644 --- a/stock_orderpoint_uom/i18n/it.po +++ b/stock_orderpoint_uom/i18n/it.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/nl.po b/stock_orderpoint_uom/i18n/nl.po index 53cc95a62..a72289deb 100644 --- a/stock_orderpoint_uom/i18n/nl.po +++ b/stock_orderpoint_uom/i18n/nl.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/nl_NL.po b/stock_orderpoint_uom/i18n/nl_NL.po index f379dc224..97b49d5dd 100644 --- a/stock_orderpoint_uom/i18n/nl_NL.po +++ b/stock_orderpoint_uom/i18n/nl_NL.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/pt_BR.po b/stock_orderpoint_uom/i18n/pt_BR.po index ce420ff43..2cadca397 100644 --- a/stock_orderpoint_uom/i18n/pt_BR.po +++ b/stock_orderpoint_uom/i18n/pt_BR.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/pt_PT.po b/stock_orderpoint_uom/i18n/pt_PT.po index 9dbfd7ec6..3469e4718 100644 --- a/stock_orderpoint_uom/i18n/pt_PT.po +++ b/stock_orderpoint_uom/i18n/pt_PT.po @@ -48,6 +48,7 @@ msgstr "Aquisições" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/ro.po b/stock_orderpoint_uom/i18n/ro.po index 4f515bd18..f76c4f300 100644 --- a/stock_orderpoint_uom/i18n/ro.po +++ b/stock_orderpoint_uom/i18n/ro.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/sl.po b/stock_orderpoint_uom/i18n/sl.po index c4b855766..467dff347 100644 --- a/stock_orderpoint_uom/i18n/sl.po +++ b/stock_orderpoint_uom/i18n/sl.po @@ -50,6 +50,7 @@ msgstr "EM oskrbovanja" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "EM oskrbovanja" diff --git a/stock_orderpoint_uom/i18n/tr.po b/stock_orderpoint_uom/i18n/tr.po index 62d8e98cd..98e9ec340 100644 --- a/stock_orderpoint_uom/i18n/tr.po +++ b/stock_orderpoint_uom/i18n/tr.po @@ -46,6 +46,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/tr_TR.po b/stock_orderpoint_uom/i18n/tr_TR.po index f7fce255f..b2859e267 100644 --- a/stock_orderpoint_uom/i18n/tr_TR.po +++ b/stock_orderpoint_uom/i18n/tr_TR.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/vi_VN.po b/stock_orderpoint_uom/i18n/vi_VN.po index a6752d116..b419f6813 100644 --- a/stock_orderpoint_uom/i18n/vi_VN.po +++ b/stock_orderpoint_uom/i18n/vi_VN.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/zh_CN.po b/stock_orderpoint_uom/i18n/zh_CN.po index 953b58205..ffc88ca04 100644 --- a/stock_orderpoint_uom/i18n/zh_CN.po +++ b/stock_orderpoint_uom/i18n/zh_CN.po @@ -47,6 +47,7 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id msgid "Procurement UoM" msgstr "" From 8439ef36316c930c48c8082684bb0f0669aa97c3 Mon Sep 17 00:00:00 2001 From: Kitti U Date: Tue, 2 Apr 2019 09:13:44 +0700 Subject: [PATCH 18/39] [12.0][MIG] stock_orderpoint_uom --- stock_orderpoint_uom/README.rst | 71 ++- stock_orderpoint_uom/__manifest__.py | 2 +- .../models/stock_warehouse_orderpoint.py | 2 +- stock_orderpoint_uom/readme/CONFIGURE.rst | 2 + stock_orderpoint_uom/readme/CONTRIBUTORS.rst | 4 + stock_orderpoint_uom/readme/DESCRIPTION.rst | 8 + stock_orderpoint_uom/readme/USAGE.rst | 1 + .../static/description/index.html | 439 ++++++++++++++++++ .../test_stock_orderpoint_procure_uom.py | 6 +- .../views/stock_warehouse_orderpoint_view.xml | 4 +- 10 files changed, 508 insertions(+), 31 deletions(-) create mode 100644 stock_orderpoint_uom/readme/CONFIGURE.rst create mode 100644 stock_orderpoint_uom/readme/CONTRIBUTORS.rst create mode 100644 stock_orderpoint_uom/readme/DESCRIPTION.rst create mode 100644 stock_orderpoint_uom/readme/USAGE.rst create mode 100644 stock_orderpoint_uom/static/description/index.html diff --git a/stock_orderpoint_uom/README.rst b/stock_orderpoint_uom/README.rst index de6ce80fd..382f6de57 100644 --- a/stock_orderpoint_uom/README.rst +++ b/stock_orderpoint_uom/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ==================== Stock Orderpoint UoM ==================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_orderpoint_uom + :alt: OCA/stock-logistics-warehouse +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_orderpoint_uom + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/153/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module allows users users to define what unit of measure should be used in procurements created from minimum stock rules. @@ -15,6 +34,11 @@ created, the quantity to be transferred will be expressed in meters, making it easier for the people responsible for the transfers to understand the requirement. +**Table of contents** + +.. contents:: + :local: + Configuration ============= @@ -24,48 +48,47 @@ and enable 'Sell and purchase products in different units of measure' option. Usage ===== -Go to 'Inventory > Master Data > Reordering Rules' and indicate a Procurement -UoM. - - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/153/11.0 +Go to 'Inventory > Master Data > Reordering Rules' and indicate a Procurement UoM. Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Eficent Contributors ------------- +~~~~~~~~~~~~ * Jordi Ballester Alomar * Lois Rilo * Bhavesh Odedra +* Kitti Upariphutthiphong -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_orderpoint_uom/__manifest__.py b/stock_orderpoint_uom/__manifest__.py index 5903c8c8e..8d1027c2a 100644 --- a/stock_orderpoint_uom/__manifest__.py +++ b/stock_orderpoint_uom/__manifest__.py @@ -5,7 +5,7 @@ "name": "Stock Orderpoint UoM", "summary": "Allows to create procurement orders in the UoM indicated in " "the orderpoint", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "author": "Eficent, " "Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", diff --git a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py index 8be67a254..48ca6f9dc 100644 --- a/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py +++ b/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py @@ -9,7 +9,7 @@ from odoo.exceptions import UserError class Orderpoint(models.Model): _inherit = "stock.warehouse.orderpoint" - procure_uom_id = fields.Many2one(comodel_name='product.uom', + procure_uom_id = fields.Many2one(comodel_name='uom.uom', string="Procurement UoM") @api.constrains('product_id', 'procure_uom_id') diff --git a/stock_orderpoint_uom/readme/CONFIGURE.rst b/stock_orderpoint_uom/readme/CONFIGURE.rst new file mode 100644 index 000000000..2ade2a17c --- /dev/null +++ b/stock_orderpoint_uom/readme/CONFIGURE.rst @@ -0,0 +1,2 @@ +To configure this module, you need to 'Inventory > Configuration > Settings' +and enable 'Sell and purchase products in different units of measure' option. diff --git a/stock_orderpoint_uom/readme/CONTRIBUTORS.rst b/stock_orderpoint_uom/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..2e04b89ae --- /dev/null +++ b/stock_orderpoint_uom/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Jordi Ballester Alomar +* Lois Rilo +* Bhavesh Odedra +* Kitti Upariphutthiphong diff --git a/stock_orderpoint_uom/readme/DESCRIPTION.rst b/stock_orderpoint_uom/readme/DESCRIPTION.rst new file mode 100644 index 000000000..40508d5a0 --- /dev/null +++ b/stock_orderpoint_uom/readme/DESCRIPTION.rst @@ -0,0 +1,8 @@ +This module allows users users to define what unit of measure should be used +in procurements created from minimum stock rules. + +A typical use case would be a product that is stocked in centimeters, and +needs to be restocked in meters from another warehouse. When the picking is +created, the quantity to be transferred will be expressed in meters, making +it easier for the people responsible for the transfers to understand the +requirement. diff --git a/stock_orderpoint_uom/readme/USAGE.rst b/stock_orderpoint_uom/readme/USAGE.rst new file mode 100644 index 000000000..a38d3e7de --- /dev/null +++ b/stock_orderpoint_uom/readme/USAGE.rst @@ -0,0 +1 @@ +Go to 'Inventory > Master Data > Reordering Rules' and indicate a Procurement UoM. diff --git a/stock_orderpoint_uom/static/description/index.html b/stock_orderpoint_uom/static/description/index.html new file mode 100644 index 000000000..4ade4c683 --- /dev/null +++ b/stock_orderpoint_uom/static/description/index.html @@ -0,0 +1,439 @@ + + + + + + +Stock Orderpoint UoM + + + +
+

Stock Orderpoint UoM

+ + +

Beta License: AGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runbot

+

This module allows users users to define what unit of measure should be used +in procurements created from minimum stock rules.

+

A typical use case would be a product that is stocked in centimeters, and +needs to be restocked in meters from another warehouse. When the picking is +created, the quantity to be transferred will be expressed in meters, making +it easier for the people responsible for the transfers to understand the +requirement.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to ‘Inventory > Configuration > Settings’ +and enable ‘Sell and purchase products in different units of measure’ option.

+
+
+

Usage

+

Go to ‘Inventory > Master Data > Reordering Rules’ and indicate a Procurement UoM.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Eficent
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py index 803679e5f..a62acb524 100644 --- a/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py +++ b/stock_orderpoint_uom/tests/test_stock_orderpoint_procure_uom.py @@ -18,11 +18,11 @@ class TestStockOrderpointProcureUom(common.TransactionCase): self.purchase_line_model = self.env['purchase.order.line'] self.warehouse = self.env.ref('stock.warehouse0') self.location_stock = self.env.ref('stock.stock_location_stock') - self.uom_unit = self.env.ref('product.product_uom_unit') + self.uom_unit = self.env.ref('uom.product_uom_unit') self.uom_unit.rounding = 1 - self.uom_dozen = self.env.ref('product.product_uom_dozen') + self.uom_dozen = self.env.ref('uom.product_uom_dozen') self.uom_dozen.rounding = 1 - self.uom_kg = self.env.ref('product.product_uom_kgm') + self.uom_kg = self.env.ref('uom.product_uom_kgm') self.productA = productObj.create( {'name': 'product A', diff --git a/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml b/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml index d52bf56b1..68214d35d 100644 --- a/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml +++ b/stock_orderpoint_uom/views/stock_warehouse_orderpoint_view.xml @@ -8,7 +8,7 @@ ref="stock.view_warehouse_orderpoint_tree"/> - + @@ -21,7 +21,7 @@ + groups="uom.group_uom"/> From 83d7f4b2a3a72a298b2a963508c34ea35098ae33 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 4 Apr 2019 07:29:46 +0000 Subject: [PATCH 19/39] [ADD] icon.png --- stock_orderpoint_uom/static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 stock_orderpoint_uom/static/description/icon.png diff --git a/stock_orderpoint_uom/static/description/icon.png b/stock_orderpoint_uom/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 From 37a98b91c423a3903ef422d696eae9b6d7e4d5b9 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Thu, 4 Apr 2019 12:00:51 +0000 Subject: [PATCH 20/39] [UPD] Update stock_orderpoint_uom.pot --- stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot b/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot index ad978395a..d4e303fe0 100644 --- a/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot +++ b/stock_orderpoint_uom/i18n/stock_orderpoint_uom.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -32,12 +32,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" From 575e7b06602f8e7d17b759ed48cd3cc0537b8879 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Mon, 20 May 2019 21:05:45 +0000 Subject: [PATCH 21/39] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_orderpoint_uom Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_orderpoint_uom/ --- stock_orderpoint_uom/i18n/ca.po | 5 ++--- stock_orderpoint_uom/i18n/de.po | 5 ++--- stock_orderpoint_uom/i18n/es.po | 5 ++--- stock_orderpoint_uom/i18n/es_ES.po | 5 ++--- stock_orderpoint_uom/i18n/es_MX.po | 5 ++--- stock_orderpoint_uom/i18n/fi.po | 5 ++--- stock_orderpoint_uom/i18n/fr.po | 5 ++--- stock_orderpoint_uom/i18n/fr_CH.po | 5 ++--- stock_orderpoint_uom/i18n/hr.po | 5 ++--- stock_orderpoint_uom/i18n/hr_HR.po | 5 ++--- stock_orderpoint_uom/i18n/it.po | 5 ++--- stock_orderpoint_uom/i18n/nl.po | 5 ++--- stock_orderpoint_uom/i18n/nl_NL.po | 5 ++--- stock_orderpoint_uom/i18n/pt_BR.po | 5 ++--- stock_orderpoint_uom/i18n/pt_PT.po | 5 ++--- stock_orderpoint_uom/i18n/ro.po | 5 ++--- stock_orderpoint_uom/i18n/sl.po | 10 +++++++--- stock_orderpoint_uom/i18n/tr.po | 5 ++--- stock_orderpoint_uom/i18n/tr_TR.po | 5 ++--- stock_orderpoint_uom/i18n/vi_VN.po | 5 ++--- stock_orderpoint_uom/i18n/zh_CN.po | 5 ++--- 21 files changed, 47 insertions(+), 63 deletions(-) diff --git a/stock_orderpoint_uom/i18n/ca.po b/stock_orderpoint_uom/i18n/ca.po index c3aaa7e6e..0bfad0ce7 100644 --- a/stock_orderpoint_uom/i18n/ca.po +++ b/stock_orderpoint_uom/i18n/ca.po @@ -41,12 +41,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/de.po b/stock_orderpoint_uom/i18n/de.po index d61d582de..2840f714e 100644 --- a/stock_orderpoint_uom/i18n/de.po +++ b/stock_orderpoint_uom/i18n/de.po @@ -41,12 +41,11 @@ msgstr "Mindestbestandsregel" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es.po b/stock_orderpoint_uom/i18n/es.po index b604a1e4f..27819d66e 100644 --- a/stock_orderpoint_uom/i18n/es.po +++ b/stock_orderpoint_uom/i18n/es.po @@ -41,12 +41,11 @@ msgstr "Regla de inventario mínimo" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es_ES.po b/stock_orderpoint_uom/i18n/es_ES.po index 0e57e70f9..3c72b0b21 100644 --- a/stock_orderpoint_uom/i18n/es_ES.po +++ b/stock_orderpoint_uom/i18n/es_ES.po @@ -42,12 +42,11 @@ msgstr "Regla inventario mínimo" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/es_MX.po b/stock_orderpoint_uom/i18n/es_MX.po index 9dfd723eb..108e7de31 100644 --- a/stock_orderpoint_uom/i18n/es_MX.po +++ b/stock_orderpoint_uom/i18n/es_MX.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/fi.po b/stock_orderpoint_uom/i18n/fi.po index 69a03a438..4fee65b1a 100644 --- a/stock_orderpoint_uom/i18n/fi.po +++ b/stock_orderpoint_uom/i18n/fi.po @@ -41,12 +41,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/fr.po b/stock_orderpoint_uom/i18n/fr.po index 95714db81..74b863c49 100644 --- a/stock_orderpoint_uom/i18n/fr.po +++ b/stock_orderpoint_uom/i18n/fr.po @@ -41,12 +41,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/fr_CH.po b/stock_orderpoint_uom/i18n/fr_CH.po index 7ea23d399..42529f3f7 100644 --- a/stock_orderpoint_uom/i18n/fr_CH.po +++ b/stock_orderpoint_uom/i18n/fr_CH.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/hr.po b/stock_orderpoint_uom/i18n/hr.po index 115bbac25..0777e4212 100644 --- a/stock_orderpoint_uom/i18n/hr.po +++ b/stock_orderpoint_uom/i18n/hr.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/hr_HR.po b/stock_orderpoint_uom/i18n/hr_HR.po index 4a5dc0c85..d8d9fa3a4 100644 --- a/stock_orderpoint_uom/i18n/hr_HR.po +++ b/stock_orderpoint_uom/i18n/hr_HR.po @@ -43,12 +43,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/it.po b/stock_orderpoint_uom/i18n/it.po index 9ebc40d00..4c445ec45 100644 --- a/stock_orderpoint_uom/i18n/it.po +++ b/stock_orderpoint_uom/i18n/it.po @@ -41,12 +41,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/nl.po b/stock_orderpoint_uom/i18n/nl.po index a72289deb..5f94029a2 100644 --- a/stock_orderpoint_uom/i18n/nl.po +++ b/stock_orderpoint_uom/i18n/nl.po @@ -41,12 +41,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/nl_NL.po b/stock_orderpoint_uom/i18n/nl_NL.po index 97b49d5dd..078c19a64 100644 --- a/stock_orderpoint_uom/i18n/nl_NL.po +++ b/stock_orderpoint_uom/i18n/nl_NL.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/pt_BR.po b/stock_orderpoint_uom/i18n/pt_BR.po index 2cadca397..5e0d6e1d6 100644 --- a/stock_orderpoint_uom/i18n/pt_BR.po +++ b/stock_orderpoint_uom/i18n/pt_BR.po @@ -42,12 +42,11 @@ msgstr "Regra minima de inventário" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/pt_PT.po b/stock_orderpoint_uom/i18n/pt_PT.po index 3469e4718..2c52a80f8 100644 --- a/stock_orderpoint_uom/i18n/pt_PT.po +++ b/stock_orderpoint_uom/i18n/pt_PT.po @@ -43,12 +43,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group #, fuzzy -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "Aquisições" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/ro.po b/stock_orderpoint_uom/i18n/ro.po index f76c4f300..2a6bae6a3 100644 --- a/stock_orderpoint_uom/i18n/ro.po +++ b/stock_orderpoint_uom/i18n/ro.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/sl.po b/stock_orderpoint_uom/i18n/sl.po index 467dff347..790945bfd 100644 --- a/stock_orderpoint_uom/i18n/sl.po +++ b/stock_orderpoint_uom/i18n/sl.po @@ -45,12 +45,12 @@ msgstr "Pravilo minimalne zaloge" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group #, fuzzy -msgid "Procurement Requisition" +#| msgid "Procurement UoM" +msgid "Procurement Group" msgstr "EM oskrbovanja" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "EM oskrbovanja" @@ -58,3 +58,7 @@ msgstr "EM oskrbovanja" #: model:ir.model,name:stock_orderpoint_uom.model_product_template msgid "Product Template" msgstr "Predloga proizvoda" + +#, fuzzy +#~ msgid "Procurement Requisition" +#~ msgstr "EM oskrbovanja" diff --git a/stock_orderpoint_uom/i18n/tr.po b/stock_orderpoint_uom/i18n/tr.po index 98e9ec340..8dc01a319 100644 --- a/stock_orderpoint_uom/i18n/tr.po +++ b/stock_orderpoint_uom/i18n/tr.po @@ -41,12 +41,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/tr_TR.po b/stock_orderpoint_uom/i18n/tr_TR.po index b2859e267..9c095d65c 100644 --- a/stock_orderpoint_uom/i18n/tr_TR.po +++ b/stock_orderpoint_uom/i18n/tr_TR.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/vi_VN.po b/stock_orderpoint_uom/i18n/vi_VN.po index b419f6813..13cfa46b2 100644 --- a/stock_orderpoint_uom/i18n/vi_VN.po +++ b/stock_orderpoint_uom/i18n/vi_VN.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" diff --git a/stock_orderpoint_uom/i18n/zh_CN.po b/stock_orderpoint_uom/i18n/zh_CN.po index ffc88ca04..a1e0e5c9e 100644 --- a/stock_orderpoint_uom/i18n/zh_CN.po +++ b/stock_orderpoint_uom/i18n/zh_CN.po @@ -42,12 +42,11 @@ msgstr "" #. module: stock_orderpoint_uom #: model:ir.model,name:stock_orderpoint_uom.model_procurement_group -msgid "Procurement Requisition" +msgid "Procurement Group" msgstr "" #. module: stock_orderpoint_uom -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id -#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id +#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint__procure_uom_id msgid "Procurement UoM" msgstr "" From c354363215e75c11abdd82ca91ddee284f1e4c31 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 15 Jul 2019 17:07:05 +0200 Subject: [PATCH 22/39] [IMP] dependencies --- stock_orderpoint_uom/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_orderpoint_uom/__manifest__.py b/stock_orderpoint_uom/__manifest__.py index 8d1027c2a..5314f09c8 100644 --- a/stock_orderpoint_uom/__manifest__.py +++ b/stock_orderpoint_uom/__manifest__.py @@ -10,7 +10,7 @@ "Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", "category": "Warehouse Management", - "depends": ["purchase", "stock"], + "depends": ["purchase_stock"], "data": ["views/stock_warehouse_orderpoint_view.xml"], "license": "AGPL-3", 'installable': True, From 2f72123b85e814763d39df3dedaf6632574b6b31 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 15 Jul 2019 16:24:19 +0000 Subject: [PATCH 23/39] stock_orderpoint_uom 12.0.1.1.0 --- stock_orderpoint_uom/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_orderpoint_uom/__manifest__.py b/stock_orderpoint_uom/__manifest__.py index 5314f09c8..e3cc889de 100644 --- a/stock_orderpoint_uom/__manifest__.py +++ b/stock_orderpoint_uom/__manifest__.py @@ -5,7 +5,7 @@ "name": "Stock Orderpoint UoM", "summary": "Allows to create procurement orders in the UoM indicated in " "the orderpoint", - "version": "12.0.1.0.0", + "version": "12.0.1.1.0", "author": "Eficent, " "Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", From 85caba5e768d91baf15124e764da8606fcbf7f80 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 03:43:10 +0000 Subject: [PATCH 24/39] [UPD] README.rst --- stock_orderpoint_uom/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_orderpoint_uom/static/description/index.html b/stock_orderpoint_uom/static/description/index.html index 4ade4c683..e8fb248a6 100644 --- a/stock_orderpoint_uom/static/description/index.html +++ b/stock_orderpoint_uom/static/description/index.html @@ -3,7 +3,7 @@ - + Stock Orderpoint UoM