From 5577a893061449178b4068dacd8b8580ebcefa79 Mon Sep 17 00:00:00 2001 From: Mourad Elhadj Mimoune Date: Thu, 16 Feb 2017 17:31:14 +0100 Subject: [PATCH 01/33] [MIG] sale_order_lot_generator: Migrated to 10.0 --- sale_order_lot_generator/README.rst | 71 +++++++++++++++++++ sale_order_lot_generator/__init__.py | 1 + sale_order_lot_generator/__manifest__.py | 19 +++++ sale_order_lot_generator/models/__init__.py | 2 + sale_order_lot_generator/models/product.py | 16 +++++ sale_order_lot_generator/models/sale.py | 55 ++++++++++++++ sale_order_lot_generator/tests/__init__.py | 5 ++ .../tests/test_sale_order_lot_generator.py | 36 ++++++++++ .../views/product_view.xml | 15 ++++ 9 files changed, 220 insertions(+) create mode 100644 sale_order_lot_generator/README.rst create mode 100644 sale_order_lot_generator/__init__.py create mode 100644 sale_order_lot_generator/__manifest__.py create mode 100644 sale_order_lot_generator/models/__init__.py create mode 100644 sale_order_lot_generator/models/product.py create mode 100644 sale_order_lot_generator/models/sale.py create mode 100644 sale_order_lot_generator/tests/__init__.py create mode 100644 sale_order_lot_generator/tests/test_sale_order_lot_generator.py create mode 100644 sale_order_lot_generator/views/product_view.xml diff --git a/sale_order_lot_generator/README.rst b/sale_order_lot_generator/README.rst new file mode 100644 index 00000000000..c41dc6e05c9 --- /dev/null +++ b/sale_order_lot_generator/README.rst @@ -0,0 +1,71 @@ +.. 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 + +======================== +Sale Order Lot Generator +======================== + +This module was written to generate automatically the lot number when you confirm a sale order. + +Installation +============ + +To install this module, you need to: + +#. have sale_order_lot_selection in your module list + +Configuration +============= + +To configure this module, you need to: + +#. Go to ... + +.. figure:: path/to/local/image.png + :alt: alternative description + :width: 600 px + +Usage +===== + +#. Go to ... + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} + +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 smash it by providing detailed and welcomed feedback. + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Valentin Chemiere +* Florian da Costa +* Mourad EL HADJ MIMOUNE + +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/sale_order_lot_generator/__init__.py b/sale_order_lot_generator/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/sale_order_lot_generator/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py new file mode 100644 index 00000000000..f3d9169be1a --- /dev/null +++ b/sale_order_lot_generator/__manifest__.py @@ -0,0 +1,19 @@ +# coding: utf-8 +# @author Valentin CHEMIERE +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'sale_order_lot_generator', + 'version': '10.0.0.0.1', + 'author': 'Akretion', + 'website': 'www.akretion.com', + 'license': 'AGPL-3', + 'category': 'Sale', + 'depends': [ + 'sale_order_lot_selection', + ], + 'data': [ + 'views/product_view.xml', + ], + 'installable': True, +} diff --git a/sale_order_lot_generator/models/__init__.py b/sale_order_lot_generator/models/__init__.py new file mode 100644 index 00000000000..3da3adee01c --- /dev/null +++ b/sale_order_lot_generator/models/__init__.py @@ -0,0 +1,2 @@ +from . import product +from . import sale \ No newline at end of file diff --git a/sale_order_lot_generator/models/product.py b/sale_order_lot_generator/models/product.py new file mode 100644 index 00000000000..b7c8244f634 --- /dev/null +++ b/sale_order_lot_generator/models/product.py @@ -0,0 +1,16 @@ +# coding: utf-8 +# @author Adrien CHAUSSENDE +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + auto_generate_prodlot = fields.Boolean( + string='Lot Generation Auto', + help="Forces to specifiy a Serial Number for all " + "lines containing this product since the confirmation " + "of the Sale Order" + ) diff --git a/sale_order_lot_generator/models/sale.py b/sale_order_lot_generator/models/sale.py new file mode 100644 index 00000000000..c95ccf8b581 --- /dev/null +++ b/sale_order_lot_generator/models/sale.py @@ -0,0 +1,55 @@ +# coding: utf-8 +# @author Valentin CHEMIERE +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, models + + +class SaleOrder(models.Model): + _inherit = 'sale.order' + + @api.model + def _prepare_vals_lot_number(self, order_line, index_lot): + """Prepare values before creating a lot number""" + lot_number = "%s-%03d" % (order_line.order_id.name, index_lot) + return { + 'name': lot_number, + 'product_id': order_line.product_id.id, + } + + @api.multi + def generate_prodlot(self): + lot_m = self.env['stock.production.lot'] + for rec in self: + index_lot = 1 + for line in rec.order_line: + line_vals = {} + if (line.product_id.auto_generate_prodlot and + not line.lot_id and + line.product_id.tracking != 'none'): + vals = rec._prepare_vals_lot_number(line, index_lot) + index_lot += 1 + lot_id = lot_m.create(vals) + line_vals['lot_id'] = lot_id.id + line.write(line_vals) + + @api.multi + def action_confirm(self): + self.ensure_one() + self.generate_prodlot() + return super(SaleOrder, self).action_confirm() + + @api.model + def _check_move_state(self, line): + if not line.product_id.auto_generate_prodlot: + return super(SaleOrder, self)._check_move_state(line) + else: + return True + + @api.multi + def action_cancel(self): + res = super(SaleOrder, self).action_cancel() + for sale in self: + for line in sale.order_line: + line.lot_id.unlink() + return res diff --git a/sale_order_lot_generator/tests/__init__.py b/sale_order_lot_generator/tests/__init__.py new file mode 100644 index 00000000000..b20acce3a8d --- /dev/null +++ b/sale_order_lot_generator/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © 2017 Akretion +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import test_sale_order_lot_generator diff --git a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py new file mode 100644 index 00000000000..48806777245 --- /dev/null +++ b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# © 2017 Akretion, Mourad EL HADJ MIMOUNE +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import odoo.tests.common as test_common + + +class TestSaleOrderLotGenerator(test_common.SingleTransactionCase): + + def setUp(self): + super(TestSaleOrderLotGenerator, self).setUp() + self.product_5b = self.env.ref('product.product_product_5b') + self.product_5b.write({ + 'tracking': 'lot', 'type': 'product', + 'auto_generate_prodlot': True}) + + def test_sale_order_lot_generator(self): + # create order + self.order1 = self.env['sale.order'].create( + { + 'partner_id': self.env.ref('base.res_partner_1').id, + }) + self.sol1 = self.env['sale.order.line'].create({ + 'name': 'sol1', + 'order_id': self.order1.id, + 'product_id': self.product_5b.id, + 'product_uom_qty': 1, + }) + # confirm orders + self.order1.action_confirm() + lot_number = "%s-%03d" % (self.order1.name, 1) + self.assertEqual(self.sol1.lot_id.name, lot_number) + picking = self.order1.picking_ids + for move in picking.move_lines: + if move.product_id.id == self.product_5b.id: + self.assertEqual(move.restrict_lot_id, self.sol1.lot_id) diff --git a/sale_order_lot_generator/views/product_view.xml b/sale_order_lot_generator/views/product_view.xml new file mode 100644 index 00000000000..882915dd55f --- /dev/null +++ b/sale_order_lot_generator/views/product_view.xml @@ -0,0 +1,15 @@ + + + + + product.template + + +
+ +
+
+
+ +
+
From 90d46356cd85bd389723c6213037631fd83eca4f Mon Sep 17 00:00:00 2001 From: Mourad Elhadj Mimoune Date: Thu, 4 May 2017 17:42:37 +0200 Subject: [PATCH 02/33] [FIX] manage lot generation for order lines created after confirmation --- sale_order_lot_generator/__manifest__.py | 2 +- sale_order_lot_generator/i18n/ca.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/de.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/el_GR.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/es.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/es_ES.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/es_VE.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/fi.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/fr.po | 52 ++++++++++++++++ sale_order_lot_generator/i18n/hr.po | 54 ++++++++++++++++ sale_order_lot_generator/i18n/hr_HR.po | 52 ++++++++++++++++ sale_order_lot_generator/i18n/hu.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/it.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/nl.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/nl_NL.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/pt.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/pt_BR.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/ro.po | 51 +++++++++++++++ .../i18n/sale_order_lot_generator.pot | 44 +++++++++++++ sale_order_lot_generator/i18n/sk.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/sl.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/tr.po | 50 +++++++++++++++ sale_order_lot_generator/i18n/tr_TR.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/vi_VN.po | 51 +++++++++++++++ sale_order_lot_generator/i18n/zh_CN.po | 51 +++++++++++++++ sale_order_lot_generator/models/sale.py | 62 ++++++++++++++----- .../tests/test_sale_order_lot_generator.py | 19 +++++- 27 files changed, 1278 insertions(+), 17 deletions(-) create mode 100644 sale_order_lot_generator/i18n/ca.po create mode 100644 sale_order_lot_generator/i18n/de.po create mode 100644 sale_order_lot_generator/i18n/el_GR.po create mode 100644 sale_order_lot_generator/i18n/es.po create mode 100644 sale_order_lot_generator/i18n/es_ES.po create mode 100644 sale_order_lot_generator/i18n/es_VE.po create mode 100644 sale_order_lot_generator/i18n/fi.po create mode 100644 sale_order_lot_generator/i18n/fr.po create mode 100644 sale_order_lot_generator/i18n/hr.po create mode 100644 sale_order_lot_generator/i18n/hr_HR.po create mode 100644 sale_order_lot_generator/i18n/hu.po create mode 100644 sale_order_lot_generator/i18n/it.po create mode 100644 sale_order_lot_generator/i18n/nl.po create mode 100644 sale_order_lot_generator/i18n/nl_NL.po create mode 100644 sale_order_lot_generator/i18n/pt.po create mode 100644 sale_order_lot_generator/i18n/pt_BR.po create mode 100644 sale_order_lot_generator/i18n/ro.po create mode 100644 sale_order_lot_generator/i18n/sale_order_lot_generator.pot create mode 100644 sale_order_lot_generator/i18n/sk.po create mode 100644 sale_order_lot_generator/i18n/sl.po create mode 100644 sale_order_lot_generator/i18n/tr.po create mode 100644 sale_order_lot_generator/i18n/tr_TR.po create mode 100644 sale_order_lot_generator/i18n/vi_VN.po create mode 100644 sale_order_lot_generator/i18n/zh_CN.po diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py index f3d9169be1a..0dad79e1549 100644 --- a/sale_order_lot_generator/__manifest__.py +++ b/sale_order_lot_generator/__manifest__.py @@ -6,7 +6,7 @@ 'name': 'sale_order_lot_generator', 'version': '10.0.0.0.1', 'author': 'Akretion', - 'website': 'www.akretion.com', + 'website': 'http://www.akretion.com', 'license': 'AGPL-3', 'category': 'Sale', 'depends': [ diff --git a/sale_order_lot_generator/i18n/ca.po b/sale_order_lot_generator/i18n/ca.po new file mode 100644 index 00000000000..a1947538398 --- /dev/null +++ b/sale_order_lot_generator/i18n/ca.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Comandes de venda" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línia de comanda de vendes" diff --git a/sale_order_lot_generator/i18n/de.po b/sale_order_lot_generator/i18n/de.po new file mode 100644 index 00000000000..c531d565070 --- /dev/null +++ b/sale_order_lot_generator/i18n/de.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Verkaufsauftrag" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Auftragsposition" diff --git a/sale_order_lot_generator/i18n/el_GR.po b/sale_order_lot_generator/i18n/el_GR.po new file mode 100644 index 00000000000..1c7634ed0c1 --- /dev/null +++ b/sale_order_lot_generator/i18n/el_GR.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Εντολή Πώλησης" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/es.po b/sale_order_lot_generator/i18n/es.po new file mode 100644 index 00000000000..c85db57a443 --- /dev/null +++ b/sale_order_lot_generator/i18n/es.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" diff --git a/sale_order_lot_generator/i18n/es_ES.po b/sale_order_lot_generator/i18n/es_ES.po new file mode 100644 index 00000000000..430d50dbf1d --- /dev/null +++ b/sale_order_lot_generator/i18n/es_ES.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/es_VE.po b/sale_order_lot_generator/i18n/es_VE.po new file mode 100644 index 00000000000..52731fc2cd9 --- /dev/null +++ b/sale_order_lot_generator/i18n/es_VE.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Pedidos de venta" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" diff --git a/sale_order_lot_generator/i18n/fi.po b/sale_order_lot_generator/i18n/fi.po new file mode 100644 index 00000000000..6a0943e086f --- /dev/null +++ b/sale_order_lot_generator/i18n/fi.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Myyntitilaus" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/fr.po b/sale_order_lot_generator/i18n/fr.po new file mode 100644 index 00000000000..fb71b40df8b --- /dev/null +++ b/sale_order_lot_generator/i18n/fr.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# leemannd , 2017 +# OCA Transbot , 2017 +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-28 01:48+0000\n" +"PO-Revision-Date: 2018-02-28 01:48+0000\n" +"Last-Translator: Quentin THEURET , 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" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "Génération automatique des Lots" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "Modèle de produit" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Bon de commande" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sales Order Line" diff --git a/sale_order_lot_generator/i18n/hr.po b/sale_order_lot_generator/i18n/hr.po new file mode 100644 index 00000000000..4917630b52a --- /dev/null +++ b/sale_order_lot_generator/i18n/hr.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# Bole , 2017 +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" +"Forsira navođenje serijskog broja za sve stavke koje sadrže ovaj proizvod od " +"potvrđivanja prodajnog naloga." + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "Automatsko kreiranje lot-a" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "Predložak proizvoda" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Stavka ponude" diff --git a/sale_order_lot_generator/i18n/hr_HR.po b/sale_order_lot_generator/i18n/hr_HR.po new file mode 100644 index 00000000000..8993c03768c --- /dev/null +++ b/sale_order_lot_generator/i18n/hr_HR.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Prodjani nalog" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/hu.po b/sale_order_lot_generator/i18n/hu.po new file mode 100644 index 00000000000..0a17b5ce690 --- /dev/null +++ b/sale_order_lot_generator/i18n/hu.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Vevői megrendelés" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/it.po b/sale_order_lot_generator/i18n/it.po new file mode 100644 index 00000000000..a109fabba97 --- /dev/null +++ b/sale_order_lot_generator/i18n/it.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Ordini vendita" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linea d'ordine di vendita" diff --git a/sale_order_lot_generator/i18n/nl.po b/sale_order_lot_generator/i18n/nl.po new file mode 100644 index 00000000000..dccbb349b69 --- /dev/null +++ b/sale_order_lot_generator/i18n/nl.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/nl_NL.po b/sale_order_lot_generator/i18n/nl_NL.po new file mode 100644 index 00000000000..983800c620c --- /dev/null +++ b/sale_order_lot_generator/i18n/nl_NL.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-06 13:17+0000\n" +"PO-Revision-Date: 2017-06-06 13:17+0000\n" +"Last-Translator: Peter Hageman , 2017\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Verkooporderregel" diff --git a/sale_order_lot_generator/i18n/pt.po b/sale_order_lot_generator/i18n/pt.po new file mode 100644 index 00000000000..fe270d6f92e --- /dev/null +++ b/sale_order_lot_generator/i18n/pt.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Ordem de Venda" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/pt_BR.po b/sale_order_lot_generator/i18n/pt_BR.po new file mode 100644 index 00000000000..6488aa7e26b --- /dev/null +++ b/sale_order_lot_generator/i18n/pt_BR.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Pedido de Venda" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linha Pedido de Venda" diff --git a/sale_order_lot_generator/i18n/ro.po b/sale_order_lot_generator/i18n/ro.po new file mode 100644 index 00000000000..b59a7954e2e --- /dev/null +++ b/sale_order_lot_generator/i18n/ro.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Comandă vânzare" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linie comandă vânzare" diff --git a/sale_order_lot_generator/i18n/sale_order_lot_generator.pot b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot new file mode 100644 index 00000000000..bb47b27a062 --- /dev/null +++ b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.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: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Forces to specifiy a Serial Number for all lines containing this product since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + diff --git a/sale_order_lot_generator/i18n/sk.po b/sale_order_lot_generator/i18n/sk.po new file mode 100644 index 00000000000..f302173dbc6 --- /dev/null +++ b/sale_order_lot_generator/i18n/sk.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Objednávka predaja" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/sl.po b/sale_order_lot_generator/i18n/sl.po new file mode 100644 index 00000000000..f5fb63e77f2 --- /dev/null +++ b/sale_order_lot_generator/i18n/sl.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+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" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Postavka prodajnega naloga" diff --git a/sale_order_lot_generator/i18n/tr.po b/sale_order_lot_generator/i18n/tr.po new file mode 100644 index 00000000000..9aa9336bda3 --- /dev/null +++ b/sale_order_lot_generator/i18n/tr.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Sipariş Emri" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Satış Siparişi Hattı" diff --git a/sale_order_lot_generator/i18n/tr_TR.po b/sale_order_lot_generator/i18n/tr_TR.po new file mode 100644 index 00000000000..8e5f75baf87 --- /dev/null +++ b/sale_order_lot_generator/i18n/tr_TR.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Satış emri" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sipariş emri satırı " diff --git a/sale_order_lot_generator/i18n/vi_VN.po b/sale_order_lot_generator/i18n/vi_VN.po new file mode 100644 index 00000000000..9261380ca71 --- /dev/null +++ b/sale_order_lot_generator/i18n/vi_VN.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/" +"teams/23907/vi_VN/)\n" +"Language: vi_VN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "Đơn hàng Bán" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/i18n/zh_CN.po b/sale_order_lot_generator/i18n/zh_CN.po new file mode 100644 index 00000000000..b453d7dd599 --- /dev/null +++ b/sale_order_lot_generator/i18n/zh_CN.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_lot_generator +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-13 01:19+0000\n" +"PO-Revision-Date: 2017-05-13 01:19+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot +msgid "Lot Generation Auto" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_product_template +msgid "Product Template" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order +msgid "Sales Order" +msgstr "销售订单" + +#. module: sale_order_lot_generator +#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_lot_generator/models/sale.py b/sale_order_lot_generator/models/sale.py index c95ccf8b581..f9d489d1a1a 100644 --- a/sale_order_lot_generator/models/sale.py +++ b/sale_order_lot_generator/models/sale.py @@ -8,30 +8,17 @@ class SaleOrder(models.Model): _inherit = 'sale.order' - @api.model - def _prepare_vals_lot_number(self, order_line, index_lot): - """Prepare values before creating a lot number""" - lot_number = "%s-%03d" % (order_line.order_id.name, index_lot) - return { - 'name': lot_number, - 'product_id': order_line.product_id.id, - } - @api.multi def generate_prodlot(self): - lot_m = self.env['stock.production.lot'] for rec in self: index_lot = 1 for line in rec.order_line: - line_vals = {} if (line.product_id.auto_generate_prodlot and not line.lot_id and line.product_id.tracking != 'none'): - vals = rec._prepare_vals_lot_number(line, index_lot) + lot_id = line.create_prodlot(index_lot) index_lot += 1 - lot_id = lot_m.create(vals) - line_vals['lot_id'] = lot_id.id - line.write(line_vals) + line.lot_id = lot_id @api.multi def action_confirm(self): @@ -53,3 +40,48 @@ def action_cancel(self): for line in sale.order_line: line.lot_id.unlink() return res + + +class SaleOrderLine(models.Model): + _inherit = 'sale.order.line' + + @api.model + def _prepare_vals_lot_number(self, index_lot): + """Prepare values before creating a lot number""" + lot_number = "%s-%03d" % (self.order_id.name, index_lot) + return { + 'name': lot_number, + 'product_id': self.product_id.id, + } + + @api.model + def create_prodlot(self, index_lot=1): + lot_m = self.env['stock.production.lot'] + vals = self._prepare_vals_lot_number(index_lot) + lot_id = lot_m.create(vals) + return lot_id + + @api.model + def create(self, values): + line = self.new(values) + # we create a lot befor crete a line because the super method + # must create a procurement and move + if (line.order_id.state == 'sale' and + line.product_id.auto_generate_prodlot and + not line.lot_id and + line.product_id.tracking != 'none'): + # wehen a new line is added to confirmed sale order + # get the max index_lot from the other lines + index_lot = 0 + lot_ids = line.order_id.order_line.filtered( + lambda l: l.lot_id).mapped('lot_id') + for lot in lot_ids: + lot_name = lot.name + index_str = lot_name.replace(line.order_id.name + '-', '') + last_index = int(index_str) if index_str.isdigit() else 0 + index_lot = max(index_lot, last_index) + index_lot += 1 + lot_id = line.create_prodlot(index_lot) + values['lot_id'] = lot_id.id + line = super(SaleOrderLine, self).create(values) + return line diff --git a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py index 48806777245..e82c03a07b7 100644 --- a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py +++ b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py @@ -10,9 +10,13 @@ class TestSaleOrderLotGenerator(test_common.SingleTransactionCase): def setUp(self): super(TestSaleOrderLotGenerator, self).setUp() self.product_5b = self.env.ref('product.product_product_5b') + self.product_6 = self.env.ref('product.product_product_6') self.product_5b.write({ 'tracking': 'lot', 'type': 'product', 'auto_generate_prodlot': True}) + self.product_6.write({ + 'tracking': 'lot', 'type': 'product', + 'auto_generate_prodlot': True}) def test_sale_order_lot_generator(self): # create order @@ -30,7 +34,20 @@ def test_sale_order_lot_generator(self): self.order1.action_confirm() lot_number = "%s-%03d" % (self.order1.name, 1) self.assertEqual(self.sol1.lot_id.name, lot_number) + # add second line after order confirm + self.sol2 = self.env['sale.order.line'].create({ + 'name': 'sol1', + 'order_id': self.order1.id, + 'product_id': self.product_6.id, + 'product_uom_qty': 1, + }) + lot_number = "%s-%03d" % (self.order1.name, 2) + self.assertEqual(self.sol2.lot_id.name, lot_number) picking = self.order1.picking_ids for move in picking.move_lines: if move.product_id.id == self.product_5b.id: - self.assertEqual(move.restrict_lot_id, self.sol1.lot_id) + self.assertEqual( + move.restrict_lot_id, self.sol1.lot_id) + if move.product_id.id == self.product_6.id: + self.assertEqual( + move.restrict_lot_id, self.sol2.lot_id) From 9935adb0881cf2cdcf12206b60d7d95261ce2376 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 3 Apr 2019 03:19:34 +0000 Subject: [PATCH 03/33] [ADD] icon.png --- .../static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sale_order_lot_generator/static/description/icon.png diff --git a/sale_order_lot_generator/static/description/icon.png b/sale_order_lot_generator/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 b46794bb19246e6a5ed719109c177c1ca4e7ae0d Mon Sep 17 00:00:00 2001 From: David Beal Date: Fri, 3 Jul 2020 11:10:45 +0200 Subject: [PATCH 04/33] IMP black format --- sale_order_lot_generator/__manifest__.py | 22 +++----- sale_order_lot_generator/models/product.py | 8 +-- sale_order_lot_generator/models/sale.py | 37 ++++++------ .../tests/test_sale_order_lot_generator.py | 56 +++++++++---------- 4 files changed, 62 insertions(+), 61 deletions(-) diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py index 0dad79e1549..2dc8a2f7f30 100644 --- a/sale_order_lot_generator/__manifest__.py +++ b/sale_order_lot_generator/__manifest__.py @@ -3,17 +3,13 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - 'name': 'sale_order_lot_generator', - 'version': '10.0.0.0.1', - 'author': 'Akretion', - 'website': 'http://www.akretion.com', - 'license': 'AGPL-3', - 'category': 'Sale', - 'depends': [ - 'sale_order_lot_selection', - ], - 'data': [ - 'views/product_view.xml', - ], - 'installable': True, + "name": "sale_order_lot_generator", + "version": "10.0.0.0.1", + "author": "Akretion", + "website": "http://www.akretion.com", + "license": "AGPL-3", + "category": "Sale", + "depends": ["sale_order_lot_selection"], + "data": ["views/product_view.xml"], + "installable": True, } diff --git a/sale_order_lot_generator/models/product.py b/sale_order_lot_generator/models/product.py index b7c8244f634..055b52f898a 100644 --- a/sale_order_lot_generator/models/product.py +++ b/sale_order_lot_generator/models/product.py @@ -6,11 +6,11 @@ class ProductTemplate(models.Model): - _inherit = 'product.template' + _inherit = "product.template" auto_generate_prodlot = fields.Boolean( - string='Lot Generation Auto', + string="Lot Generation Auto", help="Forces to specifiy a Serial Number for all " - "lines containing this product since the confirmation " - "of the Sale Order" + "lines containing this product since the confirmation " + "of the Sale Order", ) diff --git a/sale_order_lot_generator/models/sale.py b/sale_order_lot_generator/models/sale.py index f9d489d1a1a..d51f1476340 100644 --- a/sale_order_lot_generator/models/sale.py +++ b/sale_order_lot_generator/models/sale.py @@ -6,16 +6,18 @@ class SaleOrder(models.Model): - _inherit = 'sale.order' + _inherit = "sale.order" @api.multi def generate_prodlot(self): for rec in self: index_lot = 1 for line in rec.order_line: - if (line.product_id.auto_generate_prodlot and - not line.lot_id and - line.product_id.tracking != 'none'): + if ( + line.product_id.auto_generate_prodlot + and not line.lot_id + and line.product_id.tracking != "none" + ): lot_id = line.create_prodlot(index_lot) index_lot += 1 line.lot_id = lot_id @@ -43,20 +45,20 @@ def action_cancel(self): class SaleOrderLine(models.Model): - _inherit = 'sale.order.line' + _inherit = "sale.order.line" @api.model def _prepare_vals_lot_number(self, index_lot): """Prepare values before creating a lot number""" lot_number = "%s-%03d" % (self.order_id.name, index_lot) return { - 'name': lot_number, - 'product_id': self.product_id.id, + "name": lot_number, + "product_id": self.product_id.id, } @api.model def create_prodlot(self, index_lot=1): - lot_m = self.env['stock.production.lot'] + lot_m = self.env["stock.production.lot"] vals = self._prepare_vals_lot_number(index_lot) lot_id = lot_m.create(vals) return lot_id @@ -66,22 +68,25 @@ def create(self, values): line = self.new(values) # we create a lot befor crete a line because the super method # must create a procurement and move - if (line.order_id.state == 'sale' and - line.product_id.auto_generate_prodlot and - not line.lot_id and - line.product_id.tracking != 'none'): + if ( + line.order_id.state == "sale" + and line.product_id.auto_generate_prodlot + and not line.lot_id + and line.product_id.tracking != "none" + ): # wehen a new line is added to confirmed sale order # get the max index_lot from the other lines index_lot = 0 - lot_ids = line.order_id.order_line.filtered( - lambda l: l.lot_id).mapped('lot_id') + lot_ids = line.order_id.order_line.filtered(lambda l: l.lot_id).mapped( + "lot_id" + ) for lot in lot_ids: lot_name = lot.name - index_str = lot_name.replace(line.order_id.name + '-', '') + index_str = lot_name.replace(line.order_id.name + "-", "") last_index = int(index_str) if index_str.isdigit() else 0 index_lot = max(index_lot, last_index) index_lot += 1 lot_id = line.create_prodlot(index_lot) - values['lot_id'] = lot_id.id + values["lot_id"] = lot_id.id line = super(SaleOrderLine, self).create(values) return line diff --git a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py index e82c03a07b7..5a378a78a18 100644 --- a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py +++ b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py @@ -6,48 +6,48 @@ class TestSaleOrderLotGenerator(test_common.SingleTransactionCase): - def setUp(self): super(TestSaleOrderLotGenerator, self).setUp() - self.product_5b = self.env.ref('product.product_product_5b') - self.product_6 = self.env.ref('product.product_product_6') - self.product_5b.write({ - 'tracking': 'lot', 'type': 'product', - 'auto_generate_prodlot': True}) - self.product_6.write({ - 'tracking': 'lot', 'type': 'product', - 'auto_generate_prodlot': True}) + self.product_5b = self.env.ref("product.product_product_5b") + self.product_6 = self.env.ref("product.product_product_6") + self.product_5b.write( + {"tracking": "lot", "type": "product", "auto_generate_prodlot": True} + ) + self.product_6.write( + {"tracking": "lot", "type": "product", "auto_generate_prodlot": True} + ) def test_sale_order_lot_generator(self): # create order - self.order1 = self.env['sale.order'].create( + self.order1 = self.env["sale.order"].create( + {"partner_id": self.env.ref("base.res_partner_1").id,} + ) + self.sol1 = self.env["sale.order.line"].create( { - 'partner_id': self.env.ref('base.res_partner_1').id, - }) - self.sol1 = self.env['sale.order.line'].create({ - 'name': 'sol1', - 'order_id': self.order1.id, - 'product_id': self.product_5b.id, - 'product_uom_qty': 1, - }) + "name": "sol1", + "order_id": self.order1.id, + "product_id": self.product_5b.id, + "product_uom_qty": 1, + } + ) # confirm orders self.order1.action_confirm() lot_number = "%s-%03d" % (self.order1.name, 1) self.assertEqual(self.sol1.lot_id.name, lot_number) # add second line after order confirm - self.sol2 = self.env['sale.order.line'].create({ - 'name': 'sol1', - 'order_id': self.order1.id, - 'product_id': self.product_6.id, - 'product_uom_qty': 1, - }) + self.sol2 = self.env["sale.order.line"].create( + { + "name": "sol1", + "order_id": self.order1.id, + "product_id": self.product_6.id, + "product_uom_qty": 1, + } + ) lot_number = "%s-%03d" % (self.order1.name, 2) self.assertEqual(self.sol2.lot_id.name, lot_number) picking = self.order1.picking_ids for move in picking.move_lines: if move.product_id.id == self.product_5b.id: - self.assertEqual( - move.restrict_lot_id, self.sol1.lot_id) + self.assertEqual(move.restrict_lot_id, self.sol1.lot_id) if move.product_id.id == self.product_6.id: - self.assertEqual( - move.restrict_lot_id, self.sol2.lot_id) + self.assertEqual(move.restrict_lot_id, self.sol2.lot_id) From 8ab43e008120a71e2d855891be286cab5fe51fd3 Mon Sep 17 00:00:00 2001 From: David Beal Date: Wed, 19 Aug 2020 12:32:18 +0200 Subject: [PATCH 05/33] MIGR 12.0 sale_order_lot_generator --- sale_order_lot_generator/README.rst | 101 ++-- sale_order_lot_generator/__manifest__.py | 12 +- .../i18n/sale_order_lot_generator.pot | 18 +- sale_order_lot_generator/models/product.py | 3 +- sale_order_lot_generator/models/sale.py | 21 +- sale_order_lot_generator/readme/CONFIGURE.rst | 1 + .../readme/CONTRIBUTORS.rst | 6 + .../readme/DESCRIPTION.rst | 1 + sale_order_lot_generator/readme/USAGE.rst | 1 + .../static/description/index.html | 435 ++++++++++++++++++ sale_order_lot_generator/tests/__init__.py | 4 - .../tests/test_sale_order_lot_generator.py | 29 +- .../views/product_view.xml | 21 +- 13 files changed, 557 insertions(+), 96 deletions(-) create mode 100644 sale_order_lot_generator/readme/CONFIGURE.rst create mode 100644 sale_order_lot_generator/readme/CONTRIBUTORS.rst create mode 100644 sale_order_lot_generator/readme/DESCRIPTION.rst create mode 100644 sale_order_lot_generator/readme/USAGE.rst create mode 100644 sale_order_lot_generator/static/description/index.html diff --git a/sale_order_lot_generator/README.rst b/sale_order_lot_generator/README.rst index c41dc6e05c9..2b1e0b4dc16 100644 --- a/sale_order_lot_generator/README.rst +++ b/sale_order_lot_generator/README.rst @@ -1,71 +1,102 @@ -.. 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 - ======================== Sale Order Lot Generator ======================== -This module was written to generate automatically the lot number when you confirm a sale order. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -Installation -============ +.. |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%2Fsale--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator + :alt: OCA/sale-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_order_lot_generator + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/167/12.0 + :alt: Try me on Runbot -To install this module, you need to: +|badge1| |badge2| |badge3| |badge4| |badge5| -#. have sale_order_lot_selection in your module list +Generate automatically a lot number for each sale lines when you confirm a sale order. -Configuration -============= +**Table of contents** -To configure this module, you need to: +.. contents:: + :local: -#. Go to ... +Configuration +============= -.. figure:: path/to/local/image.png - :alt: alternative description - :width: 600 px +Go to product, inventory tab and check 'Auto Generate Lot' field. Usage ===== -#. Go to ... - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} +Create a sale order with a product with 'Auto Generate Lot' field checked. 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 smash it by providing 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. -Images ------- +Credits +======= -* Odoo Community Association: `Icon `_. +Authors +~~~~~~~ + +* Akretion Contributors ------------- +~~~~~~~~~~~~ + +Akretion: -* Valentin Chemiere +* Valentin Chemiere * Florian da Costa * Mourad EL HADJ MIMOUNE +* David BEAL -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. +.. |maintainer-florian-dacosta| image:: https://github.com/florian-dacosta.png?size=40px + :target: https://github.com/florian-dacosta + :alt: florian-dacosta +.. |maintainer-mourad-ehm| image:: https://github.com/mourad-ehm.png?size=40px + :target: https://github.com/mourad-ehm + :alt: mourad-ehm +.. |maintainer-bealdav| image:: https://github.com/bealdav.png?size=40px + :target: https://github.com/bealdav + :alt: bealdav + +Current `maintainers `__: + +|maintainer-florian-dacosta| |maintainer-mourad-ehm| |maintainer-bealdav| + +This module is part of the `OCA/sale-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py index 2dc8a2f7f30..784b4f927f4 100644 --- a/sale_order_lot_generator/__manifest__.py +++ b/sale_order_lot_generator/__manifest__.py @@ -1,15 +1,15 @@ -# coding: utf-8 -# @author Valentin CHEMIERE +# @author Valentin CHEMIERE # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - "name": "sale_order_lot_generator", - "version": "10.0.0.0.1", - "author": "Akretion", - "website": "http://www.akretion.com", + "name": "Sale Order Lot Generator", + "version": "12.0.1.0.0", + "author": "Akretion, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/sale-workflow", "license": "AGPL-3", "category": "Sale", "depends": ["sale_order_lot_selection"], + "maintainers": ["florian-dacosta", "mourad-ehm", "bealdav"], "data": ["views/product_view.xml"], "installable": True, } diff --git a/sale_order_lot_generator/i18n/sale_order_lot_generator.pot b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot index bb47b27a062..740517be8ba 100644 --- a/sale_order_lot_generator/i18n/sale_order_lot_generator.pot +++ b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,17 +14,15 @@ msgstr "" "Plural-Forms: \n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Forces to specifiy a Serial Number for all lines containing this product since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Forces to specifiy a Serial Number for all lines containing this product since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -34,7 +32,7 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +msgid "Sale Order" msgstr "" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/models/product.py b/sale_order_lot_generator/models/product.py index 055b52f898a..88942e45e5e 100644 --- a/sale_order_lot_generator/models/product.py +++ b/sale_order_lot_generator/models/product.py @@ -1,4 +1,3 @@ -# coding: utf-8 # @author Adrien CHAUSSENDE # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). @@ -9,7 +8,7 @@ class ProductTemplate(models.Model): _inherit = "product.template" auto_generate_prodlot = fields.Boolean( - string="Lot Generation Auto", + string="Auto Generate Lot", help="Forces to specifiy a Serial Number for all " "lines containing this product since the confirmation " "of the Sale Order", diff --git a/sale_order_lot_generator/models/sale.py b/sale_order_lot_generator/models/sale.py index d51f1476340..bab93d6dbaa 100644 --- a/sale_order_lot_generator/models/sale.py +++ b/sale_order_lot_generator/models/sale.py @@ -1,4 +1,3 @@ -# coding: utf-8 # @author Valentin CHEMIERE # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). @@ -8,7 +7,6 @@ class SaleOrder(models.Model): _inherit = "sale.order" - @api.multi def generate_prodlot(self): for rec in self: index_lot = 1 @@ -22,22 +20,20 @@ def generate_prodlot(self): index_lot += 1 line.lot_id = lot_id - @api.multi def action_confirm(self): self.ensure_one() self.generate_prodlot() - return super(SaleOrder, self).action_confirm() + return super().action_confirm() @api.model def _check_move_state(self, line): if not line.product_id.auto_generate_prodlot: - return super(SaleOrder, self)._check_move_state(line) + return super()._check_move_state(line) else: return True - @api.multi def action_cancel(self): - res = super(SaleOrder, self).action_cancel() + res = super().action_cancel() for sale in self: for line in sale.order_line: line.lot_id.unlink() @@ -54,19 +50,18 @@ def _prepare_vals_lot_number(self, index_lot): return { "name": lot_number, "product_id": self.product_id.id, + "product_qty": self.product_uom_qty, } @api.model def create_prodlot(self, index_lot=1): - lot_m = self.env["stock.production.lot"] vals = self._prepare_vals_lot_number(index_lot) - lot_id = lot_m.create(vals) - return lot_id + return self.env["stock.production.lot"].create(vals) @api.model def create(self, values): line = self.new(values) - # we create a lot befor crete a line because the super method + # we create a lot before create a line because the super method # must create a procurement and move if ( line.order_id.state == "sale" @@ -74,7 +69,7 @@ def create(self, values): and not line.lot_id and line.product_id.tracking != "none" ): - # wehen a new line is added to confirmed sale order + # when a new line is added to confirmed sale order # get the max index_lot from the other lines index_lot = 0 lot_ids = line.order_id.order_line.filtered(lambda l: l.lot_id).mapped( @@ -88,5 +83,5 @@ def create(self, values): index_lot += 1 lot_id = line.create_prodlot(index_lot) values["lot_id"] = lot_id.id - line = super(SaleOrderLine, self).create(values) + line = super().create(values) return line diff --git a/sale_order_lot_generator/readme/CONFIGURE.rst b/sale_order_lot_generator/readme/CONFIGURE.rst new file mode 100644 index 00000000000..b54cf4a8bec --- /dev/null +++ b/sale_order_lot_generator/readme/CONFIGURE.rst @@ -0,0 +1 @@ +Go to product, inventory tab and check 'Auto Generate Lot' field. diff --git a/sale_order_lot_generator/readme/CONTRIBUTORS.rst b/sale_order_lot_generator/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..7de6934fe4c --- /dev/null +++ b/sale_order_lot_generator/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +Akretion: + +* Valentin Chemiere +* Florian da Costa +* Mourad EL HADJ MIMOUNE +* David BEAL diff --git a/sale_order_lot_generator/readme/DESCRIPTION.rst b/sale_order_lot_generator/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..10d707bd355 --- /dev/null +++ b/sale_order_lot_generator/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Generate automatically a lot number for each sale lines when you confirm a sale order. diff --git a/sale_order_lot_generator/readme/USAGE.rst b/sale_order_lot_generator/readme/USAGE.rst new file mode 100644 index 00000000000..13c121afde3 --- /dev/null +++ b/sale_order_lot_generator/readme/USAGE.rst @@ -0,0 +1 @@ +Create a sale order with a product with 'Auto Generate Lot' field checked. diff --git a/sale_order_lot_generator/static/description/index.html b/sale_order_lot_generator/static/description/index.html new file mode 100644 index 00000000000..d3e4a577df1 --- /dev/null +++ b/sale_order_lot_generator/static/description/index.html @@ -0,0 +1,435 @@ + + + + + + +Sale Order Lot Generator + + + +
+

Sale Order Lot Generator

+ + +

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

+

Generate automatically a lot number for each sale lines when you confirm a sale order.

+

Table of contents

+ +
+

Configuration

+

Go to product, inventory tab and check ‘Auto Generate Lot’ field.

+
+
+

Usage

+

Create a sale order with a product with ‘Auto Generate Lot’ field checked.

+
+
+

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

+
    +
  • Akretion
  • +
+
+
+

Contributors

+

Akretion:

+ +
+
+

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.

+

Current maintainers:

+

florian-dacosta mourad-ehm bealdav

+

This module is part of the OCA/sale-workflow project on GitHub.

+

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

+
+
+
+ + diff --git a/sale_order_lot_generator/tests/__init__.py b/sale_order_lot_generator/tests/__init__.py index b20acce3a8d..1eca3741312 100644 --- a/sale_order_lot_generator/tests/__init__.py +++ b/sale_order_lot_generator/tests/__init__.py @@ -1,5 +1 @@ -# -*- coding: utf-8 -*- -# © 2017 Akretion -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - from . import test_sale_order_lot_generator diff --git a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py index 5a378a78a18..9e8a28237d5 100644 --- a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py +++ b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2017 Akretion, Mourad EL HADJ MIMOUNE # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). @@ -7,26 +6,27 @@ class TestSaleOrderLotGenerator(test_common.SingleTransactionCase): def setUp(self): - super(TestSaleOrderLotGenerator, self).setUp() - self.product_5b = self.env.ref("product.product_product_5b") - self.product_6 = self.env.ref("product.product_product_6") - self.product_5b.write( + super().setUp() + self.prd_flipover = self.env.ref("product.product_product_20") + self.prd_acoustic = self.env.ref("product.product_product_25") + self.prd_flipover.write( {"tracking": "lot", "type": "product", "auto_generate_prodlot": True} ) - self.product_6.write( + self.prd_acoustic.write( {"tracking": "lot", "type": "product", "auto_generate_prodlot": True} ) def test_sale_order_lot_generator(self): # create order self.order1 = self.env["sale.order"].create( - {"partner_id": self.env.ref("base.res_partner_1").id,} + # Lumber partner + {"partner_id": self.env.ref("base.res_partner_18").id} ) self.sol1 = self.env["sale.order.line"].create( { "name": "sol1", "order_id": self.order1.id, - "product_id": self.product_5b.id, + "product_id": self.prd_flipover.id, "product_uom_qty": 1, } ) @@ -39,15 +39,14 @@ def test_sale_order_lot_generator(self): { "name": "sol1", "order_id": self.order1.id, - "product_id": self.product_6.id, + "product_id": self.prd_acoustic.id, "product_uom_qty": 1, } ) lot_number = "%s-%03d" % (self.order1.name, 2) self.assertEqual(self.sol2.lot_id.name, lot_number) - picking = self.order1.picking_ids - for move in picking.move_lines: - if move.product_id.id == self.product_5b.id: - self.assertEqual(move.restrict_lot_id, self.sol1.lot_id) - if move.product_id.id == self.product_6.id: - self.assertEqual(move.restrict_lot_id, self.sol2.lot_id) + for line in self.order1.picking_ids.move_line_ids: + if line.product_id.id == self.prd_flipover.id: + self.assertEqual(line.lot_id, self.sol1.lot_id) + if line.product_id.id == self.prd_acoustic.id: + self.assertEqual(line.restrict_lot_id, self.sol2.lot_id) diff --git a/sale_order_lot_generator/views/product_view.xml b/sale_order_lot_generator/views/product_view.xml index 882915dd55f..3871e76f61c 100644 --- a/sale_order_lot_generator/views/product_view.xml +++ b/sale_order_lot_generator/views/product_view.xml @@ -1,15 +1,14 @@ - - - product.template - - -
- -
-
-
-
+ + product.template + + +
+ +
+
+
+
From 70be46af3a078849bfd8238a6677645db4c1973a Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 20 Aug 2020 09:43:25 +0000 Subject: [PATCH 06/33] sale_order_lot_generator 12.0.1.0.1 --- sale_order_lot_generator/__manifest__.py | 2 +- sale_order_lot_generator/i18n/ca.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/de.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/el_GR.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/es.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/es_ES.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/es_VE.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/fi.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/fr.po | 22 +++++++++++----------- sale_order_lot_generator/i18n/hr.po | 22 +++++++++++----------- sale_order_lot_generator/i18n/hr_HR.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/hu.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/it.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/nl.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/nl_NL.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/pt.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/pt_BR.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/ro.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/sk.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/sl.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/tr.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/tr_TR.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/vi_VN.po | 21 ++++++++++----------- sale_order_lot_generator/i18n/zh_CN.po | 21 ++++++++++----------- 24 files changed, 233 insertions(+), 254 deletions(-) diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py index 784b4f927f4..5f3cf9a4d16 100644 --- a/sale_order_lot_generator/__manifest__.py +++ b/sale_order_lot_generator/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Sale Order Lot Generator", - "version": "12.0.1.0.0", + "version": "12.0.1.0.1", "author": "Akretion, Odoo Community Association (OCA)", "website": "https://github.com/OCA/sale-workflow", "license": "AGPL-3", diff --git a/sale_order_lot_generator/i18n/ca.po b/sale_order_lot_generator/i18n/ca.po index a1947538398..88fcff050a2 100644 --- a/sale_order_lot_generator/i18n/ca.po +++ b/sale_order_lot_generator/i18n/ca.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Comandes de venda" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/de.po b/sale_order_lot_generator/i18n/de.po index c531d565070..f09b51c781d 100644 --- a/sale_order_lot_generator/i18n/de.po +++ b/sale_order_lot_generator/i18n/de.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Verkaufsauftrag" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/el_GR.po b/sale_order_lot_generator/i18n/el_GR.po index 1c7634ed0c1..df2e2c5b306 100644 --- a/sale_order_lot_generator/i18n/el_GR.po +++ b/sale_order_lot_generator/i18n/el_GR.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Εντολή Πώλησης" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/es.po b/sale_order_lot_generator/i18n/es.po index c85db57a443..4907eb339c0 100644 --- a/sale_order_lot_generator/i18n/es.po +++ b/sale_order_lot_generator/i18n/es.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Pedido de venta" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/es_ES.po b/sale_order_lot_generator/i18n/es_ES.po index 430d50dbf1d..ee84968b410 100644 --- a/sale_order_lot_generator/i18n/es_ES.po +++ b/sale_order_lot_generator/i18n/es_ES.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Pedido de venta" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/es_VE.po b/sale_order_lot_generator/i18n/es_VE.po index 52731fc2cd9..3f8c54dfe6b 100644 --- a/sale_order_lot_generator/i18n/es_VE.po +++ b/sale_order_lot_generator/i18n/es_VE.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Pedidos de venta" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/fi.po b/sale_order_lot_generator/i18n/fi.po index 6a0943e086f..92c817d10b5 100644 --- a/sale_order_lot_generator/i18n/fi.po +++ b/sale_order_lot_generator/i18n/fi.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Myyntitilaus" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/fr.po b/sale_order_lot_generator/i18n/fr.po index fb71b40df8b..ef8e8de4c46 100644 --- a/sale_order_lot_generator/i18n/fr.po +++ b/sale_order_lot_generator/i18n/fr.po @@ -21,21 +21,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +#, fuzzy +msgid "Auto Generate Lot" +msgstr "Génération automatique des Lots" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot msgid "" "Forces to specifiy a Serial Number for all lines containing this product " "since the confirmation of the Sale Order" msgstr "" -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" -msgstr "Génération automatique des Lots" - #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -43,7 +42,8 @@ msgstr "Modèle de produit" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Bon de commande" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/hr.po b/sale_order_lot_generator/i18n/hr.po index 4917630b52a..c4b60665582 100644 --- a/sale_order_lot_generator/i18n/hr.po +++ b/sale_order_lot_generator/i18n/hr.po @@ -21,9 +21,15 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +#, fuzzy +msgid "Auto Generate Lot" +msgstr "Automatsko kreiranje lot-a" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot msgid "" "Forces to specifiy a Serial Number for all lines containing this product " "since the confirmation of the Sale Order" @@ -31,13 +37,6 @@ msgstr "" "Forsira navođenje serijskog broja za sve stavke koje sadrže ovaj proizvod od " "potvrđivanja prodajnog naloga." -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" -msgstr "Automatsko kreiranje lot-a" - #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -45,7 +44,8 @@ msgstr "Predložak proizvoda" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Prodajni nalog" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/hr_HR.po b/sale_order_lot_generator/i18n/hr_HR.po index 8993c03768c..833a27024c4 100644 --- a/sale_order_lot_generator/i18n/hr_HR.po +++ b/sale_order_lot_generator/i18n/hr_HR.po @@ -21,19 +21,17 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -43,7 +41,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Prodjani nalog" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/hu.po b/sale_order_lot_generator/i18n/hu.po index 0a17b5ce690..f491bfb4ee4 100644 --- a/sale_order_lot_generator/i18n/hu.po +++ b/sale_order_lot_generator/i18n/hu.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Vevői megrendelés" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/it.po b/sale_order_lot_generator/i18n/it.po index a109fabba97..93c5069686f 100644 --- a/sale_order_lot_generator/i18n/it.po +++ b/sale_order_lot_generator/i18n/it.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Ordini vendita" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/nl.po b/sale_order_lot_generator/i18n/nl.po index dccbb349b69..e2e2e702997 100644 --- a/sale_order_lot_generator/i18n/nl.po +++ b/sale_order_lot_generator/i18n/nl.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Verkooporder" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/nl_NL.po b/sale_order_lot_generator/i18n/nl_NL.po index 983800c620c..bcd82f80398 100644 --- a/sale_order_lot_generator/i18n/nl_NL.po +++ b/sale_order_lot_generator/i18n/nl_NL.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Verkooporder" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/pt.po b/sale_order_lot_generator/i18n/pt.po index fe270d6f92e..8898049a544 100644 --- a/sale_order_lot_generator/i18n/pt.po +++ b/sale_order_lot_generator/i18n/pt.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Ordem de Venda" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/pt_BR.po b/sale_order_lot_generator/i18n/pt_BR.po index 6488aa7e26b..e8fd3e35b3c 100644 --- a/sale_order_lot_generator/i18n/pt_BR.po +++ b/sale_order_lot_generator/i18n/pt_BR.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Pedido de Venda" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/ro.po b/sale_order_lot_generator/i18n/ro.po index b59a7954e2e..e006b6e7fd9 100644 --- a/sale_order_lot_generator/i18n/ro.po +++ b/sale_order_lot_generator/i18n/ro.po @@ -20,19 +20,17 @@ msgstr "" "2:1));\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Comandă vânzare" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/sk.po b/sale_order_lot_generator/i18n/sk.po index f302173dbc6..99e3981d5b9 100644 --- a/sale_order_lot_generator/i18n/sk.po +++ b/sale_order_lot_generator/i18n/sk.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Objednávka predaja" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/sl.po b/sale_order_lot_generator/i18n/sl.po index f5fb63e77f2..5fd3f5d3590 100644 --- a/sale_order_lot_generator/i18n/sl.po +++ b/sale_order_lot_generator/i18n/sl.po @@ -20,19 +20,17 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Prodajni nalog" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/tr.po b/sale_order_lot_generator/i18n/tr.po index 9aa9336bda3..2bf40bbe10b 100644 --- a/sale_order_lot_generator/i18n/tr.po +++ b/sale_order_lot_generator/i18n/tr.po @@ -19,19 +19,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -41,7 +39,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Sipariş Emri" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/tr_TR.po b/sale_order_lot_generator/i18n/tr_TR.po index 8e5f75baf87..7d10b8b3728 100644 --- a/sale_order_lot_generator/i18n/tr_TR.po +++ b/sale_order_lot_generator/i18n/tr_TR.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Satış emri" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/vi_VN.po b/sale_order_lot_generator/i18n/vi_VN.po index 9261380ca71..6cced5bdced 100644 --- a/sale_order_lot_generator/i18n/vi_VN.po +++ b/sale_order_lot_generator/i18n/vi_VN.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "Đơn hàng Bán" #. module: sale_order_lot_generator diff --git a/sale_order_lot_generator/i18n/zh_CN.po b/sale_order_lot_generator/i18n/zh_CN.po index b453d7dd599..7fead0f418a 100644 --- a/sale_order_lot_generator/i18n/zh_CN.po +++ b/sale_order_lot_generator/i18n/zh_CN.po @@ -20,19 +20,17 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: sale_order_lot_generator -#: model:ir.model.fields,help:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "" -"Forces to specifiy a Serial Number for all lines containing this product " -"since the confirmation of the Sale Order" +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "Auto Generate Lot" msgstr "" #. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_delivery_carrier_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product_auto_generate_prodlot -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template_auto_generate_prodlot -msgid "Lot Generation Auto" +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot +#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" msgstr "" #. module: sale_order_lot_generator @@ -42,7 +40,8 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sales Order" +#, fuzzy +msgid "Sale Order" msgstr "销售订单" #. module: sale_order_lot_generator From 3215dd0dbf0c95116958abf1ce9611a7772c28cf Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Thu, 3 Dec 2020 14:09:29 +0100 Subject: [PATCH 07/33] [IMP] sale_order_lot_generator: black, isort, prettier --- sale_order_lot_generator/models/__init__.py | 2 +- sale_order_lot_generator/views/product_view.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sale_order_lot_generator/models/__init__.py b/sale_order_lot_generator/models/__init__.py index 3da3adee01c..26d81e93df4 100644 --- a/sale_order_lot_generator/models/__init__.py +++ b/sale_order_lot_generator/models/__init__.py @@ -1,2 +1,2 @@ from . import product -from . import sale \ No newline at end of file +from . import sale diff --git a/sale_order_lot_generator/views/product_view.xml b/sale_order_lot_generator/views/product_view.xml index 3871e76f61c..1b7b01c6711 100644 --- a/sale_order_lot_generator/views/product_view.xml +++ b/sale_order_lot_generator/views/product_view.xml @@ -1,12 +1,12 @@ - + product.template - +
- +
From ef0079da90ea56b907aebacf2874769e266eeda7 Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Thu, 3 Dec 2020 14:09:29 +0100 Subject: [PATCH 08/33] [MIG] sale_order_lot_generator: Migration to 14.0 --- sale_order_lot_generator/__manifest__.py | 5 +-- sale_order_lot_generator/models/__init__.py | 5 ++- .../{product.py => product_template.py} | 1 - sale_order_lot_generator/models/sale_order.py | 32 ++++++++++++++ .../models/{sale.py => sale_order_line.py} | 43 ++----------------- ...{product_view.xml => product_template.xml} | 9 ++-- 6 files changed, 47 insertions(+), 48 deletions(-) rename sale_order_lot_generator/models/{product.py => product_template.py} (86%) create mode 100644 sale_order_lot_generator/models/sale_order.py rename sale_order_lot_generator/models/{sale.py => sale_order_line.py} (62%) rename sale_order_lot_generator/views/{product_view.xml => product_template.xml} (57%) diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py index 5f3cf9a4d16..dd2f6e94d68 100644 --- a/sale_order_lot_generator/__manifest__.py +++ b/sale_order_lot_generator/__manifest__.py @@ -1,15 +1,14 @@ -# @author Valentin CHEMIERE # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Sale Order Lot Generator", - "version": "12.0.1.0.1", + "version": "14.0.1.0.0", "author": "Akretion, Odoo Community Association (OCA)", "website": "https://github.com/OCA/sale-workflow", "license": "AGPL-3", "category": "Sale", "depends": ["sale_order_lot_selection"], "maintainers": ["florian-dacosta", "mourad-ehm", "bealdav"], - "data": ["views/product_view.xml"], + "data": ["views/product_template.xml"], "installable": True, } diff --git a/sale_order_lot_generator/models/__init__.py b/sale_order_lot_generator/models/__init__.py index 26d81e93df4..53fa79af356 100644 --- a/sale_order_lot_generator/models/__init__.py +++ b/sale_order_lot_generator/models/__init__.py @@ -1,2 +1,3 @@ -from . import product -from . import sale +from . import product_template +from . import sale_order +from . import sale_order_line diff --git a/sale_order_lot_generator/models/product.py b/sale_order_lot_generator/models/product_template.py similarity index 86% rename from sale_order_lot_generator/models/product.py rename to sale_order_lot_generator/models/product_template.py index 88942e45e5e..405e52cf26c 100644 --- a/sale_order_lot_generator/models/product.py +++ b/sale_order_lot_generator/models/product_template.py @@ -1,4 +1,3 @@ -# @author Adrien CHAUSSENDE # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models diff --git a/sale_order_lot_generator/models/sale_order.py b/sale_order_lot_generator/models/sale_order.py new file mode 100644 index 00000000000..9676e12150f --- /dev/null +++ b/sale_order_lot_generator/models/sale_order.py @@ -0,0 +1,32 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import models + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + def generate_prodlot(self): + for rec in self: + index_lot = 1 + for line in rec.order_line: + if ( + line.product_id.auto_generate_prodlot + and not line.lot_id + and line.product_id.tracking != "none" + ): + lot_id = line.create_prodlot(index_lot) + index_lot += 1 + line.lot_id = lot_id + + def action_confirm(self): + self.ensure_one() + self.generate_prodlot() + return super().action_confirm() + + def action_cancel(self): + res = super().action_cancel() + for sale in self: + for line in sale.order_line: + line.lot_id.unlink() + return res diff --git a/sale_order_lot_generator/models/sale.py b/sale_order_lot_generator/models/sale_order_line.py similarity index 62% rename from sale_order_lot_generator/models/sale.py rename to sale_order_lot_generator/models/sale_order_line.py index bab93d6dbaa..a5da1274165 100644 --- a/sale_order_lot_generator/models/sale.py +++ b/sale_order_lot_generator/models/sale_order_line.py @@ -4,57 +4,22 @@ from odoo import api, models -class SaleOrder(models.Model): - _inherit = "sale.order" - - def generate_prodlot(self): - for rec in self: - index_lot = 1 - for line in rec.order_line: - if ( - line.product_id.auto_generate_prodlot - and not line.lot_id - and line.product_id.tracking != "none" - ): - lot_id = line.create_prodlot(index_lot) - index_lot += 1 - line.lot_id = lot_id - - def action_confirm(self): - self.ensure_one() - self.generate_prodlot() - return super().action_confirm() - - @api.model - def _check_move_state(self, line): - if not line.product_id.auto_generate_prodlot: - return super()._check_move_state(line) - else: - return True - - def action_cancel(self): - res = super().action_cancel() - for sale in self: - for line in sale.order_line: - line.lot_id.unlink() - return res - - class SaleOrderLine(models.Model): _inherit = "sale.order.line" - @api.model def _prepare_vals_lot_number(self, index_lot): - """Prepare values before creating a lot number""" + # Prepare values before creating a lot number + self.ensure_one() lot_number = "%s-%03d" % (self.order_id.name, index_lot) return { "name": lot_number, "product_id": self.product_id.id, "product_qty": self.product_uom_qty, + "company_id": self.order_id.company_id.id, } - @api.model def create_prodlot(self, index_lot=1): + self.ensure_one() vals = self._prepare_vals_lot_number(index_lot) return self.env["stock.production.lot"].create(vals) diff --git a/sale_order_lot_generator/views/product_view.xml b/sale_order_lot_generator/views/product_template.xml similarity index 57% rename from sale_order_lot_generator/views/product_view.xml rename to sale_order_lot_generator/views/product_template.xml index 1b7b01c6711..fce206c3990 100644 --- a/sale_order_lot_generator/views/product_view.xml +++ b/sale_order_lot_generator/views/product_template.xml @@ -5,9 +5,12 @@ product.template -
- -
+ + + From 9a5a4a3bdfaf77ed00f4f6bdd2eee382ed067b2b Mon Sep 17 00:00:00 2001 From: Pierrick Brun Date: Wed, 13 Jan 2021 11:36:43 +0100 Subject: [PATCH 09/33] [FIX] allow to confirm several SOs at once --- sale_order_lot_generator/models/sale_order.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sale_order_lot_generator/models/sale_order.py b/sale_order_lot_generator/models/sale_order.py index 9676e12150f..7696379dfde 100644 --- a/sale_order_lot_generator/models/sale_order.py +++ b/sale_order_lot_generator/models/sale_order.py @@ -20,7 +20,6 @@ def generate_prodlot(self): line.lot_id = lot_id def action_confirm(self): - self.ensure_one() self.generate_prodlot() return super().action_confirm() From cc8bbdb37689af27fc0a62e879697eaa6d9a06a7 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Mon, 25 Jan 2021 20:18:03 +0000 Subject: [PATCH 10/33] [UPD] Update sale_order_lot_generator.pot --- .../i18n/sale_order_lot_generator.pot | 34 +++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/sale_order_lot_generator/i18n/sale_order_lot_generator.pot b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot index 740517be8ba..a7d4b2ace18 100644 --- a/sale_order_lot_generator/i18n/sale_order_lot_generator.pot +++ b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * sale_order_lot_generator +# * sale_order_lot_generator # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,10 +19,33 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot -msgid "Forces to specifiy a Serial Number for all lines containing this product since the confirmation of the Sale Order" +msgid "" +"Forces to specifiy a Serial Number for all lines containing this product " +"since the confirmation of the Sale Order" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" msgstr "" #. module: sale_order_lot_generator @@ -32,11 +55,10 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -msgid "Sale Order" +msgid "Sales Order" msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" - From 036087351b876a191741a74b827b6501b1b19ce9 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 25 Jan 2021 20:22:33 +0000 Subject: [PATCH 11/33] [UPD] README.rst --- sale_order_lot_generator/README.rst | 10 +++++----- sale_order_lot_generator/static/description/index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sale_order_lot_generator/README.rst b/sale_order_lot_generator/README.rst index 2b1e0b4dc16..78aed2d5d49 100644 --- a/sale_order_lot_generator/README.rst +++ b/sale_order_lot_generator/README.rst @@ -14,13 +14,13 @@ Sale Order Lot Generator :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/sale-workflow/tree/12.0/sale_order_lot_generator + :target: https://github.com/OCA/sale-workflow/tree/14.0/sale_order_lot_generator :alt: OCA/sale-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_order_lot_generator + :target: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/167/12.0 + :target: https://runbot.odoo-community.org/runbot/167/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -48,7 +48,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -97,6 +97,6 @@ Current `maintainers `__: |maintainer-florian-dacosta| |maintainer-mourad-ehm| |maintainer-bealdav| -This module is part of the `OCA/sale-workflow `_ project on GitHub. +This module is part of the `OCA/sale-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_lot_generator/static/description/index.html b/sale_order_lot_generator/static/description/index.html index d3e4a577df1..83549380355 100644 --- a/sale_order_lot_generator/static/description/index.html +++ b/sale_order_lot_generator/static/description/index.html @@ -367,7 +367,7 @@

Sale Order Lot Generator

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

Generate automatically a lot number for each sale lines when you confirm a sale order.

Table of contents

@@ -396,7 +396,7 @@

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.

+feedback.

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

@@ -426,7 +426,7 @@

Maintainers

promote its widespread use.

Current maintainers:

florian-dacosta mourad-ehm bealdav

-

This module is part of the OCA/sale-workflow project on GitHub.

+

This module is part of the OCA/sale-workflow project on GitHub.

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

From 366089c87964785b6efd5a75628da713edaf4126 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 26 Jan 2021 00:06:58 +0000 Subject: [PATCH 12/33] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-14.0/sale-workflow-14.0-sale_order_lot_generator Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator/ --- sale_order_lot_generator/i18n/ca.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/de.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/el_GR.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/es.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/es_ES.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/es_VE.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/fi.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/fr.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/hr.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/hr_HR.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/hu.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/it.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/nl.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/nl_NL.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/pt.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/pt_BR.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/ro.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/sk.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/sl.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/tr.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/tr_TR.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/vi_VN.po | 30 +++++++++++++++++++++++--- sale_order_lot_generator/i18n/zh_CN.po | 30 +++++++++++++++++++++++--- 23 files changed, 621 insertions(+), 69 deletions(-) diff --git a/sale_order_lot_generator/i18n/ca.po b/sale_order_lot_generator/i18n/ca.po index 88fcff050a2..f58872696a5 100644 --- a/sale_order_lot_generator/i18n/ca.po +++ b/sale_order_lot_generator/i18n/ca.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Comandes de venda" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Línia de comanda de vendes" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Comandes de venda" diff --git a/sale_order_lot_generator/i18n/de.po b/sale_order_lot_generator/i18n/de.po index f09b51c781d..0f51f721830 100644 --- a/sale_order_lot_generator/i18n/de.po +++ b/sale_order_lot_generator/i18n/de.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Verkaufsauftrag" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Auftragsposition" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Verkaufsauftrag" diff --git a/sale_order_lot_generator/i18n/el_GR.po b/sale_order_lot_generator/i18n/el_GR.po index df2e2c5b306..2e34d1822ed 100644 --- a/sale_order_lot_generator/i18n/el_GR.po +++ b/sale_order_lot_generator/i18n/el_GR.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Εντολή Πώλησης" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Εντολή Πώλησης" diff --git a/sale_order_lot_generator/i18n/es.po b/sale_order_lot_generator/i18n/es.po index 4907eb339c0..927cd0f7b5c 100644 --- a/sale_order_lot_generator/i18n/es.po +++ b/sale_order_lot_generator/i18n/es.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Pedido de venta" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Línea de pedido de venta" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Pedido de venta" diff --git a/sale_order_lot_generator/i18n/es_ES.po b/sale_order_lot_generator/i18n/es_ES.po index ee84968b410..19c7fd602b7 100644 --- a/sale_order_lot_generator/i18n/es_ES.po +++ b/sale_order_lot_generator/i18n/es_ES.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Pedido de venta" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Pedido de venta" diff --git a/sale_order_lot_generator/i18n/es_VE.po b/sale_order_lot_generator/i18n/es_VE.po index 3f8c54dfe6b..7565cb2798b 100644 --- a/sale_order_lot_generator/i18n/es_VE.po +++ b/sale_order_lot_generator/i18n/es_VE.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Pedidos de venta" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Línea de pedido de venta" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Pedidos de venta" diff --git a/sale_order_lot_generator/i18n/fi.po b/sale_order_lot_generator/i18n/fi.po index 92c817d10b5..ad08acc39f4 100644 --- a/sale_order_lot_generator/i18n/fi.po +++ b/sale_order_lot_generator/i18n/fi.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Myyntitilaus" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Myyntitilaus" diff --git a/sale_order_lot_generator/i18n/fr.po b/sale_order_lot_generator/i18n/fr.po index ef8e8de4c46..8f1e3eb2e32 100644 --- a/sale_order_lot_generator/i18n/fr.po +++ b/sale_order_lot_generator/i18n/fr.po @@ -27,6 +27,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "Génération automatique des Lots" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -35,6 +42,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -42,11 +63,14 @@ msgstr "Modèle de produit" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Bon de commande" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Sales Order Line" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Bon de commande" diff --git a/sale_order_lot_generator/i18n/hr.po b/sale_order_lot_generator/i18n/hr.po index c4b60665582..2e454cff859 100644 --- a/sale_order_lot_generator/i18n/hr.po +++ b/sale_order_lot_generator/i18n/hr.po @@ -27,6 +27,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "Automatsko kreiranje lot-a" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -37,6 +44,20 @@ msgstr "" "Forsira navođenje serijskog broja za sve stavke koje sadrže ovaj proizvod od " "potvrđivanja prodajnog naloga." +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -44,11 +65,14 @@ msgstr "Predložak proizvoda" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Prodajni nalog" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Stavka ponude" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Prodajni nalog" diff --git a/sale_order_lot_generator/i18n/hr_HR.po b/sale_order_lot_generator/i18n/hr_HR.po index 833a27024c4..038514a312b 100644 --- a/sale_order_lot_generator/i18n/hr_HR.po +++ b/sale_order_lot_generator/i18n/hr_HR.po @@ -26,6 +26,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -34,6 +41,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -41,11 +62,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Prodjani nalog" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Prodjani nalog" diff --git a/sale_order_lot_generator/i18n/hu.po b/sale_order_lot_generator/i18n/hu.po index f491bfb4ee4..a8101033472 100644 --- a/sale_order_lot_generator/i18n/hu.po +++ b/sale_order_lot_generator/i18n/hu.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Vevői megrendelés" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Vevői megrendelés" diff --git a/sale_order_lot_generator/i18n/it.po b/sale_order_lot_generator/i18n/it.po index 93c5069686f..d6475ded9db 100644 --- a/sale_order_lot_generator/i18n/it.po +++ b/sale_order_lot_generator/i18n/it.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Ordini vendita" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Linea d'ordine di vendita" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Ordini vendita" diff --git a/sale_order_lot_generator/i18n/nl.po b/sale_order_lot_generator/i18n/nl.po index e2e2e702997..bf82ddc8440 100644 --- a/sale_order_lot_generator/i18n/nl.po +++ b/sale_order_lot_generator/i18n/nl.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Verkooporder" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Verkooporder" diff --git a/sale_order_lot_generator/i18n/nl_NL.po b/sale_order_lot_generator/i18n/nl_NL.po index bcd82f80398..e099cce3a41 100644 --- a/sale_order_lot_generator/i18n/nl_NL.po +++ b/sale_order_lot_generator/i18n/nl_NL.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Verkooporder" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Verkooporderregel" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Verkooporder" diff --git a/sale_order_lot_generator/i18n/pt.po b/sale_order_lot_generator/i18n/pt.po index 8898049a544..04e36a29fe6 100644 --- a/sale_order_lot_generator/i18n/pt.po +++ b/sale_order_lot_generator/i18n/pt.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Ordem de Venda" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Ordem de Venda" diff --git a/sale_order_lot_generator/i18n/pt_BR.po b/sale_order_lot_generator/i18n/pt_BR.po index e8fd3e35b3c..bedf16752b8 100644 --- a/sale_order_lot_generator/i18n/pt_BR.po +++ b/sale_order_lot_generator/i18n/pt_BR.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Pedido de Venda" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Linha Pedido de Venda" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Pedido de Venda" diff --git a/sale_order_lot_generator/i18n/ro.po b/sale_order_lot_generator/i18n/ro.po index e006b6e7fd9..f9e21d8467d 100644 --- a/sale_order_lot_generator/i18n/ro.po +++ b/sale_order_lot_generator/i18n/ro.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Comandă vânzare" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Linie comandă vânzare" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Comandă vânzare" diff --git a/sale_order_lot_generator/i18n/sk.po b/sale_order_lot_generator/i18n/sk.po index 99e3981d5b9..e87225a80dc 100644 --- a/sale_order_lot_generator/i18n/sk.po +++ b/sale_order_lot_generator/i18n/sk.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Objednávka predaja" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Objednávka predaja" diff --git a/sale_order_lot_generator/i18n/sl.po b/sale_order_lot_generator/i18n/sl.po index 5fd3f5d3590..4a8efd853e2 100644 --- a/sale_order_lot_generator/i18n/sl.po +++ b/sale_order_lot_generator/i18n/sl.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Prodajni nalog" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Postavka prodajnega naloga" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Prodajni nalog" diff --git a/sale_order_lot_generator/i18n/tr.po b/sale_order_lot_generator/i18n/tr.po index 2bf40bbe10b..3bf49fe6a49 100644 --- a/sale_order_lot_generator/i18n/tr.po +++ b/sale_order_lot_generator/i18n/tr.po @@ -24,6 +24,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -32,6 +39,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -39,11 +60,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Sipariş Emri" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Satış Siparişi Hattı" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Sipariş Emri" diff --git a/sale_order_lot_generator/i18n/tr_TR.po b/sale_order_lot_generator/i18n/tr_TR.po index 7d10b8b3728..34b2c6a7fe6 100644 --- a/sale_order_lot_generator/i18n/tr_TR.po +++ b/sale_order_lot_generator/i18n/tr_TR.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Satış emri" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "Sipariş emri satırı " + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Satış emri" diff --git a/sale_order_lot_generator/i18n/vi_VN.po b/sale_order_lot_generator/i18n/vi_VN.po index 6cced5bdced..2303b32d129 100644 --- a/sale_order_lot_generator/i18n/vi_VN.po +++ b/sale_order_lot_generator/i18n/vi_VN.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "Đơn hàng Bán" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "Đơn hàng Bán" diff --git a/sale_order_lot_generator/i18n/zh_CN.po b/sale_order_lot_generator/i18n/zh_CN.po index 7fead0f418a..ff43dac1699 100644 --- a/sale_order_lot_generator/i18n/zh_CN.po +++ b/sale_order_lot_generator/i18n/zh_CN.po @@ -25,6 +25,13 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -33,6 +40,20 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_lot_generator +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" @@ -40,11 +61,14 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order -#, fuzzy -msgid "Sale Order" -msgstr "销售订单" +msgid "Sales Order" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#, fuzzy +#~ msgid "Sale Order" +#~ msgstr "销售订单" From 694919b8b0e10de1f5284463977d6c3f5d9bc89a Mon Sep 17 00:00:00 2001 From: Daniel Martinez Vila Date: Tue, 23 Feb 2021 15:47:32 +0000 Subject: [PATCH 13/33] Translated using Weblate (Catalan) Currently translated at 100.0% (8 of 8 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_order_lot_generator Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator/ca/ --- sale_order_lot_generator/i18n/ca.po | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/sale_order_lot_generator/i18n/ca.po b/sale_order_lot_generator/i18n/ca.po index f58872696a5..4c87f0e3dc5 100644 --- a/sale_order_lot_generator/i18n/ca.po +++ b/sale_order_lot_generator/i18n/ca.po @@ -9,27 +9,28 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-13 01:19+0000\n" -"PO-Revision-Date: 2017-05-13 01:19+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2021-02-23 17:45+0000\n" +"Last-Translator: Daniel Martinez Vila \n" "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot msgid "Auto Generate Lot" -msgstr "" +msgstr "Generació automàtica de lot" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name msgid "Display Name" -msgstr "" +msgstr "Nom Visible" #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot @@ -38,30 +39,32 @@ msgid "" "Forces to specifiy a Serial Number for all lines containing this product " "since the confirmation of the Sale Order" msgstr "" +"Obliga a especificar un número de sèrie per a totes les línies que contenen " +"aquest producte des de la confirmació de la comanda de venda" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id msgid "ID" -msgstr "" +msgstr "ID" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update msgid "Last Modified on" -msgstr "" +msgstr "Darrera modificació el" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" -msgstr "" +msgstr "Plantilla de producte" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order msgid "Sales Order" -msgstr "" +msgstr "Comanda de venda" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line From 76a5d31eee5b6ceb2a3e2216edd2fda43169d859 Mon Sep 17 00:00:00 2001 From: Daniel Martinez Vila Date: Tue, 23 Feb 2021 15:48:40 +0000 Subject: [PATCH 14/33] Translated using Weblate (Spanish) Currently translated at 100.0% (8 of 8 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_order_lot_generator Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator/es/ --- sale_order_lot_generator/i18n/es.po | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/sale_order_lot_generator/i18n/es.po b/sale_order_lot_generator/i18n/es.po index 927cd0f7b5c..4aa028c5dfb 100644 --- a/sale_order_lot_generator/i18n/es.po +++ b/sale_order_lot_generator/i18n/es.po @@ -9,27 +9,28 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-13 01:19+0000\n" -"PO-Revision-Date: 2017-05-13 01:19+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2021-02-23 17:45+0000\n" +"Last-Translator: Daniel Martinez Vila \n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot msgid "Auto Generate Lot" -msgstr "" +msgstr "Lote de generación automática" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name msgid "Display Name" -msgstr "" +msgstr "Nombre mostrado" #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot @@ -38,30 +39,32 @@ msgid "" "Forces to specifiy a Serial Number for all lines containing this product " "since the confirmation of the Sale Order" msgstr "" +"Obliga a especificar un número de serie para todas las líneas que contienen " +"este producto desde la confirmación de la orden de venta" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id msgid "ID" -msgstr "" +msgstr "ID" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update #: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update msgid "Last Modified on" -msgstr "" +msgstr "Última modificación en" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template msgid "Product Template" -msgstr "" +msgstr "Plantilla de producto" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order msgid "Sales Order" -msgstr "" +msgstr "Pedido de venta" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line From 9f2bdeabfc59617149313d39a4963f2de176ab5b Mon Sep 17 00:00:00 2001 From: newtratip Date: Fri, 19 Feb 2021 11:07:47 +0700 Subject: [PATCH 15/33] [14.0][FIX] sale_order_lot_generator --- sale_order_lot_generator/tests/test_sale_order_lot_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py index 9e8a28237d5..0613943793e 100644 --- a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py +++ b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py @@ -49,4 +49,4 @@ def test_sale_order_lot_generator(self): if line.product_id.id == self.prd_flipover.id: self.assertEqual(line.lot_id, self.sol1.lot_id) if line.product_id.id == self.prd_acoustic.id: - self.assertEqual(line.restrict_lot_id, self.sol2.lot_id) + self.assertEqual(line.lot_id, self.sol2.lot_id) From 0c0727691249579cf0723a2fa498e98ab64b86e0 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 25 Mar 2021 11:33:34 +0000 Subject: [PATCH 16/33] sale_order_lot_generator 14.0.1.0.1 --- sale_order_lot_generator/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py index dd2f6e94d68..b892e83c52e 100644 --- a/sale_order_lot_generator/__manifest__.py +++ b/sale_order_lot_generator/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Sale Order Lot Generator", - "version": "14.0.1.0.0", + "version": "14.0.1.0.1", "author": "Akretion, Odoo Community Association (OCA)", "website": "https://github.com/OCA/sale-workflow", "license": "AGPL-3", From 4c4641c750f6a901bd08303061e7d38aef673d54 Mon Sep 17 00:00:00 2001 From: Francesco Foresti Date: Fri, 8 Apr 2022 15:01:28 +0000 Subject: [PATCH 17/33] Translated using Weblate (Italian) Currently translated at 12.5% (1 of 8 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_order_lot_generator Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator/it/ --- sale_order_lot_generator/i18n/it.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sale_order_lot_generator/i18n/it.po b/sale_order_lot_generator/i18n/it.po index d6475ded9db..7f726948b68 100644 --- a/sale_order_lot_generator/i18n/it.po +++ b/sale_order_lot_generator/i18n/it.po @@ -9,14 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-13 01:19+0000\n" -"PO-Revision-Date: 2017-05-13 01:19+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2022-04-08 17:05+0000\n" +"Last-Translator: Francesco Foresti \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: sale_order_lot_generator #: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot @@ -66,7 +67,7 @@ msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order_line msgid "Sales Order Line" -msgstr "Linea d'ordine di vendita" +msgstr "Riga ordine di vendita" #, fuzzy #~ msgid "Sale Order" From fc8d2f8d06947351288544beef381e43c548c7dc Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 2 Jun 2022 04:27:07 +0000 Subject: [PATCH 18/33] [UPD] README.rst --- sale_order_lot_generator/README.rst | 5 +---- sale_order_lot_generator/static/description/index.html | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/sale_order_lot_generator/README.rst b/sale_order_lot_generator/README.rst index 78aed2d5d49..b313cf40627 100644 --- a/sale_order_lot_generator/README.rst +++ b/sale_order_lot_generator/README.rst @@ -19,11 +19,8 @@ Sale Order Lot Generator .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/167/14.0 - :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| Generate automatically a lot number for each sale lines when you confirm a sale order. diff --git a/sale_order_lot_generator/static/description/index.html b/sale_order_lot_generator/static/description/index.html index 83549380355..c29bd2f376a 100644 --- a/sale_order_lot_generator/static/description/index.html +++ b/sale_order_lot_generator/static/description/index.html @@ -367,7 +367,7 @@

Sale Order Lot Generator

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate

Generate automatically a lot number for each sale lines when you confirm a sale order.

Table of contents

From 5ee2e07e6709cdd8c2a2ec7f653157be5a810d5b Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 2 Jun 2022 05:13:57 +0000 Subject: [PATCH 19/33] [UPD] README.rst --- sale_order_lot_generator/README.rst | 5 ++++- sale_order_lot_generator/static/description/index.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sale_order_lot_generator/README.rst b/sale_order_lot_generator/README.rst index b313cf40627..78aed2d5d49 100644 --- a/sale_order_lot_generator/README.rst +++ b/sale_order_lot_generator/README.rst @@ -19,8 +19,11 @@ Sale Order Lot Generator .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/167/14.0 + :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| +|badge1| |badge2| |badge3| |badge4| |badge5| Generate automatically a lot number for each sale lines when you confirm a sale order. diff --git a/sale_order_lot_generator/static/description/index.html b/sale_order_lot_generator/static/description/index.html index c29bd2f376a..83549380355 100644 --- a/sale_order_lot_generator/static/description/index.html +++ b/sale_order_lot_generator/static/description/index.html @@ -367,7 +367,7 @@

Sale Order Lot Generator

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate

+

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

Generate automatically a lot number for each sale lines when you confirm a sale order.

Table of contents

From 90fc46080f2de9579578c19fe0ef207a5e53ee73 Mon Sep 17 00:00:00 2001 From: Pierrick Brun Date: Tue, 13 Apr 2021 17:57:13 +0200 Subject: [PATCH 20/33] [FIX] allow to create lines in redrafted orders --- sale_order_lot_generator/models/sale_order.py | 15 +++++++++- .../models/sale_order_line.py | 13 +-------- .../tests/test_sale_order_lot_generator.py | 28 ++++++++++++++++--- 3 files changed, 39 insertions(+), 17 deletions(-) diff --git a/sale_order_lot_generator/models/sale_order.py b/sale_order_lot_generator/models/sale_order.py index 7696379dfde..06988c9509b 100644 --- a/sale_order_lot_generator/models/sale_order.py +++ b/sale_order_lot_generator/models/sale_order.py @@ -6,9 +6,22 @@ class SaleOrder(models.Model): _inherit = "sale.order" + def _get_max_lot_index(self): + self.ensure_one() + # when a new line is added to confirmed sale order + # get the max index_lot from the other lines + index_lot = 0 + lot_ids = self.order_line.filtered(lambda l: l.lot_id).mapped("lot_id") + for lot in lot_ids: + lot_name = lot.name + index_str = lot_name.replace(self.name + "-", "") + last_index = int(index_str) if index_str.isdigit() else 0 + index_lot = max(index_lot, last_index) + return index_lot + def generate_prodlot(self): for rec in self: - index_lot = 1 + index_lot = rec._get_max_lot_index() + 1 for line in rec.order_line: if ( line.product_id.auto_generate_prodlot diff --git a/sale_order_lot_generator/models/sale_order_line.py b/sale_order_lot_generator/models/sale_order_line.py index a5da1274165..7d4364d0edb 100644 --- a/sale_order_lot_generator/models/sale_order_line.py +++ b/sale_order_lot_generator/models/sale_order_line.py @@ -34,18 +34,7 @@ def create(self, values): and not line.lot_id and line.product_id.tracking != "none" ): - # when a new line is added to confirmed sale order - # get the max index_lot from the other lines - index_lot = 0 - lot_ids = line.order_id.order_line.filtered(lambda l: l.lot_id).mapped( - "lot_id" - ) - for lot in lot_ids: - lot_name = lot.name - index_str = lot_name.replace(line.order_id.name + "-", "") - last_index = int(index_str) if index_str.isdigit() else 0 - index_lot = max(index_lot, last_index) - index_lot += 1 + index_lot = line.order_id._get_max_lot_index() + 1 lot_id = line.create_prodlot(index_lot) values["lot_id"] = lot_id.id line = super().create(values) diff --git a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py index 0613943793e..c598eaef6ab 100644 --- a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py +++ b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py @@ -8,10 +8,14 @@ class TestSaleOrderLotGenerator(test_common.SingleTransactionCase): def setUp(self): super().setUp() self.prd_flipover = self.env.ref("product.product_product_20") + self.prd_desk = self.env.ref("product.product_product_22") self.prd_acoustic = self.env.ref("product.product_product_25") self.prd_flipover.write( {"tracking": "lot", "type": "product", "auto_generate_prodlot": True} ) + self.prd_desk.write( + {"tracking": "lot", "type": "product", "auto_generate_prodlot": True} + ) self.prd_acoustic.write( {"tracking": "lot", "type": "product", "auto_generate_prodlot": True} ) @@ -34,19 +38,35 @@ def test_sale_order_lot_generator(self): self.order1.action_confirm() lot_number = "%s-%03d" % (self.order1.name, 1) self.assertEqual(self.sol1.lot_id.name, lot_number) - # add second line after order confirm + # add second line after order redraft + self.order1.action_cancel() + self.order1.action_draft() self.sol2 = self.env["sale.order.line"].create( { - "name": "sol1", + "name": "sol2", "order_id": self.order1.id, - "product_id": self.prd_acoustic.id, + "product_id": self.prd_desk.id, "product_uom_qty": 1, } ) + self.order1.action_confirm() lot_number = "%s-%03d" % (self.order1.name, 2) self.assertEqual(self.sol2.lot_id.name, lot_number) + # add third line after order confirm + self.sol3 = self.env["sale.order.line"].create( + { + "name": "sol3", + "order_id": self.order1.id, + "product_id": self.prd_acoustic.id, + "product_uom_qty": 1, + } + ) + lot_number = "%s-%03d" % (self.order1.name, 3) + self.assertEqual(self.sol3.lot_id.name, lot_number) for line in self.order1.picking_ids.move_line_ids: if line.product_id.id == self.prd_flipover.id: self.assertEqual(line.lot_id, self.sol1.lot_id) - if line.product_id.id == self.prd_acoustic.id: + if line.product_id.id == self.prd_desk.id: self.assertEqual(line.lot_id, self.sol2.lot_id) + if line.product_id.id == self.prd_acoustic.id: + self.assertEqual(line.lot_id, self.sol3.lot_id) From 842abb00aee2a36accd0cef63131dddc897680bc Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Thu, 24 Nov 2022 21:30:45 +0100 Subject: [PATCH 21/33] [MIG][16.0] Migrate sale_order_lot_generator to v16 --- sale_order_lot_generator/__manifest__.py | 2 +- sale_order_lot_generator/models/sale_order.py | 6 ++-- .../models/sale_order_line.py | 36 +++++++++---------- .../tests/test_sale_order_lot_generator.py | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/sale_order_lot_generator/__manifest__.py b/sale_order_lot_generator/__manifest__.py index b892e83c52e..12e11803496 100644 --- a/sale_order_lot_generator/__manifest__.py +++ b/sale_order_lot_generator/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Sale Order Lot Generator", - "version": "14.0.1.0.1", + "version": "16.0.1.0.0", "author": "Akretion, Odoo Community Association (OCA)", "website": "https://github.com/OCA/sale-workflow", "license": "AGPL-3", diff --git a/sale_order_lot_generator/models/sale_order.py b/sale_order_lot_generator/models/sale_order.py index 06988c9509b..a09a0c565ce 100644 --- a/sale_order_lot_generator/models/sale_order.py +++ b/sale_order_lot_generator/models/sale_order.py @@ -19,7 +19,7 @@ def _get_max_lot_index(self): index_lot = max(index_lot, last_index) return index_lot - def generate_prodlot(self): + def generate_lot(self): for rec in self: index_lot = rec._get_max_lot_index() + 1 for line in rec.order_line: @@ -28,12 +28,12 @@ def generate_prodlot(self): and not line.lot_id and line.product_id.tracking != "none" ): - lot_id = line.create_prodlot(index_lot) + lot_id = line.create_lot(index_lot) index_lot += 1 line.lot_id = lot_id def action_confirm(self): - self.generate_prodlot() + self.generate_lot() return super().action_confirm() def action_cancel(self): diff --git a/sale_order_lot_generator/models/sale_order_line.py b/sale_order_lot_generator/models/sale_order_line.py index 7d4364d0edb..bfca2fdea44 100644 --- a/sale_order_lot_generator/models/sale_order_line.py +++ b/sale_order_lot_generator/models/sale_order_line.py @@ -18,24 +18,24 @@ def _prepare_vals_lot_number(self, index_lot): "company_id": self.order_id.company_id.id, } - def create_prodlot(self, index_lot=1): + def create_lot(self, index_lot=1): self.ensure_one() vals = self._prepare_vals_lot_number(index_lot) - return self.env["stock.production.lot"].create(vals) + return self.env["stock.lot"].create(vals) - @api.model - def create(self, values): - line = self.new(values) - # we create a lot before create a line because the super method - # must create a procurement and move - if ( - line.order_id.state == "sale" - and line.product_id.auto_generate_prodlot - and not line.lot_id - and line.product_id.tracking != "none" - ): - index_lot = line.order_id._get_max_lot_index() + 1 - lot_id = line.create_prodlot(index_lot) - values["lot_id"] = lot_id.id - line = super().create(values) - return line + @api.model_create_multi + def create(self, values_list): + for values in values_list: + line = self.new(values) + # we create a lot before create a line because the super method + # must create a procurement and move + if ( + line.order_id.state == "sale" + and line.product_id.auto_generate_prodlot + and not line.lot_id + and line.product_id.tracking != "none" + ): + index_lot = line.order_id._get_max_lot_index() + 1 + lot_id = line.create_lot(index_lot) + values["lot_id"] = lot_id.id + return super().create(values_list) diff --git a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py index c598eaef6ab..e1124d20813 100644 --- a/sale_order_lot_generator/tests/test_sale_order_lot_generator.py +++ b/sale_order_lot_generator/tests/test_sale_order_lot_generator.py @@ -39,7 +39,7 @@ def test_sale_order_lot_generator(self): lot_number = "%s-%03d" % (self.order1.name, 1) self.assertEqual(self.sol1.lot_id.name, lot_number) # add second line after order redraft - self.order1.action_cancel() + self.order1._action_cancel() self.order1.action_draft() self.sol2 = self.env["sale.order.line"].create( { From 9342e62db74b444f665b66ffe65a541d8af088eb Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Fri, 10 Mar 2023 21:05:21 +0100 Subject: [PATCH 22/33] [FIX] Stop deleting lot on sale order cancelation A lot may have happen, and it is possible to have done some MO, received some PO using this lot, maybe there is even stock on hand with this lot and should not delete it or it is lost everywhere. --- sale_order_lot_generator/models/sale_order.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sale_order_lot_generator/models/sale_order.py b/sale_order_lot_generator/models/sale_order.py index a09a0c565ce..dd98c63da7d 100644 --- a/sale_order_lot_generator/models/sale_order.py +++ b/sale_order_lot_generator/models/sale_order.py @@ -35,10 +35,3 @@ def generate_lot(self): def action_confirm(self): self.generate_lot() return super().action_confirm() - - def action_cancel(self): - res = super().action_cancel() - for sale in self: - for line in sale.order_line: - line.lot_id.unlink() - return res From bbe03bb403728a27d6cf0d8d25de4a9b0ee88fc7 Mon Sep 17 00:00:00 2001 From: oca-ci Date: Mon, 27 Mar 2023 08:30:47 +0000 Subject: [PATCH 23/33] [UPD] Update sale_order_lot_generator.pot --- .../i18n/sale_order_lot_generator.pot | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/sale_order_lot_generator/i18n/sale_order_lot_generator.pot b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot index a7d4b2ace18..c10fc50a058 100644 --- a/sale_order_lot_generator/i18n/sale_order_lot_generator.pot +++ b/sale_order_lot_generator/i18n/sale_order_lot_generator.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -19,13 +19,6 @@ msgstr "" msgid "Auto Generate Lot" msgstr "" -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name -msgid "Display Name" -msgstr "" - #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -34,23 +27,9 @@ msgid "" "since the confirmation of the Sale Order" msgstr "" -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id -msgid "ID" -msgstr "" - -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update -msgid "Last Modified on" -msgstr "" - #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template -msgid "Product Template" +msgid "Product" msgstr "" #. module: sale_order_lot_generator From 9ae74e1acc266deeef259c21f32d52290635092d Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 27 Mar 2023 08:36:18 +0000 Subject: [PATCH 24/33] [UPD] README.rst --- sale_order_lot_generator/README.rst | 10 +++++----- sale_order_lot_generator/static/description/index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sale_order_lot_generator/README.rst b/sale_order_lot_generator/README.rst index 78aed2d5d49..05096c80d48 100644 --- a/sale_order_lot_generator/README.rst +++ b/sale_order_lot_generator/README.rst @@ -14,13 +14,13 @@ Sale Order Lot Generator :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/sale-workflow/tree/14.0/sale_order_lot_generator + :target: https://github.com/OCA/sale-workflow/tree/16.0/sale_order_lot_generator :alt: OCA/sale-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_lot_generator + :target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_lot_generator :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/167/14.0 + :target: https://runbot.odoo-community.org/runbot/167/16.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -48,7 +48,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -97,6 +97,6 @@ Current `maintainers `__: |maintainer-florian-dacosta| |maintainer-mourad-ehm| |maintainer-bealdav| -This module is part of the `OCA/sale-workflow `_ project on GitHub. +This module is part of the `OCA/sale-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_lot_generator/static/description/index.html b/sale_order_lot_generator/static/description/index.html index 83549380355..4b9ecbedd48 100644 --- a/sale_order_lot_generator/static/description/index.html +++ b/sale_order_lot_generator/static/description/index.html @@ -367,7 +367,7 @@

Sale Order Lot Generator

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

Generate automatically a lot number for each sale lines when you confirm a sale order.

Table of contents

@@ -396,7 +396,7 @@

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.

+feedback.

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

@@ -426,7 +426,7 @@

Maintainers

promote its widespread use.

Current maintainers:

florian-dacosta mourad-ehm bealdav

-

This module is part of the OCA/sale-workflow project on GitHub.

+

This module is part of the OCA/sale-workflow project on GitHub.

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

From c7966fc1b7e8b400231028f8b56d4c9c89038fe9 Mon Sep 17 00:00:00 2001 From: Weblate Date: Mon, 27 Mar 2023 11:12:46 +0000 Subject: [PATCH 25/33] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_lot_generator Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_lot_generator/ --- sale_order_lot_generator/i18n/ca.po | 37 +++++++++++------------------ 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/sale_order_lot_generator/i18n/ca.po b/sale_order_lot_generator/i18n/ca.po index 4c87f0e3dc5..920da2cf6c2 100644 --- a/sale_order_lot_generator/i18n/ca.po +++ b/sale_order_lot_generator/i18n/ca.po @@ -25,13 +25,6 @@ msgstr "" msgid "Auto Generate Lot" msgstr "Generació automàtica de lot" -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__display_name -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__display_name -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__display_name -msgid "Display Name" -msgstr "Nom Visible" - #. module: sale_order_lot_generator #: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot #: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot @@ -42,24 +35,10 @@ msgstr "" "Obliga a especificar un número de sèrie per a totes les línies que contenen " "aquest producte des de la confirmació de la comanda de venda" -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__id -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order__id -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line__id -msgid "ID" -msgstr "ID" - -#. module: sale_order_lot_generator -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template____last_update -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order____last_update -#: model:ir.model.fields,field_description:sale_order_lot_generator.field_sale_order_line____last_update -msgid "Last Modified on" -msgstr "Darrera modificació el" - #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_product_template -msgid "Product Template" -msgstr "Plantilla de producte" +msgid "Product" +msgstr "" #. module: sale_order_lot_generator #: model:ir.model,name:sale_order_lot_generator.model_sale_order @@ -71,6 +50,18 @@ msgstr "Comanda de venda" msgid "Sales Order Line" msgstr "Línia de comanda de vendes" +#~ msgid "Display Name" +#~ msgstr "Nom Visible" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Darrera modificació el" + +#~ msgid "Product Template" +#~ msgstr "Plantilla de producte" + #, fuzzy #~ msgid "Sale Order" #~ msgstr "Comandes de venda" From 5219fe6b71ac1e729091d61bf731ee64b9472697 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sun, 3 Sep 2023 16:28:27 +0000 Subject: [PATCH 26/33] [UPD] README.rst --- sale_order_lot_generator/README.rst | 15 ++++--- .../static/description/index.html | 44 ++++++++++--------- 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/sale_order_lot_generator/README.rst b/sale_order_lot_generator/README.rst index 05096c80d48..02f9eb7c035 100644 --- a/sale_order_lot_generator/README.rst +++ b/sale_order_lot_generator/README.rst @@ -2,10 +2,13 @@ Sale Order Lot Generator ======================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:e0b85a7b15834bbd24c195755e75a9046c017f183f77793a95968c723378e5d8 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -19,11 +22,11 @@ Sale Order Lot Generator .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_lot_generator :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/167/16.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Generate automatically a lot number for each sale lines when you confirm a sale order. @@ -47,7 +50,7 @@ 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 +If you spotted it first, help us to smash it by providing a detailed and welcomed `feedback `_. Do not contact contributors directly about support or help with technical issues. diff --git a/sale_order_lot_generator/static/description/index.html b/sale_order_lot_generator/static/description/index.html index 4b9ecbedd48..74cb3fff7d3 100644 --- a/sale_order_lot_generator/static/description/index.html +++ b/sale_order_lot_generator/static/description/index.html @@ -1,20 +1,20 @@ - + - + Sale Order Lot Generator