From 99355af07707a021abfc4313bd988c43676a22ed Mon Sep 17 00:00:00 2001 From: Jordi Esteve Date: Fri, 2 Mar 2012 18:27:08 +0100 Subject: [PATCH 01/24] [ADD] product_sequence: Allows to associate a sequence to the product reference. The reference (default code) is unique (SQL constraint) and required. --- product_sequence/__init__.py | 24 ++++++++ product_sequence/__openerp__.py | 45 +++++++++++++++ product_sequence/i18n/ca.po | 27 +++++++++ product_sequence/i18n/es.po | 27 +++++++++ product_sequence/i18n/product_sequence.pot | 27 +++++++++ product_sequence/product_product.py | 67 ++++++++++++++++++++++ product_sequence/product_sequence.xml | 16 ++++++ 7 files changed, 233 insertions(+) create mode 100644 product_sequence/__init__.py create mode 100644 product_sequence/__openerp__.py create mode 100644 product_sequence/i18n/ca.po create mode 100644 product_sequence/i18n/es.po create mode 100644 product_sequence/i18n/product_sequence.pot create mode 100644 product_sequence/product_product.py create mode 100644 product_sequence/product_sequence.xml diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py new file mode 100644 index 000000000000..5e566adb9e56 --- /dev/null +++ b/product_sequence/__init__.py @@ -0,0 +1,24 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. +# Jesús Martín +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +import product_product diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py new file mode 100644 index 000000000000..dd1db3b937ee --- /dev/null +++ b/product_sequence/__openerp__.py @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +{ + 'name' : 'Product Sequence', + 'version' : '0.1', + "author": "Zikzakmedia SL", + "website": "http://www.zikzakmedia.com", + "license" : "AGPL-3", + "category" : "Generic Modules/Inventory Control", + "description": """ +This module allows to associate a sequence to the product reference. +The reference (default code) is unique (SQL constraint) and required. +Note: This module is incompatible with nan_product_sequence. + """, + 'depends' : [ + 'product', + ], + "init_xml" : [ + 'product_sequence.xml', + ], + "update_xml" : [ + ], + 'installable': True, + 'active': False, +} diff --git a/product_sequence/i18n/ca.po b/product_sequence/i18n/ca.po new file mode 100644 index 000000000000..f995ceeb5fa7 --- /dev/null +++ b/product_sequence/i18n/ca.po @@ -0,0 +1,27 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.3\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2012-02-08 12:12+0000\n" +"PO-Revision-Date: 2012-02-08 13:14+0100\n" +"Last-Translator: Jesús Martín \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Producte" + +#. module: product_sequence +#: constraint:product.product:0 +msgid "Error: Invalid ean code" +msgstr "Error: Codi EAN invàlid" + diff --git a/product_sequence/i18n/es.po b/product_sequence/i18n/es.po new file mode 100644 index 000000000000..f71764893d62 --- /dev/null +++ b/product_sequence/i18n/es.po @@ -0,0 +1,27 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.3\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2012-02-08 12:12+0000\n" +"PO-Revision-Date: 2012-02-08 13:16+0100\n" +"Last-Translator: Jesús Martín \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Producto" + +#. module: product_sequence +#: constraint:product.product:0 +msgid "Error: Invalid ean code" +msgstr "Error: Código EAN inválido" + diff --git a/product_sequence/i18n/product_sequence.pot b/product_sequence/i18n/product_sequence.pot new file mode 100644 index 000000000000..8d068a0ffbc7 --- /dev/null +++ b/product_sequence/i18n/product_sequence.pot @@ -0,0 +1,27 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.3\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2012-02-08 12:12+0000\n" +"PO-Revision-Date: 2012-02-08 12:12+0000\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: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Product" + +#. module: product_sequence +#: constraint:product.product:0 +msgid "Error: Invalid ean code" +msgstr "Error: Invalid ean code" + diff --git a/product_sequence/product_product.py b/product_sequence/product_product.py new file mode 100644 index 000000000000..fcab0a70573c --- /dev/null +++ b/product_sequence/product_product.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +from osv import osv, fields +from tools.translate import _ + +class product_product(osv.osv): + _inherit = 'product.product' + + _columns = { + 'default_code' : fields.char('Reference', size=64, required=True), + } + + _sql_constraints = [ + ('uniq_default_code', 'unique(default_code)', "The reference must be unique"), + ] + + _defaults = { + 'default_code': lambda * a: '/', + } + + def create(self, cr, uid, vals, context=None): + if context is None: + context = {} + if not 'default_code' in vals or vals['default_code'] == '/': + vals['default_code'] = self.pool.get('ir.sequence').get(cr, uid, 'product.product') + return super(product_product, self).create(cr, uid, vals, context) + + def write(self, cr, uid, ids, vals, context=None): + if context is None: + context = {} + result = True + for product in self.browse(cr, uid, ids, context): + default_code = product.default_code + if not default_code or default_code == '/': + vals['default_code'] = self.pool.get('ir.sequence').get(cr, uid, 'product.product') + result = result and super(product_product, self).write(cr, uid, ids, vals, context) + return result + + def copy(self, cr, uid, id, default={}, context=None): + product = self.read(cr, uid, id, ['default_code'], context=context) + if product['default_code']: + default.update({ + 'default_code': product['default_code']+ _('-copy'), + }) + + return super(product_product, self).copy(cr, uid, id, default, context) + +product_product() diff --git a/product_sequence/product_sequence.xml b/product_sequence/product_sequence.xml new file mode 100644 index 000000000000..e8926ef266f4 --- /dev/null +++ b/product_sequence/product_sequence.xml @@ -0,0 +1,16 @@ + + + + + Product + product.product + + + + Product + product.product + + PR/ + + + From ac5af353fbd95f366fd80b612cb63a6eef7d2436 Mon Sep 17 00:00:00 2001 From: sebastien beau Date: Thu, 17 May 2012 13:56:54 +0200 Subject: [PATCH 02/24] [MERGE] merge translation commited by launchpad on extra-addons6.0 --- product_sequence/i18n/ca.po | 8 ++++---- product_sequence/i18n/es.po | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/product_sequence/i18n/ca.po b/product_sequence/i18n/ca.po index f995ceeb5fa7..c9878927d79f 100644 --- a/product_sequence/i18n/ca.po +++ b/product_sequence/i18n/ca.po @@ -7,13 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0.3\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2012-02-08 13:14+0100\n" -"Last-Translator: Jesús Martín \n" +"PO-Revision-Date: 2012-03-05 11:13+0000\n" +"Last-Translator: jmartin (Zikzakmedia) \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: \n" +"X-Launchpad-Export-Date: 2012-05-10 05:49+0000\n" +"X-Generator: Launchpad (build 15213)\n" #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product @@ -24,4 +25,3 @@ msgstr "Producte" #: constraint:product.product:0 msgid "Error: Invalid ean code" msgstr "Error: Codi EAN invàlid" - diff --git a/product_sequence/i18n/es.po b/product_sequence/i18n/es.po index f71764893d62..51eafe2956cf 100644 --- a/product_sequence/i18n/es.po +++ b/product_sequence/i18n/es.po @@ -7,13 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0.3\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2012-02-08 13:16+0100\n" -"Last-Translator: Jesús Martín \n" +"PO-Revision-Date: 2012-03-05 11:12+0000\n" +"Last-Translator: jmartin (Zikzakmedia) \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: \n" +"X-Launchpad-Export-Date: 2012-05-10 05:49+0000\n" +"X-Generator: Launchpad (build 15213)\n" #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product @@ -24,4 +25,3 @@ msgstr "Producto" #: constraint:product.product:0 msgid "Error: Invalid ean code" msgstr "Error: Código EAN inválido" - From a7576593ab77f5fee23a4b0c56c5cc99eaf44f09 Mon Sep 17 00:00:00 2001 From: Benoit Guillot Date: Fri, 6 Jul 2012 12:11:58 +0200 Subject: [PATCH 03/24] [FIX] fix write all product with default_code together and then write each product without default_code --- product_sequence/product_product.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/product_sequence/product_product.py b/product_sequence/product_product.py index fcab0a70573c..4dcbd0af96ef 100644 --- a/product_sequence/product_product.py +++ b/product_sequence/product_product.py @@ -47,13 +47,13 @@ def create(self, cr, uid, vals, context=None): def write(self, cr, uid, ids, vals, context=None): if context is None: context = {} - result = True - for product in self.browse(cr, uid, ids, context): - default_code = product.default_code - if not default_code or default_code == '/': - vals['default_code'] = self.pool.get('ir.sequence').get(cr, uid, 'product.product') - result = result and super(product_product, self).write(cr, uid, ids, vals, context) - return result + products_without_code = self.search(cr, uid, [('default_code', 'in', [False, '/']),('id', 'in', ids)], context=context) + direct_write_ids = set(ids) - set(products_without_code) + super(product_product, self).write(cr, uid, list(direct_write_ids), vals, context) + for product_id in products_without_code: + vals['default_code'] = self.pool.get('ir.sequence').get(cr, uid, 'product.product') + super(product_product, self).write(cr, uid, product_id, vals, context) + return True def copy(self, cr, uid, id, default={}, context=None): product = self.read(cr, uid, id, ['default_code'], context=context) From 5d724b753742e8cd99a208a280c250ed059fa8c1 Mon Sep 17 00:00:00 2001 From: Lorenzo Battistini Date: Thu, 2 Aug 2012 12:43:21 +0200 Subject: [PATCH 04/24] [FIX] resetting sequence code when updating module --- product_sequence/product_sequence.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_sequence/product_sequence.xml b/product_sequence/product_sequence.xml index e8926ef266f4..ae62733f78e2 100644 --- a/product_sequence/product_sequence.xml +++ b/product_sequence/product_sequence.xml @@ -1,6 +1,6 @@ - + Product product.product From 5004ceca63201fdb35308984babcbfad3ca3528a Mon Sep 17 00:00:00 2001 From: "@" <@> Date: Tue, 21 Aug 2012 16:10:21 +0200 Subject: [PATCH 05/24] [REM] use Model instead of osv.osv some minor reformatting in the process --- product_sequence/product_product.py | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/product_sequence/product_product.py b/product_sequence/product_product.py index 4dcbd0af96ef..83509b1d82ab 100644 --- a/product_sequence/product_product.py +++ b/product_sequence/product_product.py @@ -19,23 +19,21 @@ # ############################################################################## -from osv import osv, fields -from tools.translate import _ +from openerp.osv.orm import Model +from openerp.osv import fields +from openerp.tools.translate import _ -class product_product(osv.osv): +class product_product(Model): _inherit = 'product.product' - _columns = { 'default_code' : fields.char('Reference', size=64, required=True), - } - + } _sql_constraints = [ ('uniq_default_code', 'unique(default_code)', "The reference must be unique"), - ] - + ] _defaults = { 'default_code': lambda * a: '/', - } + } def create(self, cr, uid, vals, context=None): if context is None: @@ -63,5 +61,3 @@ def copy(self, cr, uid, id, default={}, context=None): }) return super(product_product, self).copy(cr, uid, id, default, context) - -product_product() From bd38f5b2e79200716f70f4f125a527a001ff2130 Mon Sep 17 00:00:00 2001 From: sebastien beau Date: Wed, 26 Sep 2012 17:54:15 +0200 Subject: [PATCH 06/24] [FIX] product_sequence : write should support list or integer --- product_sequence/__openerp__.py | 2 +- product_sequence/product_product.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index dd1db3b937ee..4a3481de3664 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -22,7 +22,7 @@ { 'name' : 'Product Sequence', - 'version' : '0.1', + 'version' : '6.1.0', "author": "Zikzakmedia SL", "website": "http://www.zikzakmedia.com", "license" : "AGPL-3", diff --git a/product_sequence/product_product.py b/product_sequence/product_product.py index 83509b1d82ab..509d925a082d 100644 --- a/product_sequence/product_product.py +++ b/product_sequence/product_product.py @@ -43,6 +43,8 @@ def create(self, cr, uid, vals, context=None): return super(product_product, self).create(cr, uid, vals, context) def write(self, cr, uid, ids, vals, context=None): + if not hasattr(ids, '__iter__'): + ids = [ids] if context is None: context = {} products_without_code = self.search(cr, uid, [('default_code', 'in', [False, '/']),('id', 'in', ids)], context=context) From ef059e9c4348529bf62136029e5528af0ba3ab94 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Wed, 30 Jan 2013 15:22:21 +0100 Subject: [PATCH 07/24] [MIGR] migration of product_sequence to openerp 7.0 (required for product_images) --- product_sequence/__openerp__.py | 8 ++-- product_sequence/product_product.py | 55 ++++++++++++++++++--------- product_sequence/product_sequence.xml | 3 +- 3 files changed, 41 insertions(+), 25 deletions(-) diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index 4a3481de3664..fd9a5a7b41ab 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution @@ -22,7 +22,7 @@ { 'name' : 'Product Sequence', - 'version' : '6.1.0', + 'version' : '7.0', "author": "Zikzakmedia SL", "website": "http://www.zikzakmedia.com", "license" : "AGPL-3", @@ -35,11 +35,9 @@ 'depends' : [ 'product', ], - "init_xml" : [ + "data" : [ 'product_sequence.xml', ], - "update_xml" : [ - ], 'installable': True, 'active': False, } diff --git a/product_sequence/product_product.py b/product_sequence/product_product.py index 509d925a082d..37b8eb8de003 100644 --- a/product_sequence/product_product.py +++ b/product_sequence/product_product.py @@ -19,47 +19,64 @@ # ############################################################################## -from openerp.osv.orm import Model -from openerp.osv import fields +from openerp.osv import orm, fields from openerp.tools.translate import _ -class product_product(Model): + +class product_product(orm.Model): _inherit = 'product.product' + _columns = { - 'default_code' : fields.char('Reference', size=64, required=True), + 'default_code': fields.char('Reference', + size=64, + select=True, + required=True), } + _sql_constraints = [ - ('uniq_default_code', 'unique(default_code)', "The reference must be unique"), - ] + ('uniq_default_code', + 'unique(default_code)', + 'The reference must be unique'), + ] + _defaults = { - 'default_code': lambda * a: '/', + 'default_code': '/', } def create(self, cr, uid, vals, context=None): - if context is None: - context = {} if not 'default_code' in vals or vals['default_code'] == '/': - vals['default_code'] = self.pool.get('ir.sequence').get(cr, uid, 'product.product') + vals['default_code'] = self.pool.get('ir.sequence').get( + cr, uid, 'product.product') return super(product_product, self).create(cr, uid, vals, context) def write(self, cr, uid, ids, vals, context=None): if not hasattr(ids, '__iter__'): ids = [ids] - if context is None: - context = {} - products_without_code = self.search(cr, uid, [('default_code', 'in', [False, '/']),('id', 'in', ids)], context=context) + products_without_code = self.search( + cr, uid, + [('default_code', 'in', [False, '/']), + ('id', 'in', ids)], + context=context) direct_write_ids = set(ids) - set(products_without_code) - super(product_product, self).write(cr, uid, list(direct_write_ids), vals, context) + super(product_product, self).write(cr, uid, + list(direct_write_ids), + vals, context=context) for product_id in products_without_code: - vals['default_code'] = self.pool.get('ir.sequence').get(cr, uid, 'product.product') - super(product_product, self).write(cr, uid, product_id, vals, context) + vals['default_code'] = self.pool.get('ir.sequence').get( + cr, uid, 'product.product') + super(product_product, self).write(cr, uid, + product_id, + vals, + context=context) return True - def copy(self, cr, uid, id, default={}, context=None): + def copy(self, cr, uid, id, default=None, context=None): + if default is None: + default = {} product = self.read(cr, uid, id, ['default_code'], context=context) - if product['default_code']: + if product['default_code']: default.update({ - 'default_code': product['default_code']+ _('-copy'), + 'default_code': product['default_code'] + _('-copy'), }) return super(product_product, self).copy(cr, uid, id, default, context) diff --git a/product_sequence/product_sequence.xml b/product_sequence/product_sequence.xml index ae62733f78e2..f6f4ad48377e 100644 --- a/product_sequence/product_sequence.xml +++ b/product_sequence/product_sequence.xml @@ -1,11 +1,12 @@ + Product product.product - + Product product.product From 78a31daa9e4dd1b00ddc8759a8ca0dc31ecb3f65 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 5 Feb 2013 10:50:07 +0100 Subject: [PATCH 08/24] FIX description of module product_custom_attributes. Version numbers should only have 2 digits. --- product_sequence/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index fd9a5a7b41ab..aa10b0a607c8 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -22,7 +22,7 @@ { 'name' : 'Product Sequence', - 'version' : '7.0', + 'version' : '0.1', "author": "Zikzakmedia SL", "website": "http://www.zikzakmedia.com", "license" : "AGPL-3", From 6d1071e01882ec1dc995d64249465db4c9427ab7 Mon Sep 17 00:00:00 2001 From: Launchpad Translations on behalf of product-core-editors Date: Wed, 12 Mar 2014 05:24:52 +0000 Subject: [PATCH 09/24] Launchpad automatic translations update. --- product_sequence/i18n/ca.po | 6 +++--- product_sequence/i18n/es.po | 23 ++++++++++++----------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/product_sequence/i18n/ca.po b/product_sequence/i18n/ca.po index c9878927d79f..18ab3d9b7624 100644 --- a/product_sequence/i18n/ca.po +++ b/product_sequence/i18n/ca.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0.3\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2012-03-05 11:13+0000\n" +"PO-Revision-Date: 2014-03-12 12:34+0000\n" "Last-Translator: jmartin (Zikzakmedia) \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-05-10 05:49+0000\n" -"X-Generator: Launchpad (build 15213)\n" +"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" +"X-Generator: Launchpad (build 17007)\n" #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product diff --git a/product_sequence/i18n/es.po b/product_sequence/i18n/es.po index 51eafe2956cf..8abae8eb9893 100644 --- a/product_sequence/i18n/es.po +++ b/product_sequence/i18n/es.po @@ -1,20 +1,21 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_sequence +# Spanish translation for openerp-product-attributes +# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 +# This file is distributed under the same license as the openerp-product-attributes package. +# FIRST AUTHOR , 2014. # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 6.0.3\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" +"Project-Id-Version: openerp-product-attributes\n" +"Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2012-03-05 11:12+0000\n" -"Last-Translator: jmartin (Zikzakmedia) \n" -"Language-Team: \n" +"PO-Revision-Date: 2014-03-11 12:51+0000\n" +"Last-Translator: Pedro Manuel Baeza \n" +"Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-05-10 05:49+0000\n" -"X-Generator: Launchpad (build 15213)\n" +"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" +"X-Generator: Launchpad (build 17007)\n" #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product @@ -24,4 +25,4 @@ msgstr "Producto" #. module: product_sequence #: constraint:product.product:0 msgid "Error: Invalid ean code" -msgstr "Error: Código EAN inválido" +msgstr "Error: Código EAN no válido" From 1238b030ace105231aa3c20e76f5e9091bcd07ed Mon Sep 17 00:00:00 2001 From: Laetitia Gangloff Date: Wed, 9 Jul 2014 11:16:48 +0200 Subject: [PATCH 10/24] Set all addons to uninstallable and move them into __unported__ folder --- product_sequence/__init__.py | 24 ------- product_sequence/__openerp__.py | 43 ------------ product_sequence/i18n/ca.po | 27 ------- product_sequence/i18n/es.po | 28 -------- product_sequence/i18n/product_sequence.pot | 27 ------- product_sequence/product_product.py | 82 ---------------------- product_sequence/product_sequence.xml | 17 ----- 7 files changed, 248 deletions(-) delete mode 100644 product_sequence/__init__.py delete mode 100644 product_sequence/__openerp__.py delete mode 100644 product_sequence/i18n/ca.po delete mode 100644 product_sequence/i18n/es.po delete mode 100644 product_sequence/i18n/product_sequence.pot delete mode 100644 product_sequence/product_product.py delete mode 100644 product_sequence/product_sequence.xml diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py deleted file mode 100644 index 5e566adb9e56..000000000000 --- a/product_sequence/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. -# Jesús Martín -# $Id$ -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -import product_product diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py deleted file mode 100644 index aa10b0a607c8..000000000000 --- a/product_sequence/__openerp__.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. -# $Id$ -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -{ - 'name' : 'Product Sequence', - 'version' : '0.1', - "author": "Zikzakmedia SL", - "website": "http://www.zikzakmedia.com", - "license" : "AGPL-3", - "category" : "Generic Modules/Inventory Control", - "description": """ -This module allows to associate a sequence to the product reference. -The reference (default code) is unique (SQL constraint) and required. -Note: This module is incompatible with nan_product_sequence. - """, - 'depends' : [ - 'product', - ], - "data" : [ - 'product_sequence.xml', - ], - 'installable': True, - 'active': False, -} diff --git a/product_sequence/i18n/ca.po b/product_sequence/i18n/ca.po deleted file mode 100644 index 18ab3d9b7624..000000000000 --- a/product_sequence/i18n/ca.po +++ /dev/null @@ -1,27 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_sequence -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.0.3\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2014-03-12 12:34+0000\n" -"Last-Translator: jmartin (Zikzakmedia) \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" -"X-Generator: Launchpad (build 17007)\n" - -#. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" -msgstr "Producte" - -#. module: product_sequence -#: constraint:product.product:0 -msgid "Error: Invalid ean code" -msgstr "Error: Codi EAN invàlid" diff --git a/product_sequence/i18n/es.po b/product_sequence/i18n/es.po deleted file mode 100644 index 8abae8eb9893..000000000000 --- a/product_sequence/i18n/es.po +++ /dev/null @@ -1,28 +0,0 @@ -# Spanish translation for openerp-product-attributes -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-product-attributes package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-product-attributes\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2014-03-11 12:51+0000\n" -"Last-Translator: Pedro Manuel Baeza \n" -"Language-Team: Spanish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" -"X-Generator: Launchpad (build 17007)\n" - -#. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" -msgstr "Producto" - -#. module: product_sequence -#: constraint:product.product:0 -msgid "Error: Invalid ean code" -msgstr "Error: Código EAN no válido" diff --git a/product_sequence/i18n/product_sequence.pot b/product_sequence/i18n/product_sequence.pot deleted file mode 100644 index 8d068a0ffbc7..000000000000 --- a/product_sequence/i18n/product_sequence.pot +++ /dev/null @@ -1,27 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_sequence -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.0.3\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2012-02-08 12:12+0000\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: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" -msgstr "Product" - -#. module: product_sequence -#: constraint:product.product:0 -msgid "Error: Invalid ean code" -msgstr "Error: Invalid ean code" - diff --git a/product_sequence/product_product.py b/product_sequence/product_product.py deleted file mode 100644 index 37b8eb8de003..000000000000 --- a/product_sequence/product_product.py +++ /dev/null @@ -1,82 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -from openerp.osv import orm, fields -from openerp.tools.translate import _ - - -class product_product(orm.Model): - _inherit = 'product.product' - - _columns = { - 'default_code': fields.char('Reference', - size=64, - select=True, - required=True), - } - - _sql_constraints = [ - ('uniq_default_code', - 'unique(default_code)', - 'The reference must be unique'), - ] - - _defaults = { - 'default_code': '/', - } - - def create(self, cr, uid, vals, context=None): - if not 'default_code' in vals or vals['default_code'] == '/': - vals['default_code'] = self.pool.get('ir.sequence').get( - cr, uid, 'product.product') - return super(product_product, self).create(cr, uid, vals, context) - - def write(self, cr, uid, ids, vals, context=None): - if not hasattr(ids, '__iter__'): - ids = [ids] - products_without_code = self.search( - cr, uid, - [('default_code', 'in', [False, '/']), - ('id', 'in', ids)], - context=context) - direct_write_ids = set(ids) - set(products_without_code) - super(product_product, self).write(cr, uid, - list(direct_write_ids), - vals, context=context) - for product_id in products_without_code: - vals['default_code'] = self.pool.get('ir.sequence').get( - cr, uid, 'product.product') - super(product_product, self).write(cr, uid, - product_id, - vals, - context=context) - return True - - def copy(self, cr, uid, id, default=None, context=None): - if default is None: - default = {} - product = self.read(cr, uid, id, ['default_code'], context=context) - if product['default_code']: - default.update({ - 'default_code': product['default_code'] + _('-copy'), - }) - - return super(product_product, self).copy(cr, uid, id, default, context) diff --git a/product_sequence/product_sequence.xml b/product_sequence/product_sequence.xml deleted file mode 100644 index f6f4ad48377e..000000000000 --- a/product_sequence/product_sequence.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - Product - product.product - - - - Product - product.product - - PR/ - - - From 339f96e84909b7c63f0447f1401be2de998a821f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Moya?= Date: Tue, 13 Jan 2015 23:07:02 +0100 Subject: [PATCH 11/24] MIG product_sequence --- product_sequence/README.rst | 26 +++++++++ product_sequence/__init__.py | 23 ++++++++ product_sequence/__openerp__.py | 39 +++++++++++++ product_sequence/data/product_sequence.xml | 17 ++++++ product_sequence/i18n/ca.po | 27 +++++++++ product_sequence/i18n/es.po | 34 +++++++++++ product_sequence/i18n/product_sequence.pot | 33 +++++++++++ product_sequence/models/__init__.py | 23 ++++++++ product_sequence/models/product_product.py | 67 ++++++++++++++++++++++ 9 files changed, 289 insertions(+) create mode 100644 product_sequence/README.rst create mode 100644 product_sequence/__init__.py create mode 100644 product_sequence/__openerp__.py create mode 100644 product_sequence/data/product_sequence.xml create mode 100644 product_sequence/i18n/ca.po create mode 100644 product_sequence/i18n/es.po create mode 100644 product_sequence/i18n/product_sequence.pot create mode 100644 product_sequence/models/__init__.py create mode 100644 product_sequence/models/product_product.py diff --git a/product_sequence/README.rst b/product_sequence/README.rst new file mode 100644 index 000000000000..ea587923ab3f --- /dev/null +++ b/product_sequence/README.rst @@ -0,0 +1,26 @@ +A module that adds sequence to the product. +=========================================== + +This module allows to associate a sequence to the product reference. +The reference (default code) is unique (SQL constraint) and required. + +Credits +======= + +Contributors +------------ + +* Angel Moya + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://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 http://odoo-community.org. diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py new file mode 100644 index 000000000000..0e1714dc70de --- /dev/null +++ b/product_sequence/__init__.py @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (c) 2015 Domatix (http://domatix.com) +# Angel Moua +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +from . import models diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py new file mode 100644 index 000000000000..f5b2067f3f18 --- /dev/null +++ b/product_sequence/__openerp__.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) +# All Rights Reserved. +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +{ + 'name': 'Product Sequence', + 'version': '0.1', + 'author': 'Zikzakmedia SL', + 'website': 'http://www.zikzakmedia.com', + 'license': 'AGPL-3', + 'category': 'Generic Modules/Inventory Control', + 'depends': [ + 'product', + ], + 'data': [ + 'data/product_sequence.xml', + ], + 'auto_install': False, + 'installable': True, +} diff --git a/product_sequence/data/product_sequence.xml b/product_sequence/data/product_sequence.xml new file mode 100644 index 000000000000..f6f4ad48377e --- /dev/null +++ b/product_sequence/data/product_sequence.xml @@ -0,0 +1,17 @@ + + + + + + Product + product.product + + + + Product + product.product + + PR/ + + + diff --git a/product_sequence/i18n/ca.po b/product_sequence/i18n/ca.po new file mode 100644 index 000000000000..18ab3d9b7624 --- /dev/null +++ b/product_sequence/i18n/ca.po @@ -0,0 +1,27 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.3\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2012-02-08 12:12+0000\n" +"PO-Revision-Date: 2014-03-12 12:34+0000\n" +"Last-Translator: jmartin (Zikzakmedia) \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" +"X-Generator: Launchpad (build 17007)\n" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Producte" + +#. module: product_sequence +#: constraint:product.product:0 +msgid "Error: Invalid ean code" +msgstr "Error: Codi EAN invàlid" diff --git a/product_sequence/i18n/es.po b/product_sequence/i18n/es.po new file mode 100644 index 000000000000..8857b50eb00d --- /dev/null +++ b/product_sequence/i18n/es.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# angel , 2015. +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-01-13 22:04+0000\n" +"PO-Revision-Date: 2015-01-13 23:06+0200\n" +"Last-Translator: angel \n" +"Language-Team: Domatix\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" +"X-Generator: Virtaal 0.7.1\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:64 +#, python-format +msgid "-copy" +msgstr "-copia" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Producto" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "La referencia debe ser única" diff --git a/product_sequence/i18n/product_sequence.pot b/product_sequence/i18n/product_sequence.pot new file mode 100644 index 000000000000..4242d9e17b69 --- /dev/null +++ b/product_sequence/i18n/product_sequence.pot @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-01-13 22:04+0000\n" +"PO-Revision-Date: 2015-01-13 22:04+0000\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: product_sequence +#: code:addons/product_sequence/models/product_product.py:64 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" + diff --git a/product_sequence/models/__init__.py b/product_sequence/models/__init__.py new file mode 100644 index 000000000000..4804aac3f0a8 --- /dev/null +++ b/product_sequence/models/__init__.py @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (c) 2015 Domatix (http://domatix.com) +# Angel Moya +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +from . import product_product diff --git a/product_sequence/models/product_product.py b/product_sequence/models/product_product.py new file mode 100644 index 000000000000..00d69fdcabd8 --- /dev/null +++ b/product_sequence/models/product_product.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +from openerp import models, fields, api +from openerp.tools.translate import _ + + +class ProductProduct(models.Model): + _inherit = 'product.product' + + default_code = fields.Char( + string='Reference', + size=64, + select=True, + required=True, + default='/') + + _sql_constraints = [ + ('uniq_default_code', + 'unique(default_code)', + 'The reference must be unique'), + ] + + @api.model + def create(self, vals): + if 'default_code' not in vals or vals['default_code'] == '/': + vals['default_code'] = self.env['ir.sequence'].get( + 'product.product') + return super(ProductProduct, self).create(vals) + + @api.multi + def write(self, vals): + for product in self: + if product.default_code in [False, '/']: + vals['default_code'] = self.env['ir.sequence'].get( + 'product.product') + super(ProductProduct, product).write(vals) + return True + + @api.one + def copy(self, default=None): + if default is None: + default = {} + if self.default_code: + default.update({ + 'default_code': self.default_code + _('-copy'), + }) + + return super(ProductProduct, self).copy(default) From 943926a20bcc4511ea0d49d3f5b9200bb80b321e Mon Sep 17 00:00:00 2001 From: Malte Jacobi Date: Tue, 31 Mar 2015 21:48:21 +0200 Subject: [PATCH 12/24] Added german translation --- product_sequence/i18n/de.po | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 product_sequence/i18n/de.po diff --git a/product_sequence/i18n/de.po b/product_sequence/i18n/de.po new file mode 100644 index 000000000000..2c23872f381c --- /dev/null +++ b/product_sequence/i18n/de.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-01-13 22:04+0000\n" +"PO-Revision-Date: 2015-03-31 22:04+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:64 +#, python-format +msgid "-copy" +msgstr "-kopie" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Produkt" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "Die Referenz muss eindeutig sein" From 9019edea2851dd35a986a3fc0130f18dd3dff7ce Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Fri, 22 May 2015 19:45:27 +0200 Subject: [PATCH 13/24] Add bug tracker link on README.rst --- product_sequence/README.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/product_sequence/README.rst b/product_sequence/README.rst index ea587923ab3f..e10510ced867 100644 --- a/product_sequence/README.rst +++ b/product_sequence/README.rst @@ -4,6 +4,16 @@ A module that adds sequence to the product. This module allows to associate a sequence to the product reference. The reference (default code) is unique (SQL constraint) and required. + +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 +`here `_. + + Credits ======= From 4cfdd0466e559c461fe177261e3ec60a229ff484 Mon Sep 17 00:00:00 2001 From: Graeme Gellatly Date: Thu, 18 Jun 2015 11:10:27 +1200 Subject: [PATCH 14/24] product_sequence Add pre_init_hook to manually set nulls and '/' default codes to a unique code to greenify branch add pragma to pre_init method as it must have completed successfully if module installs --- product_sequence/README.rst | 10 +++++++++- product_sequence/__init__.py | 1 + product_sequence/__openerp__.py | 4 ++++ product_sequence/demo/product_product.xml | 16 ++++++++++++++++ product_sequence/models/product_product.py | 13 +++++++++++++ 5 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 product_sequence/demo/product_product.xml diff --git a/product_sequence/README.rst b/product_sequence/README.rst index e10510ced867..d5b963c35648 100644 --- a/product_sequence/README.rst +++ b/product_sequence/README.rst @@ -4,6 +4,14 @@ A module that adds sequence to the product. This module allows to associate a sequence to the product reference. The reference (default code) is unique (SQL constraint) and required. +Installation +============ + +Prior to installing this module, if you have any existing products you should ensure +they already have a unique reference (or no reference) set. Products with a default_code of +'/' or empty will automatically be assigned a code of "!!mig!!" followed by the system id for that product. + +Otherwise the setting of the unique constraint will fail and the module will fail to install. Bug Tracker =========== @@ -13,7 +21,6 @@ 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 `here `_. - Credits ======= @@ -21,6 +28,7 @@ Contributors ------------ * Angel Moya +* Graeme Gellatly Maintainer ---------- diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py index 0e1714dc70de..6627d18f655e 100644 --- a/product_sequence/__init__.py +++ b/product_sequence/__init__.py @@ -21,3 +21,4 @@ ############################################################################## from . import models +from .models.product_product import update_null_and_slash_codes diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index f5b2067f3f18..ed6e1f9f43c2 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -34,6 +34,10 @@ 'data': [ 'data/product_sequence.xml', ], + 'demo': [ + 'demo/product_product.xml' + ], + 'pre_init_hook': 'update_null_and_slash_codes', 'auto_install': False, 'installable': True, } diff --git a/product_sequence/demo/product_product.xml b/product_sequence/demo/product_product.xml new file mode 100644 index 000000000000..a570eb617a0a --- /dev/null +++ b/product_sequence/demo/product_product.xml @@ -0,0 +1,16 @@ + + + + + SERVICE + + + + OSM + + + + OSA + + + diff --git a/product_sequence/models/product_product.py b/product_sequence/models/product_product.py index 00d69fdcabd8..f8fb8b5dcc7a 100644 --- a/product_sequence/models/product_product.py +++ b/product_sequence/models/product_product.py @@ -23,6 +23,19 @@ from openerp.tools.translate import _ +def update_null_and_slash_codes(cr): # pragma: no cover + """ + Updates existing codes matching the default '/' or + empty. Primarily this ensures installation does not + fail for demo data. + :param cr: database cursor + :return: void + """ + cr.execute("UPDATE product_product " + "SET default_code = '!!mig!!' || id " + "WHERE default_code IS NULL OR default_code = '/';") + + class ProductProduct(models.Model): _inherit = 'product.product' From 8b3dfc8a6fe5e4ee2ce60999ee6da8102b15f994 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 18 Aug 2015 11:05:43 +0200 Subject: [PATCH 15/24] Add missing default oca icons --- product_sequence/static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 product_sequence/static/description/icon.png diff --git a/product_sequence/static/description/icon.png b/product_sequence/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 a8f33abe44862b7f4ecb6f8d4b80a36746a144eb Mon Sep 17 00:00:00 2001 From: SodexisTeam Date: Mon, 24 Oct 2016 15:03:49 +0530 Subject: [PATCH 16/24] product_sequence (#156) --- product_sequence/README.rst | 17 ++++++- product_sequence/__init__.py | 27 ++-------- product_sequence/__openerp__.py | 30 +++-------- product_sequence/data/product_sequence.xml | 17 ++++--- product_sequence/demo/product_product.xml | 31 ++++++----- product_sequence/hooks.py | 17 +++++++ product_sequence/models/__init__.py | 25 ++------- product_sequence/models/product_product.py | 51 ++++--------------- product_sequence/tests/__init__.py | 5 ++ .../tests/test_product_sequence.py | 49 ++++++++++++++++++ 10 files changed, 137 insertions(+), 132 deletions(-) create mode 100644 product_sequence/hooks.py create mode 100644 product_sequence/tests/__init__.py create mode 100644 product_sequence/tests/test_product_sequence.py diff --git a/product_sequence/README.rst b/product_sequence/README.rst index d5b963c35648..6bae50163f4f 100644 --- a/product_sequence/README.rst +++ b/product_sequence/README.rst @@ -1,5 +1,10 @@ -A module that adds sequence to the product. -=========================================== +.. 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 + +================ +Product Sequence +================ This module allows to associate a sequence to the product reference. The reference (default code) is unique (SQL constraint) and required. @@ -13,6 +18,13 @@ they already have a unique reference (or no reference) set. Products with a def Otherwise the setting of the unique constraint will fail and the module will fail to install. +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/135/9.0 + Bug Tracker =========== @@ -29,6 +41,7 @@ Contributors * Angel Moya * Graeme Gellatly +* Sodexis Maintainer ---------- diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py index 6627d18f655e..eee5f214b0bd 100644 --- a/product_sequence/__init__.py +++ b/product_sequence/__init__.py @@ -1,24 +1,7 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (c) 2015 Domatix (http://domatix.com) -# Angel Moua -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# -*- coding: utf-8 -*- +# © 2004 Tiny SPRL +# © 2016 Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models -from .models.product_product import update_null_and_slash_codes +from .hooks import pre_init_hook diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index ed6e1f9f43c2..606fec0807c8 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -1,30 +1,12 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) -# All Rights Reserved. -# $Id$ -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2004 Tiny SPRL +# © 2016 Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Product Sequence', - 'version': '0.1', - 'author': 'Zikzakmedia SL', + 'version': '9.0.1.0.0', + 'author': "Zikzakmedia SL,Sodexis,Odoo Community Association (OCA)", 'website': 'http://www.zikzakmedia.com', 'license': 'AGPL-3', 'category': 'Generic Modules/Inventory Control', @@ -37,7 +19,7 @@ 'demo': [ 'demo/product_product.xml' ], - 'pre_init_hook': 'update_null_and_slash_codes', + 'pre_init_hook': 'pre_init_hook', 'auto_install': False, 'installable': True, } diff --git a/product_sequence/data/product_sequence.xml b/product_sequence/data/product_sequence.xml index f6f4ad48377e..d95dd288fb58 100644 --- a/product_sequence/data/product_sequence.xml +++ b/product_sequence/data/product_sequence.xml @@ -1,12 +1,13 @@ - - - - - Product - product.product - + + + Product product.product @@ -14,4 +15,4 @@ PR/ - + diff --git a/product_sequence/demo/product_product.xml b/product_sequence/demo/product_product.xml index a570eb617a0a..0bb9a49a352a 100644 --- a/product_sequence/demo/product_product.xml +++ b/product_sequence/demo/product_product.xml @@ -1,16 +1,19 @@ - - - - SERVICE - + - - OSM - - - - OSA - - - + + + SERVICE + + + OSM + + + OSA + + diff --git a/product_sequence/hooks.py b/product_sequence/hooks.py new file mode 100644 index 000000000000..ab9394c0612b --- /dev/null +++ b/product_sequence/hooks.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# © 2004 Tiny SPRL +# © 2016 Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +def pre_init_hook(cr): + """ + Updates existing codes matching the default '/' or + empty. Primarily this ensures installation does not + fail for demo data. + :param cr: database cursor + :return: void + """ + cr.execute("UPDATE product_product " + "SET default_code = '!!mig!!' || id " + "WHERE default_code IS NULL OR default_code = '/';") diff --git a/product_sequence/models/__init__.py b/product_sequence/models/__init__.py index 4804aac3f0a8..50419910d239 100644 --- a/product_sequence/models/__init__.py +++ b/product_sequence/models/__init__.py @@ -1,23 +1,6 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (c) 2015 Domatix (http://domatix.com) -# Angel Moya -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# -*- coding: utf-8 -*- +# © 2004 Tiny SPRL +# © 2016 Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import product_product diff --git a/product_sequence/models/product_product.py b/product_sequence/models/product_product.py index f8fb8b5dcc7a..9cfe4c7ecf63 100644 --- a/product_sequence/models/product_product.py +++ b/product_sequence/models/product_product.py @@ -1,39 +1,9 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2004 Tiny SPRL +# © 2016 Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api -from openerp.tools.translate import _ - - -def update_null_and_slash_codes(cr): # pragma: no cover - """ - Updates existing codes matching the default '/' or - empty. Primarily this ensures installation does not - fail for demo data. - :param cr: database cursor - :return: void - """ - cr.execute("UPDATE product_product " - "SET default_code = '!!mig!!' || id " - "WHERE default_code IS NULL OR default_code = '/';") +from openerp import models, fields, api, _ class ProductProduct(models.Model): @@ -42,7 +12,7 @@ class ProductProduct(models.Model): default_code = fields.Char( string='Reference', size=64, - select=True, + index=True, required=True, default='/') @@ -55,20 +25,20 @@ class ProductProduct(models.Model): @api.model def create(self, vals): if 'default_code' not in vals or vals['default_code'] == '/': - vals['default_code'] = self.env['ir.sequence'].get( - 'product.product') + sequence = self.env.ref('product_sequence.seq_product_auto') + vals['default_code'] = sequence.next_by_id() return super(ProductProduct, self).create(vals) @api.multi def write(self, vals): for product in self: if product.default_code in [False, '/']: - vals['default_code'] = self.env['ir.sequence'].get( - 'product.product') + sequence = self.env.ref('product_sequence.seq_product_auto') + vals['default_code'] = sequence.next_by_id() super(ProductProduct, product).write(vals) return True - @api.one + @api.multi def copy(self, default=None): if default is None: default = {} @@ -76,5 +46,4 @@ def copy(self, default=None): default.update({ 'default_code': self.default_code + _('-copy'), }) - return super(ProductProduct, self).copy(default) diff --git a/product_sequence/tests/__init__.py b/product_sequence/tests/__init__.py new file mode 100644 index 000000000000..18a8bc676789 --- /dev/null +++ b/product_sequence/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © 2016 Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_product_sequence diff --git a/product_sequence/tests/test_product_sequence.py b/product_sequence/tests/test_product_sequence.py new file mode 100644 index 000000000000..a823c45cc00b --- /dev/null +++ b/product_sequence/tests/test_product_sequence.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# © 2016 Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp.tests.common import TransactionCase +from ..hooks import pre_init_hook + + +class TestProductSequence(TransactionCase): + """Tests for creating product with and without Product Sequence""" + + def setUp(self): + super(TestProductSequence, self).setUp() + self.product_product = self.env['product.product'] + + def test_product_create_with_default_code(self): + product = self.product_product.create(dict( + name="Apple", + default_code='PROD01' + )) + self.assertEqual(product.default_code, 'PROD01') + + def test_product_create_without_default_code(self): + product_1 = self.product_product.create(dict( + name="Orange", + default_code='/')) + self.assertRegexpMatches(str(product_1.default_code), r'PR/*') + + def test_product_copy(self): + product_2 = self.product_product.create(dict( + name="Apple", + default_code='PROD02' + )) + copy_product_2 = product_2.copy() + self.assertEqual(copy_product_2.default_code, 'PROD02-copy') + + def test_pre_init_hook(self): + product_3 = self.product_product.create(dict( + name="Apple", + default_code='PROD03' + )) + self.cr.execute( + "update product_product set default_code='/' where id=%s" + % (product_3.id,)) + product_3.invalidate_cache() + self.assertEqual(product_3.default_code, '/') + pre_init_hook(self.cr) + product_3.invalidate_cache() + self.assertEqual(product_3.default_code, '!!mig!!%s' % (product_3.id,)) From cf0e426132ae2a9763f4c66111f54fe136cd5a80 Mon Sep 17 00:00:00 2001 From: "Atchuthan, Sodexis" Date: Mon, 24 Oct 2016 18:59:30 +0530 Subject: [PATCH 17/24] [MIG][10.0] migrate product_sequence --- product_sequence/README.rst | 27 ++++++++++++------- product_sequence/__init__.py | 4 +-- product_sequence/__openerp__.py | 9 +++---- product_sequence/data/product_sequence.xml | 20 +++++++------- product_sequence/demo/product_product.xml | 19 ------------- product_sequence/hooks.py | 4 +-- product_sequence/models/__init__.py | 4 +-- product_sequence/models/product_product.py | 12 ++++----- product_sequence/tests/__init__.py | 2 +- .../tests/test_product_sequence.py | 4 +-- 10 files changed, 43 insertions(+), 62 deletions(-) delete mode 100644 product_sequence/demo/product_product.xml diff --git a/product_sequence/README.rst b/product_sequence/README.rst index 6bae50163f4f..96b40145e8e0 100644 --- a/product_sequence/README.rst +++ b/product_sequence/README.rst @@ -1,7 +1,7 @@ .. 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 - + ================ Product Sequence ================ @@ -23,19 +23,24 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/9.0 + :target: https://runbot.odoo-community.org/runbot/135/10.0 Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback -`here `_. +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. Credits ======= +Images +------ + +* Odoo Community Association: `Icon `_. + Contributors ------------ @@ -46,12 +51,14 @@ Contributors Maintainer ---------- -.. image:: http://odoo-community.org/logo.png +.. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association - :target: http://odoo-community.org + :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. +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 http://odoo-community.org. +To contribute to this module, please visit https://odoo-community.org. \ No newline at end of file diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py index eee5f214b0bd..99a82a1f8d80 100644 --- a/product_sequence/__init__.py +++ b/product_sequence/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# © 2004 Tiny SPRL -# © 2016 Sodexis +# Copyright 2004 Tiny SPRL +# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index 606fec0807c8..6f094fb62337 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -1,11 +1,11 @@ # -*- coding: utf-8 -*- -# © 2004 Tiny SPRL -# © 2016 Sodexis +# Copyright 2004 Tiny SPRL +# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Product Sequence', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'author': "Zikzakmedia SL,Sodexis,Odoo Community Association (OCA)", 'website': 'http://www.zikzakmedia.com', 'license': 'AGPL-3', @@ -16,9 +16,6 @@ 'data': [ 'data/product_sequence.xml', ], - 'demo': [ - 'demo/product_product.xml' - ], 'pre_init_hook': 'pre_init_hook', 'auto_install': False, 'installable': True, diff --git a/product_sequence/data/product_sequence.xml b/product_sequence/data/product_sequence.xml index d95dd288fb58..d68ccdc4e9a5 100644 --- a/product_sequence/data/product_sequence.xml +++ b/product_sequence/data/product_sequence.xml @@ -1,18 +1,16 @@ - - - - Product - product.product - - PR/ - - + + + Product + product.product + + PR/ + diff --git a/product_sequence/demo/product_product.xml b/product_sequence/demo/product_product.xml deleted file mode 100644 index 0bb9a49a352a..000000000000 --- a/product_sequence/demo/product_product.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - SERVICE - - - OSM - - - OSA - - diff --git a/product_sequence/hooks.py b/product_sequence/hooks.py index ab9394c0612b..8629ef1e822c 100644 --- a/product_sequence/hooks.py +++ b/product_sequence/hooks.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# © 2004 Tiny SPRL -# © 2016 Sodexis +# Copyright 2004 Tiny SPRL +# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/product_sequence/models/__init__.py b/product_sequence/models/__init__.py index 50419910d239..c01752205e56 100644 --- a/product_sequence/models/__init__.py +++ b/product_sequence/models/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# © 2004 Tiny SPRL -# © 2016 Sodexis +# Copyright 2004 Tiny SPRL +# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import product_product diff --git a/product_sequence/models/product_product.py b/product_sequence/models/product_product.py index 9cfe4c7ecf63..df634b2383c7 100644 --- a/product_sequence/models/product_product.py +++ b/product_sequence/models/product_product.py @@ -1,20 +1,18 @@ # -*- coding: utf-8 -*- -# © 2004 Tiny SPRL -# © 2016 Sodexis +# Copyright 2004 Tiny SPRL +# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ +from odoo import models, fields, api, _ class ProductProduct(models.Model): _inherit = 'product.product' default_code = fields.Char( - string='Reference', - size=64, - index=True, required=True, - default='/') + default='/' + ) _sql_constraints = [ ('uniq_default_code', diff --git a/product_sequence/tests/__init__.py b/product_sequence/tests/__init__.py index 18a8bc676789..fa1c63d662ba 100644 --- a/product_sequence/tests/__init__.py +++ b/product_sequence/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# © 2016 Sodexis +# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_product_sequence diff --git a/product_sequence/tests/test_product_sequence.py b/product_sequence/tests/test_product_sequence.py index a823c45cc00b..9d344dbd2cd5 100644 --- a/product_sequence/tests/test_product_sequence.py +++ b/product_sequence/tests/test_product_sequence.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -# © 2016 Sodexis +# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp.tests.common import TransactionCase +from odoo.tests.common import TransactionCase from ..hooks import pre_init_hook From 5b1988fdf92ccf929e6d8e9ebc77557d6fabab8b Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 29 Nov 2016 09:25:01 -0500 Subject: [PATCH 18/24] OCA Transbot updated translations from Transifex --- product_sequence/i18n/ar.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/bg.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/bs.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/ca.po | 38 +++++++++++++---------- product_sequence/i18n/cs.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/da.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/de.po | 22 +++++++------- product_sequence/i18n/el.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/es.po | 19 ++++++------ product_sequence/i18n/es_AR.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/es_CR.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/es_EC.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/es_MX.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/es_VE.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/et.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/fi.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/fr.po | 35 ++++++++++++++++++++++ product_sequence/i18n/gl.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/hr.po | 35 ++++++++++++++++++++++ product_sequence/i18n/hu.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/it.po | 35 ++++++++++++++++++++++ product_sequence/i18n/ja.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/lt.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/mk.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/mn.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/nb.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/nl.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/pl.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/pt.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/pt_BR.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/ro.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/ru.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/sl.po | 35 ++++++++++++++++++++++ product_sequence/i18n/sr.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/sv.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/tr.po | 55 ++++++++++++++++++++++++++++++++++ product_sequence/i18n/zh_CN.po | 55 ++++++++++++++++++++++++++++++++++ 37 files changed, 1835 insertions(+), 34 deletions(-) create mode 100644 product_sequence/i18n/ar.po create mode 100644 product_sequence/i18n/bg.po create mode 100644 product_sequence/i18n/bs.po create mode 100644 product_sequence/i18n/cs.po create mode 100644 product_sequence/i18n/da.po create mode 100644 product_sequence/i18n/el.po create mode 100644 product_sequence/i18n/es_AR.po create mode 100644 product_sequence/i18n/es_CR.po create mode 100644 product_sequence/i18n/es_EC.po create mode 100644 product_sequence/i18n/es_MX.po create mode 100644 product_sequence/i18n/es_VE.po create mode 100644 product_sequence/i18n/et.po create mode 100644 product_sequence/i18n/fi.po create mode 100644 product_sequence/i18n/fr.po create mode 100644 product_sequence/i18n/gl.po create mode 100644 product_sequence/i18n/hr.po create mode 100644 product_sequence/i18n/hu.po create mode 100644 product_sequence/i18n/it.po create mode 100644 product_sequence/i18n/ja.po create mode 100644 product_sequence/i18n/lt.po create mode 100644 product_sequence/i18n/mk.po create mode 100644 product_sequence/i18n/mn.po create mode 100644 product_sequence/i18n/nb.po create mode 100644 product_sequence/i18n/nl.po create mode 100644 product_sequence/i18n/pl.po create mode 100644 product_sequence/i18n/pt.po create mode 100644 product_sequence/i18n/pt_BR.po create mode 100644 product_sequence/i18n/ro.po create mode 100644 product_sequence/i18n/ru.po create mode 100644 product_sequence/i18n/sl.po create mode 100644 product_sequence/i18n/sr.po create mode 100644 product_sequence/i18n/sv.po create mode 100644 product_sequence/i18n/tr.po create mode 100644 product_sequence/i18n/zh_CN.po diff --git a/product_sequence/i18n/ar.po b/product_sequence/i18n/ar.po new file mode 100644 index 000000000000..042e3103ff60 --- /dev/null +++ b/product_sequence/i18n/ar.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "مصنّع" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/bg.po b/product_sequence/i18n/bg.po new file mode 100644 index 000000000000..dc05a9701c67 --- /dev/null +++ b/product_sequence/i18n/bg.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Производител" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/bs.po b/product_sequence/i18n/bs.po new file mode 100644 index 000000000000..d9b9237e4609 --- /dev/null +++ b/product_sequence/i18n/bs.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bs\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: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Proizvođač" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/ca.po b/product_sequence/i18n/ca.po index 18ab3d9b7624..1fc0b2b3868a 100644 --- a/product_sequence/i18n/ca.po +++ b/product_sequence/i18n/ca.po @@ -1,20 +1,28 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * product_sequence -# +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 6.0.3\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2012-02-08 12:12+0000\n" -"PO-Revision-Date: 2014-03-12 12:34+0000\n" -"Last-Translator: jmartin (Zikzakmedia) \n" -"Language-Team: \n" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-05 02:44+0000\n" +"PO-Revision-Date: 2017-05-05 02:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" -"X-Generator: Launchpad (build 17007)\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product @@ -22,6 +30,6 @@ msgid "Product" msgstr "Producte" #. module: product_sequence -#: constraint:product.product:0 -msgid "Error: Invalid ean code" -msgstr "Error: Codi EAN invàlid" +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/cs.po b/product_sequence/i18n/cs.po new file mode 100644 index 000000000000..deca3eba1742 --- /dev/null +++ b/product_sequence/i18n/cs.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Výrobce" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/da.po b/product_sequence/i18n/da.po new file mode 100644 index 000000000000..cff3a6580c06 --- /dev/null +++ b/product_sequence/i18n/da.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Producent" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/de.po b/product_sequence/i18n/de.po index 2c23872f381c..d72e0c0abca0 100644 --- a/product_sequence/i18n/de.po +++ b/product_sequence/i18n/de.po @@ -1,23 +1,25 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * product_sequence -# +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-01-13 22:04+0000\n" -"PO-Revision-Date: 2015-03-31 22:04+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"Language: de\n" +"POT-Creation-Date: 2017-05-05 02:44+0000\n" +"PO-Revision-Date: 2017-05-05 02:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:64 +#: code:addons/product_sequence/models/product_product.py:45 #, python-format msgid "-copy" msgstr "-kopie" diff --git a/product_sequence/i18n/el.po b/product_sequence/i18n/el.po new file mode 100644 index 000000000000..dd72e4cb203c --- /dev/null +++ b/product_sequence/i18n/el.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Greek (https://www.transifex.com/oca/teams/23907/el/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Κατασκευαστής" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/es.po b/product_sequence/i18n/es.po index 8857b50eb00d..2d0e82c59f66 100644 --- a/product_sequence/i18n/es.po +++ b/product_sequence/i18n/es.po @@ -1,24 +1,25 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# angel , 2015. +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-01-13 22:04+0000\n" -"PO-Revision-Date: 2015-01-13 23:06+0200\n" -"Last-Translator: angel \n" -"Language-Team: Domatix\n" -"Language: es\n" +"POT-Creation-Date: 2017-05-05 02:44+0000\n" +"PO-Revision-Date: 2017-05-05 02:44+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" +"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Virtaal 0.7.1\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:64 +#: code:addons/product_sequence/models/product_product.py:45 #, python-format msgid "-copy" msgstr "-copia" diff --git a/product_sequence/i18n/es_AR.po b/product_sequence/i18n/es_AR.po new file mode 100644 index 000000000000..8dc7dd826c7f --- /dev/null +++ b/product_sequence/i18n/es_AR.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/teams/23907/es_AR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_AR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/es_CR.po b/product_sequence/i18n/es_CR.po new file mode 100644 index 000000000000..faaafba13742 --- /dev/null +++ b/product_sequence/i18n/es_CR.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/es_EC.po b/product_sequence/i18n/es_EC.po new file mode 100644 index 000000000000..b3c8278e2bfe --- /dev/null +++ b/product_sequence/i18n/es_EC.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_EC\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/es_MX.po b/product_sequence/i18n/es_MX.po new file mode 100644 index 000000000000..d517328021c5 --- /dev/null +++ b/product_sequence/i18n/es_MX.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/es_VE.po b/product_sequence/i18n/es_VE.po new file mode 100644 index 000000000000..e814028a9026 --- /dev/null +++ b/product_sequence/i18n/es_VE.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/et.po b/product_sequence/i18n/et.po new file mode 100644 index 000000000000..ef731edc077f --- /dev/null +++ b/product_sequence/i18n/et.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Tootja" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/fi.po b/product_sequence/i18n/fi.po new file mode 100644 index 000000000000..83f22a2cfc43 --- /dev/null +++ b/product_sequence/i18n/fi.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Valmistaja" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/fr.po b/product_sequence/i18n/fr.po new file mode 100644 index 000000000000..5cb963c7dc84 --- /dev/null +++ b/product_sequence/i18n/fr.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-23 02:40+0000\n" +"PO-Revision-Date: 2017-05-23 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Article" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/gl.po b/product_sequence/i18n/gl.po new file mode 100644 index 000000000000..dfa24bc55bf1 --- /dev/null +++ b/product_sequence/i18n/gl.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/hr.po b/product_sequence/i18n/hr.po new file mode 100644 index 000000000000..a62e083098f0 --- /dev/null +++ b/product_sequence/i18n/hr.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# Bole , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-03 02:14+0000\n" +"PO-Revision-Date: 2018-01-03 02:14+0000\n" +"Last-Translator: Bole , 2018\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "-kopija" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Proizvod" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "Referenca mora biti jedinstvena" diff --git a/product_sequence/i18n/hu.po b/product_sequence/i18n/hu.po new file mode 100644 index 000000000000..86f194cac853 --- /dev/null +++ b/product_sequence/i18n/hu.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Gyártó" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/it.po b/product_sequence/i18n/it.po new file mode 100644 index 000000000000..aa3c06440e9c --- /dev/null +++ b/product_sequence/i18n/it.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-05 02:44+0000\n" +"PO-Revision-Date: 2017-05-05 02:44+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Prodotto" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/ja.po b/product_sequence/i18n/ja.po new file mode 100644 index 000000000000..0bf72e2e2936 --- /dev/null +++ b/product_sequence/i18n/ja.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "製造者" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/lt.po b/product_sequence/i18n/lt.po new file mode 100644 index 000000000000..f16c6d1d92eb --- /dev/null +++ b/product_sequence/i18n/lt.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Gamintojas" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/mk.po b/product_sequence/i18n/mk.po new file mode 100644 index 000000000000..86cc55fc676c --- /dev/null +++ b/product_sequence/i18n/mk.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mk\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Производител" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/mn.po b/product_sequence/i18n/mn.po new file mode 100644 index 000000000000..854e435a195e --- /dev/null +++ b/product_sequence/i18n/mn.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Үйлдвэрлэгч" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/nb.po b/product_sequence/i18n/nb.po new file mode 100644 index 000000000000..cceddbfd1abe --- /dev/null +++ b/product_sequence/i18n/nb.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Produsent" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/nl.po b/product_sequence/i18n/nl.po new file mode 100644 index 000000000000..e0329db97095 --- /dev/null +++ b/product_sequence/i18n/nl.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabrikant" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/pl.po b/product_sequence/i18n/pl.po new file mode 100644 index 000000000000..de32498468a0 --- /dev/null +++ b/product_sequence/i18n/pl.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Producent" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/pt.po b/product_sequence/i18n/pt.po new file mode 100644 index 000000000000..11ca6eadcef3 --- /dev/null +++ b/product_sequence/i18n/pt.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/pt_BR.po b/product_sequence/i18n/pt_BR.po new file mode 100644 index 000000000000..f5bd9d689c7b --- /dev/null +++ b/product_sequence/i18n/pt_BR.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Fabricante" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/ro.po b/product_sequence/i18n/ro.po new file mode 100644 index 000000000000..d97608edfe20 --- /dev/null +++ b/product_sequence/i18n/ro.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Producator" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/ru.po b/product_sequence/i18n/ru.po new file mode 100644 index 000000000000..a8bfbf6d10ed --- /dev/null +++ b/product_sequence/i18n/ru.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Производитель" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/sl.po b/product_sequence/i18n/sl.po new file mode 100644 index 000000000000..9143693cc74d --- /dev/null +++ b/product_sequence/i18n/sl.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# 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:49+0000\n" +"PO-Revision-Date: 2018-01-27 03:49+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "Proizvod" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/sr.po b/product_sequence/i18n/sr.po new file mode 100644 index 000000000000..1feb80c76a7e --- /dev/null +++ b/product_sequence/i18n/sr.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Serbian (https://www.transifex.com/oca/teams/23907/sr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr\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: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Proizvođač" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/sv.po b/product_sequence/i18n/sv.po new file mode 100644 index 000000000000..786f6f96155b --- /dev/null +++ b/product_sequence/i18n/sv.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Tillverkare" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/tr.po b/product_sequence/i18n/tr.po new file mode 100644 index 000000000000..f4faa64d8d70 --- /dev/null +++ b/product_sequence/i18n/tr.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "Üretici" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" diff --git a/product_sequence/i18n/zh_CN.po b/product_sequence/i18n/zh_CN.po new file mode 100644 index 000000000000..cf7a5588f29b --- /dev/null +++ b/product_sequence/i18n/zh_CN.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-01 20:03+0000\n" +"PO-Revision-Date: 2016-11-01 20:03+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:45 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref +msgid "Manuf. Product Code" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname +msgid "Manuf. Product Name" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl +msgid "Manuf. Product URL" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer +msgid "Manufacturer" +msgstr "制造商" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" From 76390eec6b6d0f537d1fd9e4bdd849f21aa58c92 Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Tue, 20 Mar 2018 12:10:18 +0100 Subject: [PATCH 19/24] [11.0][MIG/IMP] product_sequence: * Migration to v11 * Support sequence by Product Category --- product_sequence/README.rst | 26 ++++-- product_sequence/__init__.py | 3 - product_sequence/__openerp__.py | 9 +- product_sequence/hooks.py | 9 +- product_sequence/models/__init__.py | 4 +- product_sequence/models/product_category.py | 91 +++++++++++++++++++++ product_sequence/models/product_product.py | 42 ++++++++-- product_sequence/tests/__init__.py | 2 - product_sequence/views/product_category.xml | 22 +++++ 9 files changed, 179 insertions(+), 29 deletions(-) create mode 100644 product_sequence/models/product_category.py create mode 100644 product_sequence/views/product_category.xml diff --git a/product_sequence/README.rst b/product_sequence/README.rst index 96b40145e8e0..255663a7d241 100644 --- a/product_sequence/README.rst +++ b/product_sequence/README.rst @@ -9,21 +9,34 @@ Product Sequence This module allows to associate a sequence to the product reference. The reference (default code) is unique (SQL constraint) and required. +You can optionally specify different sequences for different product +categories. + Installation ============ -Prior to installing this module, if you have any existing products you should ensure -they already have a unique reference (or no reference) set. Products with a default_code of -'/' or empty will automatically be assigned a code of "!!mig!!" followed by the system id for that product. +Prior to installing this module, if you have any existing products you should +ensure they already have a unique reference (or no reference) set. Products +with a default_code of '/' or empty will automatically be assigned a code of +"!!mig!!" followed by the system id for that product. -Otherwise the setting of the unique constraint will fail and the module will fail to install. +Otherwise the setting of the unique constraint will fail and the module will +fail to install. Usage ===== +To specify a different sequence for a product category proceed as follows: + +#. Go to the a Product Category form view. + (**note:** you will need to install Inventory app to be able to access to + the form view, *Inventory > Configuration > Products > Products Categories*; + or create a menuitem manually). +#. Fill the *Prefix for Product Internal Reference* as desired. + .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/10.0 + :target: https://runbot.odoo-community.org/runbot/135/11.0 Bug Tracker =========== @@ -47,6 +60,7 @@ Contributors * Angel Moya * Graeme Gellatly * Sodexis +* Lois Rilo Maintainer ---------- @@ -61,4 +75,4 @@ 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. \ No newline at end of file +To contribute to this module, please visit https://odoo-community.org. diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py index 99a82a1f8d80..4f08895518f4 100644 --- a/product_sequence/__init__.py +++ b/product_sequence/__init__.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- -# Copyright 2004 Tiny SPRL -# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index 6f094fb62337..685a77ce90f5 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -1,20 +1,23 @@ # -*- coding: utf-8 -*- # Copyright 2004 Tiny SPRL # Copyright 2016 Sodexis +# Copyright 2018 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Product Sequence', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'author': "Zikzakmedia SL,Sodexis,Odoo Community Association (OCA)", - 'website': 'http://www.zikzakmedia.com', + 'website': 'https://github.com/OCA/product-attribute', 'license': 'AGPL-3', - 'category': 'Generic Modules/Inventory Control', + 'category': 'Product', 'depends': [ 'product', ], 'data': [ 'data/product_sequence.xml', + 'views/product_category.xml', ], 'pre_init_hook': 'pre_init_hook', 'auto_install': False, diff --git a/product_sequence/hooks.py b/product_sequence/hooks.py index 8629ef1e822c..d56dccc1a16e 100644 --- a/product_sequence/hooks.py +++ b/product_sequence/hooks.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2004 Tiny SPRL # Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -12,6 +11,8 @@ def pre_init_hook(cr): :param cr: database cursor :return: void """ - cr.execute("UPDATE product_product " - "SET default_code = '!!mig!!' || id " - "WHERE default_code IS NULL OR default_code = '/';") + cr.execute( + "UPDATE product_product " + "SET default_code = '!!mig!!' || id " + "WHERE default_code IS NULL OR default_code = '/';" + ) diff --git a/product_sequence/models/__init__.py b/product_sequence/models/__init__.py index c01752205e56..0e8644b0ca96 100644 --- a/product_sequence/models/__init__.py +++ b/product_sequence/models/__init__.py @@ -1,6 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright 2004 Tiny SPRL -# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import product_product +from . import product_category diff --git a/product_sequence/models/product_category.py b/product_sequence/models/product_category.py new file mode 100644 index 000000000000..81ddc9e877b7 --- /dev/null +++ b/product_sequence/models/product_category.py @@ -0,0 +1,91 @@ +# Copyright 2018 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class ProductCategory(models.Model): + _inherit = 'product.category' + + code_prefix = fields.Char( + string="Prefix for Product Internal Reference", + help="Prefix used to generate the internal reference for products " + "created with this category. If blank the " + "default sequence will be used.", + company_dependent=True, + ) + sequence_id = fields.Many2one( + comodel_name="ir.sequence", string="Product Sequence", + help="This field contains the information related to the numbering " + "of the journal entries of this journal.", + copy=False, readonly=True, + ) + + @api.model + def _get_existing_sequence(self, prefix, company=False): + """Tries to find a valid sequence for the given prefix and company + (optional) + :param prefix: a string with the prefix of the sequence. + :param company: a res.company record. + :return: a single ir.sequence record or the empty model. + """ + domain = [ + ('prefix', '=', prefix), + ('code', 'ilike', 'product.product') + ] + if company: + domain.extend([ + '|', + ('company_id', '=', company.id), + ('company_id', '=', False), + ]) + return self.env["ir.sequence"].search( + domain, limit=1, order="company_id") + + @api.model + def _prepare_ir_sequence(self, prefix, company=False): + """Prepare the vals for creating the sequence + :param prefix: a string with the prefix of the sequence. + :param company: a res.company record. + :return: a dict with the values. + """ + vals = { + "name": "Product " + prefix, + "code": "product.product - " + prefix, + "padding": 5, + "prefix": prefix, + } + if company: + vals["company_id"] = company.id + return vals + + @api.model + def _get_default_company(self): + return self.env.user.company_id + + @api.multi + def write(self, vals): + prefix = vals.get("code_prefix") + if prefix: + sequence = self._get_existing_sequence( + prefix, company=self._get_default_company()) + if not sequence: + seq_vals = self._prepare_ir_sequence( + prefix, company=self._get_default_company()) + sequence = self.env["ir.sequence"].create(seq_vals) + vals["sequence_id"] = sequence.id + return super().write(vals) + + @api.model + def create(self, vals): + prefix = vals.get("code_prefix") + if prefix: + sequence = self._get_existing_sequence( + prefix, company=self._get_default_company()) + if not sequence: + seq_vals = self._prepare_ir_sequence( + prefix, company=self._get_default_company()) + sequence = self.env["ir.sequence"].create(seq_vals) + vals["sequence_id"] = sequence.id + return super().create(vals) diff --git a/product_sequence/models/product_product.py b/product_sequence/models/product_product.py index df634b2383c7..c40aaf6da5de 100644 --- a/product_sequence/models/product_product.py +++ b/product_sequence/models/product_product.py @@ -1,6 +1,7 @@ -# -*- coding: utf-8 -*- # Copyright 2004 Tiny SPRL # Copyright 2016 Sodexis +# Copyright 2018 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, fields, api, _ @@ -23,18 +24,43 @@ class ProductProduct(models.Model): @api.model def create(self, vals): if 'default_code' not in vals or vals['default_code'] == '/': - sequence = self.env.ref('product_sequence.seq_product_auto') + categ_id = vals.get("categ_id") + template_id = vals.get("product_tmpl_id") + categ = sequence = False + if categ_id: + # Created as a product.product + categ = self.env['product.category'].browse(categ_id) + elif template_id: + # Created from a product.template + template = self.env["product.template"].browse(template_id) + categ = template.categ_id + if categ: + sequence = categ.sequence_id + if not sequence: + sequence = self.env.ref('product_sequence.seq_product_auto') vals['default_code'] = sequence.next_by_id() return super(ProductProduct, self).create(vals) @api.multi def write(self, vals): - for product in self: - if product.default_code in [False, '/']: - sequence = self.env.ref('product_sequence.seq_product_auto') - vals['default_code'] = sequence.next_by_id() - super(ProductProduct, product).write(vals) - return True + """To assign a new internal reference, just write '/' on the field. + Note this is up to the user, if the product category is changed, + she/he will need to write '/' on the internal reference to force the + re-assignment.""" + if vals.get('default_code', '') in [False, '/']: + for product in self: + sequence = product.categ_id.sequence_id + if not sequence: + sequence = self.env.ref( + 'product_sequence.seq_product_auto') + ref = sequence.next_by_id() + vals['default_code'] = ref + super(ProductProduct, product).write(vals) + if len(product.product_tmpl_id.product_variant_ids) == 1: + # default code must match for variant and template. + product.product_tmpl_id.default_code = ref + return True + return super().write(vals) @api.multi def copy(self, default=None): diff --git a/product_sequence/tests/__init__.py b/product_sequence/tests/__init__.py index fa1c63d662ba..03fcfddc4c8b 100644 --- a/product_sequence/tests/__init__.py +++ b/product_sequence/tests/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# Copyright 2016 Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_product_sequence diff --git a/product_sequence/views/product_category.xml b/product_sequence/views/product_category.xml new file mode 100644 index 000000000000..a103f4f4e487 --- /dev/null +++ b/product_sequence/views/product_category.xml @@ -0,0 +1,22 @@ + + + + + + product.category.form - product_sequence + product.category + + + + + + + + From 5e223f91dfe050d52dd68a6c0576ea882c4a8a43 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Mon, 14 May 2018 12:30:45 +0200 Subject: [PATCH 20/24] fixes and adds tests --- product_sequence/__init__.py | 2 - product_sequence/models/__init__.py | 2 - product_sequence/models/product_category.py | 53 ++++--------------- product_sequence/models/product_product.py | 21 ++++---- product_sequence/tests/__init__.py | 2 - .../tests/test_product_sequence.py | 41 ++++++++++++++ 6 files changed, 63 insertions(+), 58 deletions(-) diff --git a/product_sequence/__init__.py b/product_sequence/__init__.py index 4f08895518f4..6d58305f5ddc 100644 --- a/product_sequence/__init__.py +++ b/product_sequence/__init__.py @@ -1,4 +1,2 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import models from .hooks import pre_init_hook diff --git a/product_sequence/models/__init__.py b/product_sequence/models/__init__.py index 0e8644b0ca96..fc780aa7b2d4 100644 --- a/product_sequence/models/__init__.py +++ b/product_sequence/models/__init__.py @@ -1,4 +1,2 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import product_product from . import product_category diff --git a/product_sequence/models/product_category.py b/product_sequence/models/product_category.py index 81ddc9e877b7..817f5a73cb1a 100644 --- a/product_sequence/models/product_category.py +++ b/product_sequence/models/product_category.py @@ -13,7 +13,6 @@ class ProductCategory(models.Model): help="Prefix used to generate the internal reference for products " "created with this category. If blank the " "default sequence will be used.", - company_dependent=True, ) sequence_id = fields.Many2one( comodel_name="ir.sequence", string="Product Sequence", @@ -23,31 +22,9 @@ class ProductCategory(models.Model): ) @api.model - def _get_existing_sequence(self, prefix, company=False): - """Tries to find a valid sequence for the given prefix and company - (optional) - :param prefix: a string with the prefix of the sequence. - :param company: a res.company record. - :return: a single ir.sequence record or the empty model. - """ - domain = [ - ('prefix', '=', prefix), - ('code', 'ilike', 'product.product') - ] - if company: - domain.extend([ - '|', - ('company_id', '=', company.id), - ('company_id', '=', False), - ]) - return self.env["ir.sequence"].search( - domain, limit=1, order="company_id") - - @api.model - def _prepare_ir_sequence(self, prefix, company=False): + def _prepare_ir_sequence(self, prefix): """Prepare the vals for creating the sequence :param prefix: a string with the prefix of the sequence. - :param company: a res.company record. :return: a dict with the values. """ vals = { @@ -55,37 +32,27 @@ def _prepare_ir_sequence(self, prefix, company=False): "code": "product.product - " + prefix, "padding": 5, "prefix": prefix, + "company_id": False, } - if company: - vals["company_id"] = company.id return vals - @api.model - def _get_default_company(self): - return self.env.user.company_id - @api.multi def write(self, vals): prefix = vals.get("code_prefix") if prefix: - sequence = self._get_existing_sequence( - prefix, company=self._get_default_company()) - if not sequence: - seq_vals = self._prepare_ir_sequence( - prefix, company=self._get_default_company()) - sequence = self.env["ir.sequence"].create(seq_vals) - vals["sequence_id"] = sequence.id + for rec in self: + if rec.sequence_id: + rec.sudo().sequence_id.prefix = prefix + else: + seq_vals = self._prepare_ir_sequence(prefix) + rec.sequence_id = self.env["ir.sequence"].create(seq_vals) return super().write(vals) @api.model def create(self, vals): prefix = vals.get("code_prefix") if prefix: - sequence = self._get_existing_sequence( - prefix, company=self._get_default_company()) - if not sequence: - seq_vals = self._prepare_ir_sequence( - prefix, company=self._get_default_company()) - sequence = self.env["ir.sequence"].create(seq_vals) + seq_vals = self._prepare_ir_sequence(prefix) + sequence = self.env["ir.sequence"].create(seq_vals) vals["sequence_id"] = sequence.id return super().create(vals) diff --git a/product_sequence/models/product_product.py b/product_sequence/models/product_product.py index c40aaf6da5de..9a5b4894c3b2 100644 --- a/product_sequence/models/product_product.py +++ b/product_sequence/models/product_product.py @@ -12,7 +12,10 @@ class ProductProduct(models.Model): default_code = fields.Char( required=True, - default='/' + default='/', + track_visibility='onchange', + help="Set to '/' and save if you want a new internal reference " + "to be proposed." ) _sql_constraints = [ @@ -47,20 +50,20 @@ def write(self, vals): Note this is up to the user, if the product category is changed, she/he will need to write '/' on the internal reference to force the re-assignment.""" - if vals.get('default_code', '') in [False, '/']: - for product in self: - sequence = product.categ_id.sequence_id + for product in self: + if vals.get('default_code', '') == '/': + category_id = vals.get('categ_id', product.categ_id.id) + category = self.env['product.category'].browse(category_id) + sequence = category.sequence_id if not sequence: sequence = self.env.ref( 'product_sequence.seq_product_auto') ref = sequence.next_by_id() vals['default_code'] = ref - super(ProductProduct, product).write(vals) if len(product.product_tmpl_id.product_variant_ids) == 1: - # default code must match for variant and template. - product.product_tmpl_id.default_code = ref - return True - return super().write(vals) + product.product_tmpl_id.write({'default_code': ref}) + super(ProductProduct, product).write(vals) + return True @api.multi def copy(self, default=None): diff --git a/product_sequence/tests/__init__.py b/product_sequence/tests/__init__.py index 03fcfddc4c8b..29b62350fba1 100644 --- a/product_sequence/tests/__init__.py +++ b/product_sequence/tests/__init__.py @@ -1,3 +1 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import test_product_sequence diff --git a/product_sequence/tests/test_product_sequence.py b/product_sequence/tests/test_product_sequence.py index 9d344dbd2cd5..ff9ba1e90c0c 100644 --- a/product_sequence/tests/test_product_sequence.py +++ b/product_sequence/tests/test_product_sequence.py @@ -12,6 +12,7 @@ class TestProductSequence(TransactionCase): def setUp(self): super(TestProductSequence, self).setUp() self.product_product = self.env['product.product'] + self.product_category = self.env['product.category'] def test_product_create_with_default_code(self): product = self.product_product.create(dict( @@ -47,3 +48,43 @@ def test_pre_init_hook(self): pre_init_hook(self.cr) product_3.invalidate_cache() self.assertEqual(product_3.default_code, '!!mig!!%s' % (product_3.id,)) + + def test_product_category_sequence(self): + categ_grocery = self.product_category.create(dict( + name="Grocery", + code_prefix="GRO", + )) + self.assertTrue(categ_grocery.sequence_id) + self.assertEqual(categ_grocery.sequence_id.prefix, "GRO") + self.assertFalse(categ_grocery.sequence_id.company_id) + product_3 = self.product_product.create(dict( + name="Apple", + categ_id=categ_grocery.id, + )) + self.assertEqual(product_3.default_code[:3], "GRO") + self.assertEqual(product_3.product_tmpl_id.default_code[:3], "GRO") + categ_electronics = self.product_category.create(dict( + name="Electronics", + code_prefix="ELE", + )) + product_3.write({'default_code': '/', + 'categ_id': categ_electronics.id}) + self.assertEqual(product_3.default_code[:3], "ELE") + self.assertEqual(product_3.product_tmpl_id.default_code[:3], "ELE") + categ_car = self.product_category.create(dict( + name="Car", + code_prefix="CAR", + )) + product_3.product_tmpl_id.categ_id = categ_car + product_3.product_tmpl_id.default_code = '/' + product_3.refresh() + self.assertEqual(product_3.default_code[:3], "CAR") + self.assertEqual(product_3.product_tmpl_id.default_code[:3], "CAR") + categ_car.write(dict( + name="Bike", + code_prefix="BIK", + )) + self.assertEqual(categ_car.sequence_id.prefix, "BIK") + categ_car.sequence_id = False + categ_car.write({'code_prefix': 'KIA'}) + self.assertEqual(categ_car.sequence_id.prefix, "KIA") From 1b4cb02240153a08665d2f163e306ba7c2e50998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Fri, 15 Jun 2018 23:34:42 +0200 Subject: [PATCH 21/24] remove obsolete .pot files [ci skip] --- product_sequence/i18n/product_sequence.pot | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 product_sequence/i18n/product_sequence.pot diff --git a/product_sequence/i18n/product_sequence.pot b/product_sequence/i18n/product_sequence.pot deleted file mode 100644 index 4242d9e17b69..000000000000 --- a/product_sequence/i18n/product_sequence.pot +++ /dev/null @@ -1,33 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_sequence -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-01-13 22:04+0000\n" -"PO-Revision-Date: 2015-01-13 22:04+0000\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: product_sequence -#: code:addons/product_sequence/models/product_product.py:64 -#, python-format -msgid "-copy" -msgstr "" - -#. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" -msgstr "" - -#. module: product_sequence -#: sql_constraint:product.product:0 -msgid "The reference must be unique" -msgstr "" - From 3f525b6b031ee56411284ffc43e62ae48eb044e7 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Thu, 21 Jun 2018 18:21:12 +0000 Subject: [PATCH 22/24] [UPD] Update product_sequence.pot --- product_sequence/i18n/ar.po | 43 +++++++++++------ product_sequence/i18n/bg.po | 40 ++++++++++------ product_sequence/i18n/bs.po | 43 +++++++++++------ product_sequence/i18n/ca.po | 37 ++++++++++++-- product_sequence/i18n/cs.po | 40 ++++++++++------ product_sequence/i18n/da.po | 40 ++++++++++------ product_sequence/i18n/de.po | 37 ++++++++++++-- product_sequence/i18n/el.po | 40 ++++++++++------ product_sequence/i18n/es.po | 37 ++++++++++++-- product_sequence/i18n/es_AR.po | 43 +++++++++++------ product_sequence/i18n/es_CR.po | 43 +++++++++++------ product_sequence/i18n/es_EC.po | 43 +++++++++++------ product_sequence/i18n/es_MX.po | 43 +++++++++++------ product_sequence/i18n/es_VE.po | 43 +++++++++++------ product_sequence/i18n/et.po | 40 ++++++++++------ product_sequence/i18n/fi.po | 40 ++++++++++------ product_sequence/i18n/fr.po | 37 ++++++++++++-- product_sequence/i18n/gl.po | 40 ++++++++++------ product_sequence/i18n/hr.po | 40 ++++++++++++++-- product_sequence/i18n/hu.po | 40 ++++++++++------ product_sequence/i18n/it.po | 37 ++++++++++++-- product_sequence/i18n/ja.po | 40 ++++++++++------ product_sequence/i18n/lt.po | 43 +++++++++++------ product_sequence/i18n/mk.po | 40 ++++++++++------ product_sequence/i18n/mn.po | 40 ++++++++++------ product_sequence/i18n/nb.po | 43 +++++++++++------ product_sequence/i18n/nl.po | 40 ++++++++++------ product_sequence/i18n/pl.po | 43 +++++++++++------ product_sequence/i18n/product_sequence.pot | 56 ++++++++++++++++++++++ product_sequence/i18n/pt.po | 40 ++++++++++------ product_sequence/i18n/pt_BR.po | 43 +++++++++++------ product_sequence/i18n/ro.po | 43 +++++++++++------ product_sequence/i18n/ru.po | 44 +++++++++++------ product_sequence/i18n/sl.po | 40 ++++++++++++++-- product_sequence/i18n/sr.po | 43 +++++++++++------ product_sequence/i18n/sv.po | 40 ++++++++++------ product_sequence/i18n/tr.po | 40 ++++++++++------ product_sequence/i18n/zh_CN.po | 43 +++++++++++------ 38 files changed, 1109 insertions(+), 458 deletions(-) create mode 100644 product_sequence/i18n/product_sequence.pot diff --git a/product_sequence/i18n/ar.po b/product_sequence/i18n/ar.po index 042e3103ff60..8432ea904cc1 100644 --- a/product_sequence/i18n/ar.po +++ b/product_sequence/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,57 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "مصنّع" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "مصنّع" diff --git a/product_sequence/i18n/bg.po b/product_sequence/i18n/bg.po index dc05a9701c67..cf35edb694b0 100644 --- a/product_sequence/i18n/bg.po +++ b/product_sequence/i18n/bg.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Производител" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Производител" diff --git a/product_sequence/i18n/bs.po b/product_sequence/i18n/bs.po index d9b9237e4609..d848f1da5c11 100644 --- a/product_sequence/i18n/bs.po +++ b/product_sequence/i18n/bs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,57 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"Language: bs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bs\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Proizvođač" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Proizvođač" diff --git a/product_sequence/i18n/ca.po b/product_sequence/i18n/ca.po index 1fc0b2b3868a..b770d0d48997 100644 --- a/product_sequence/i18n/ca.po +++ b/product_sequence/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,24 +12,55 @@ msgstr "" "PO-Revision-Date: 2017-05-05 02:44+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." +msgstr "" + #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product msgid "Product" msgstr "Producte" +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +#, fuzzy +msgid "Product Category" +msgstr "Producte" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +#, fuzzy +msgid "Product Sequence" +msgstr "Producte" + #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" diff --git a/product_sequence/i18n/cs.po b/product_sequence/i18n/cs.po index deca3eba1742..3e530942fa2c 100644 --- a/product_sequence/i18n/cs.po +++ b/product_sequence/i18n/cs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: cs\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Výrobce" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Výrobce" diff --git a/product_sequence/i18n/da.po b/product_sequence/i18n/da.po index cff3a6580c06..1ae39b26dd65 100644 --- a/product_sequence/i18n/da.po +++ b/product_sequence/i18n/da.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Producent" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Producent" diff --git a/product_sequence/i18n/de.po b/product_sequence/i18n/de.po index d72e0c0abca0..488051971496 100644 --- a/product_sequence/i18n/de.po +++ b/product_sequence/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,24 +12,55 @@ msgstr "" "PO-Revision-Date: 2017-05-05 02:44+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "-kopie" +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." +msgstr "" + #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product msgid "Product" msgstr "Produkt" +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +#, fuzzy +msgid "Product Category" +msgstr "Produkt" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +#, fuzzy +msgid "Product Sequence" +msgstr "Produkt" + #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "Die Referenz muss eindeutig sein" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" diff --git a/product_sequence/i18n/el.po b/product_sequence/i18n/el.po index dd72e4cb203c..056e7473e5a0 100644 --- a/product_sequence/i18n/el.po +++ b/product_sequence/i18n/el.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Greek (https://www.transifex.com/oca/teams/23907/el/)\n" +"Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Κατασκευαστής" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Κατασκευαστής" diff --git a/product_sequence/i18n/es.po b/product_sequence/i18n/es.po index 2d0e82c59f66..b0cfd8b43d7c 100644 --- a/product_sequence/i18n/es.po +++ b/product_sequence/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,24 +12,55 @@ msgstr "" "PO-Revision-Date: 2017-05-05 02:44+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "-copia" +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." +msgstr "" + #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product msgid "Product" msgstr "Producto" +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +#, fuzzy +msgid "Product Category" +msgstr "Producto" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +#, fuzzy +msgid "Product Sequence" +msgstr "Producto" + #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "La referencia debe ser única" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" diff --git a/product_sequence/i18n/es_AR.po b/product_sequence/i18n/es_AR.po index 8dc7dd826c7f..81e212685887 100644 --- a/product_sequence/i18n/es_AR.po +++ b/product_sequence/i18n/es_AR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/teams/23907/es_AR/)\n" +"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/" +"teams/23907/es_AR/)\n" +"Language: es_AR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_AR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/es_CR.po b/product_sequence/i18n/es_CR.po index faaafba13742..49f1206ef1d8 100644 --- a/product_sequence/i18n/es_CR.po +++ b/product_sequence/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/" +"teams/23907/es_CR/)\n" +"Language: es_CR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/es_EC.po b/product_sequence/i18n/es_EC.po index b3c8278e2bfe..097bb9b23ccb 100644 --- a/product_sequence/i18n/es_EC.po +++ b/product_sequence/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" +"es_EC/)\n" +"Language: es_EC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_EC\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/es_MX.po b/product_sequence/i18n/es_MX.po index d517328021c5..f214dba37d3c 100644 --- a/product_sequence/i18n/es_MX.po +++ b/product_sequence/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"es_MX/)\n" +"Language: es_MX\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/es_VE.po b/product_sequence/i18n/es_VE.po index e814028a9026..28885a0a47f5 100644 --- a/product_sequence/i18n/es_VE.po +++ b/product_sequence/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\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" -"Language: es_VE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/et.po b/product_sequence/i18n/et.po index ef731edc077f..b9692a61f521 100644 --- a/product_sequence/i18n/et.po +++ b/product_sequence/i18n/et.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: et\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Tootja" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Tootja" diff --git a/product_sequence/i18n/fi.po b/product_sequence/i18n/fi.po index 83f22a2cfc43..91ae0e66b349 100644 --- a/product_sequence/i18n/fi.po +++ b/product_sequence/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Valmistaja" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Valmistaja" diff --git a/product_sequence/i18n/fr.po b/product_sequence/i18n/fr.po index 5cb963c7dc84..ea02cc124106 100644 --- a/product_sequence/i18n/fr.po +++ b/product_sequence/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,24 +12,55 @@ msgstr "" "PO-Revision-Date: 2017-05-23 02:40+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." +msgstr "" + #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product msgid "Product" msgstr "Article" +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +#, fuzzy +msgid "Product Category" +msgstr "Article" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +#, fuzzy +msgid "Product Sequence" +msgstr "Article" + #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" diff --git a/product_sequence/i18n/gl.po b/product_sequence/i18n/gl.po index dfa24bc55bf1..2d095fe4ecf5 100644 --- a/product_sequence/i18n/gl.po +++ b/product_sequence/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/hr.po b/product_sequence/i18n/hr.po index a62e083098f0..2bc33be27943 100644 --- a/product_sequence/i18n/hr.po +++ b/product_sequence/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # Bole , 2018 msgid "" @@ -12,24 +12,56 @@ msgstr "" "PO-Revision-Date: 2018-01-03 02:14+0000\n" "Last-Translator: Bole , 2018\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "-kopija" +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." +msgstr "" + #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product msgid "Product" msgstr "Proizvod" +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +#, fuzzy +msgid "Product Category" +msgstr "Proizvod" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +#, fuzzy +msgid "Product Sequence" +msgstr "Proizvod" + #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "Referenca mora biti jedinstvena" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" diff --git a/product_sequence/i18n/hu.po b/product_sequence/i18n/hu.po index 86f194cac853..4f34957fcc0f 100644 --- a/product_sequence/i18n/hu.po +++ b/product_sequence/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\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" -"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Gyártó" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Gyártó" diff --git a/product_sequence/i18n/it.po b/product_sequence/i18n/it.po index aa3c06440e9c..85a54c7a69f0 100644 --- a/product_sequence/i18n/it.po +++ b/product_sequence/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,24 +12,55 @@ msgstr "" "PO-Revision-Date: 2017-05-05 02:44+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" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." +msgstr "" + #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product msgid "Product" msgstr "Prodotto" +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +#, fuzzy +msgid "Product Category" +msgstr "Prodotto" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +#, fuzzy +msgid "Product Sequence" +msgstr "Prodotto" + #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" diff --git a/product_sequence/i18n/ja.po b/product_sequence/i18n/ja.po index 0bf72e2e2936..63c7a3da2aa1 100644 --- a/product_sequence/i18n/ja.po +++ b/product_sequence/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "製造者" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "製造者" diff --git a/product_sequence/i18n/lt.po b/product_sequence/i18n/lt.po index f16c6d1d92eb..e9846407595c 100644 --- a/product_sequence/i18n/lt.po +++ b/product_sequence/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,57 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lt\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Gamintojas" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Gamintojas" diff --git a/product_sequence/i18n/mk.po b/product_sequence/i18n/mk.po index 86cc55fc676c..664d2fee5bd1 100644 --- a/product_sequence/i18n/mk.po +++ b/product_sequence/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"Language: mk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mk\n" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Производител" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Производител" diff --git a/product_sequence/i18n/mn.po b/product_sequence/i18n/mn.po index 854e435a195e..e9348baa88fc 100644 --- a/product_sequence/i18n/mn.po +++ b/product_sequence/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"Language: mn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Үйлдвэрлэгч" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Үйлдвэрлэгч" diff --git a/product_sequence/i18n/nb.po b/product_sequence/i18n/nb.po index cceddbfd1abe..b457f3638b74 100644 --- a/product_sequence/i18n/nb.po +++ b/product_sequence/i18n/nb.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/" +"nb/)\n" +"Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nb\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Produsent" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Produsent" diff --git a/product_sequence/i18n/nl.po b/product_sequence/i18n/nl.po index e0329db97095..1ec90993523b 100644 --- a/product_sequence/i18n/nl.po +++ b/product_sequence/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabrikant" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabrikant" diff --git a/product_sequence/i18n/pl.po b/product_sequence/i18n/pl.po index de32498468a0..c668fda9f7bd 100644 --- a/product_sequence/i18n/pl.po +++ b/product_sequence/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,57 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Producent" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Producent" diff --git a/product_sequence/i18n/product_sequence.pot b/product_sequence/i18n/product_sequence.pot new file mode 100644 index 000000000000..31349a98e7f5 --- /dev/null +++ b/product_sequence/i18n/product_sequence.pot @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: product_sequence +#: code:addons/product_sequence/models/product_product.py:74 +#, python-format +msgid "-copy" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "Prefix used to generate the internal reference for products created with this category. If blank the default sequence will be used." +msgstr "" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" +msgstr "" + +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" +msgstr "" + +#. module: product_sequence +#: sql_constraint:product.product:0 +msgid "The reference must be unique" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "This field contains the information related to the numbering of the journal entries of this journal." +msgstr "" + diff --git a/product_sequence/i18n/pt.po b/product_sequence/i18n/pt.po index 11ca6eadcef3..c4d8a6e97e54 100644 --- a/product_sequence/i18n/pt.po +++ b/product_sequence/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\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" -"Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/pt_BR.po b/product_sequence/i18n/pt_BR.po index f5bd9d689c7b..eb7cd854d9a5 100644 --- a/product_sequence/i18n/pt_BR.po +++ b/product_sequence/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Fabricante" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Fabricante" diff --git a/product_sequence/i18n/ro.po b/product_sequence/i18n/ro.po index d97608edfe20..c8da26762520 100644 --- a/product_sequence/i18n/ro.po +++ b/product_sequence/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,57 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Producator" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Producator" diff --git a/product_sequence/i18n/ru.po b/product_sequence/i18n/ru.po index a8bfbf6d10ed..133390f944dc 100644 --- a/product_sequence/i18n/ru.po +++ b/product_sequence/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,58 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Производитель" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Производитель" diff --git a/product_sequence/i18n/sl.po b/product_sequence/i18n/sl.po index 9143693cc74d..bfc271c98e45 100644 --- a/product_sequence/i18n/sl.po +++ b/product_sequence/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,24 +12,56 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:49+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" +msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." +msgstr "" + #. module: product_sequence #: model:ir.model,name:product_sequence.model_product_product msgid "Product" msgstr "Proizvod" +#. module: product_sequence +#: model:ir.model,name:product_sequence.model_product_category +#, fuzzy +msgid "Product Category" +msgstr "Proizvod" + +#. module: product_sequence +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +#, fuzzy +msgid "Product Sequence" +msgstr "Proizvod" + #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" diff --git a/product_sequence/i18n/sr.po b/product_sequence/i18n/sr.po index 1feb80c76a7e..3e6f5ec026f9 100644 --- a/product_sequence/i18n/sr.po +++ b/product_sequence/i18n/sr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,57 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Serbian (https://www.transifex.com/oca/teams/23907/sr/)\n" +"Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sr\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Proizvođač" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Proizvođač" diff --git a/product_sequence/i18n/sv.po b/product_sequence/i18n/sv.po index 786f6f96155b..66aafd2a970f 100644 --- a/product_sequence/i18n/sv.po +++ b/product_sequence/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Tillverkare" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Tillverkare" diff --git a/product_sequence/i18n/tr.po b/product_sequence/i18n/tr.po index f4faa64d8d70..f1419bb6829b 100644 --- a/product_sequence/i18n/tr.po +++ b/product_sequence/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,44 +12,56 @@ msgstr "" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "Üretici" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "Üretici" diff --git a/product_sequence/i18n/zh_CN.po b/product_sequence/i18n/zh_CN.po index cf7a5588f29b..fed659ba2255 100644 --- a/product_sequence/i18n/zh_CN.po +++ b/product_sequence/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,45 +11,58 @@ msgstr "" "POT-Creation-Date: 2016-11-01 20:03+0000\n" "PO-Revision-Date: 2016-11-01 20:03+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: product_sequence -#: code:addons/product_sequence/models/product_product.py:45 +#: code:addons/product_sequence/models/product_product.py:74 #, python-format msgid "-copy" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pref -msgid "Manuf. Product Code" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_code_prefix +msgid "Prefix for Product Internal Reference" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_pname -msgid "Manuf. Product Name" +#: model:ir.model.fields,help:product_sequence.field_product_category_code_prefix +msgid "" +"Prefix used to generate the internal reference for products created with " +"this category. If blank the default sequence will be used." msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer_purl -msgid "Manuf. Product URL" +#: model:ir.model,name:product_sequence.model_product_product +msgid "Product" msgstr "" #. module: product_sequence -#: model:ir.model.fields,field_description:product_sequence.field_product_product_manufacturer -msgid "Manufacturer" -msgstr "制造商" +#: model:ir.model,name:product_sequence.model_product_category +msgid "Product Category" +msgstr "" #. module: product_sequence -#: model:ir.model,name:product_sequence.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:product_sequence.field_product_category_sequence_id +msgid "Product Sequence" msgstr "" #. module: product_sequence #: sql_constraint:product.product:0 msgid "The reference must be unique" msgstr "" + +#. module: product_sequence +#: model:ir.model.fields,help:product_sequence.field_product_category_sequence_id +msgid "" +"This field contains the information related to the numbering of the journal " +"entries of this journal." +msgstr "" + +#~ msgid "Manufacturer" +#~ msgstr "制造商" From 668d507e0044c99b179c0c0a6846b5de56859aa9 Mon Sep 17 00:00:00 2001 From: Sudhir Arya Date: Thu, 6 Dec 2018 18:35:42 +0530 Subject: [PATCH 23/24] [MIG] Migrated product_sequence to v12 --- product_sequence/README.rst | 3 ++- product_sequence/__openerp__.py | 3 +-- product_sequence/readme/CONTRIBUTORS.rst | 5 +++++ product_sequence/readme/DESCRIPTION.rst | 5 +++++ product_sequence/readme/USAGE.rst | 11 +++++++++++ product_sequence/tests/test_product_sequence.py | 16 ++++++++++++++++ product_sequence/views/product_category.xml | 3 +-- 7 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 product_sequence/readme/CONTRIBUTORS.rst create mode 100644 product_sequence/readme/DESCRIPTION.rst create mode 100644 product_sequence/readme/USAGE.rst diff --git a/product_sequence/README.rst b/product_sequence/README.rst index 255663a7d241..648df785d83d 100644 --- a/product_sequence/README.rst +++ b/product_sequence/README.rst @@ -36,7 +36,7 @@ To specify a different sequence for a product category proceed as follows: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/11.0 + :target: https://runbot.odoo-community.org/runbot/135/12.0 Bug Tracker =========== @@ -61,6 +61,7 @@ Contributors * Graeme Gellatly * Sodexis * Lois Rilo +* Sudhir Arya Maintainer ---------- diff --git a/product_sequence/__openerp__.py b/product_sequence/__openerp__.py index 685a77ce90f5..72028ab6a638 100644 --- a/product_sequence/__openerp__.py +++ b/product_sequence/__openerp__.py @@ -7,7 +7,7 @@ { 'name': 'Product Sequence', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'author': "Zikzakmedia SL,Sodexis,Odoo Community Association (OCA)", 'website': 'https://github.com/OCA/product-attribute', 'license': 'AGPL-3', @@ -20,6 +20,5 @@ 'views/product_category.xml', ], 'pre_init_hook': 'pre_init_hook', - 'auto_install': False, 'installable': True, } diff --git a/product_sequence/readme/CONTRIBUTORS.rst b/product_sequence/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000000..0d3a12bdc341 --- /dev/null +++ b/product_sequence/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Angel Moya +* Graeme Gellatly +* Sodexis +* Lois Rilo +* Sudhir Arya diff --git a/product_sequence/readme/DESCRIPTION.rst b/product_sequence/readme/DESCRIPTION.rst new file mode 100644 index 000000000000..165c6218c2e9 --- /dev/null +++ b/product_sequence/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +This module allows to associate a sequence to the product reference. +The reference (default code) is unique (SQL constraint) and required. + +You can optionally specify different sequences for different product +categories. diff --git a/product_sequence/readme/USAGE.rst b/product_sequence/readme/USAGE.rst new file mode 100644 index 000000000000..9c8bc720af88 --- /dev/null +++ b/product_sequence/readme/USAGE.rst @@ -0,0 +1,11 @@ +To specify a different sequence for a product category proceed as follows: + +#. Go to the a Product Category form view. + (**note:** you will need to install Inventory app to be able to access to + the form view, *Inventory > Configuration > Products > Products Categories*; + or create a menuitem manually). +#. Fill the *Prefix for Product Internal Reference* as desired. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/135/12.0 diff --git a/product_sequence/tests/test_product_sequence.py b/product_sequence/tests/test_product_sequence.py index ff9ba1e90c0c..bae42528d87b 100644 --- a/product_sequence/tests/test_product_sequence.py +++ b/product_sequence/tests/test_product_sequence.py @@ -13,6 +13,9 @@ def setUp(self): super(TestProductSequence, self).setUp() self.product_product = self.env['product.product'] self.product_category = self.env['product.category'] + self.product_template = self.env['product.template'].create({ + 'name': 'Demo Product', + }) def test_product_create_with_default_code(self): product = self.product_product.create(dict( @@ -20,6 +23,11 @@ def test_product_create_with_default_code(self): default_code='PROD01' )) self.assertEqual(product.default_code, 'PROD01') + product_new = self.product_product.create(dict( + name="Demo Apple", + product_tmpl_id=self.product_template.id + )) + self.assertTrue(product_new.default_code) def test_product_create_without_default_code(self): product_1 = self.product_product.create(dict( @@ -71,6 +79,14 @@ def test_product_category_sequence(self): 'categ_id': categ_electronics.id}) self.assertEqual(product_3.default_code[:3], "ELE") self.assertEqual(product_3.product_tmpl_id.default_code[:3], "ELE") + + product_4 = self.product_product.create(dict( + name="Truck", + default_code='PROD04' + )) + product_4.write({'default_code': '/'}) + self.assertTrue(product_4.categ_id, 'Category is not set.') + categ_car = self.product_category.create(dict( name="Car", code_prefix="CAR", diff --git a/product_sequence/views/product_category.xml b/product_sequence/views/product_category.xml index a103f4f4e487..e32cfa37e7ae 100644 --- a/product_sequence/views/product_category.xml +++ b/product_sequence/views/product_category.xml @@ -12,8 +12,7 @@