From 47f1e2951a058aeb8085bedfa0dbf268789f9d6b Mon Sep 17 00:00:00 2001 From: oihane Date: Mon, 27 Jul 2015 17:49:45 +0200 Subject: [PATCH 01/47] [ADD] New module --- crm_lead_code/README.rst | 43 ++++++++++++++++++++ crm_lead_code/__init__.py | 25 ++++++++++++ crm_lead_code/__openerp__.py | 48 +++++++++++++++++++++++ crm_lead_code/data/lead_sequence.xml | 15 +++++++ crm_lead_code/i18n/crm_lead_code.pot | 32 +++++++++++++++ crm_lead_code/i18n/es.po | 32 +++++++++++++++ crm_lead_code/models/__init__.py | 5 +++ crm_lead_code/models/crm_lead.py | 31 +++++++++++++++ crm_lead_code/tests/__init__.py | 6 +++ crm_lead_code/tests/test_crm_lead_code.py | 45 +++++++++++++++++++++ crm_lead_code/views/crm_lead_view.xml | 37 +++++++++++++++++ 11 files changed, 319 insertions(+) create mode 100644 crm_lead_code/README.rst create mode 100644 crm_lead_code/__init__.py create mode 100644 crm_lead_code/__openerp__.py create mode 100644 crm_lead_code/data/lead_sequence.xml create mode 100644 crm_lead_code/i18n/crm_lead_code.pot create mode 100644 crm_lead_code/i18n/es.po create mode 100644 crm_lead_code/models/__init__.py create mode 100644 crm_lead_code/models/crm_lead.py create mode 100644 crm_lead_code/tests/__init__.py create mode 100644 crm_lead_code/tests/test_crm_lead_code.py create mode 100644 crm_lead_code/views/crm_lead_view.xml diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst new file mode 100644 index 00000000000..3c887951bb2 --- /dev/null +++ b/crm_lead_code/README.rst @@ -0,0 +1,43 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Sequential code for leads +========================= + +* This module adds a sequential code for leads. + + +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 +======= + +Contributors +------------ + +* Oihane Crucelaegui +* Pedro M. Baeza +* Ana Juaristi + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. + diff --git a/crm_lead_code/__init__.py b/crm_lead_code/__init__.py new file mode 100644 index 00000000000..e12b746cb94 --- /dev/null +++ b/crm_lead_code/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +from . import models +from openerp import SUPERUSER_ID + + +def create_code_equal_to_id(cr): + cr.execute('ALTER TABLE crm_lead ' + 'ADD COLUMN code character varying;') + cr.execute('UPDATE crm_lead ' + 'SET code = id;') + + +def assign_old_sequences(cr, registry): + lead_obj = registry['crm.lead'] + sequence_obj = registry['ir.sequence'] + lead_ids = lead_obj.search(cr, SUPERUSER_ID, [], order="id") + for lead_id in lead_ids: + cr.execute('UPDATE crm_lead ' + 'SET code = \'%s\' ' + 'WHERE id = %d;' % + (sequence_obj.get(cr, SUPERUSER_ID, 'crm.lead'), lead_id)) diff --git a/crm_lead_code/__openerp__.py b/crm_lead_code/__openerp__.py new file mode 100644 index 00000000000..2e4c5427a09 --- /dev/null +++ b/crm_lead_code/__openerp__.py @@ -0,0 +1,48 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) +# 2015 Serv. Tec. Avanzados - Pedro M. Baeza (http://www.serviciosbaeza.com) +# 2015 AvanzOsc (http://www.avanzosc.es) +# +# 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": "Sequential Code for Leads", + "version": "1.0", + "category": "Customer Relationship Management", + "author": "OdooMRP team, " + "AvanzOSC, " + "Serv. Tecnol. Avanzados - Pedro M. Baeza, " + "Odoo Community Association (OCA)", + "website": "http://www.odoomrp.com", + "license": "AGPL-3", + "contributors": [ + "Oihane Crucelaegui ", + "Pedro M. Baeza ", + "Ana Juaristi ", + ], + "depends": [ + "crm", + ], + "data": [ + "views/crm_lead_view.xml", + "data/lead_sequence.xml", + ], + "installable": True, + "pre_init_hook": "create_code_equal_to_id", + "post_init_hook": "assign_old_sequences", +} diff --git a/crm_lead_code/data/lead_sequence.xml b/crm_lead_code/data/lead_sequence.xml new file mode 100644 index 00000000000..80c359efc8c --- /dev/null +++ b/crm_lead_code/data/lead_sequence.xml @@ -0,0 +1,15 @@ + + + + + Lead code type + crm.lead + + + Lead Code + crm.lead + + LD + + + diff --git a/crm_lead_code/i18n/crm_lead_code.pot b/crm_lead_code/i18n/crm_lead_code.pot new file mode 100644 index 00000000000..a7036fe50cf --- /dev/null +++ b/crm_lead_code/i18n/crm_lead_code.pot @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-27 15:46+0000\n" +"PO-Revision-Date: 2015-07-27 15:46+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: crm_lead_code +#: field:crm.lead,code:0 +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_lead_code +#: sql_constraint:crm.lead:0 +msgid "The code must be unique!" +msgstr "" + diff --git a/crm_lead_code/i18n/es.po b/crm_lead_code/i18n/es.po new file mode 100644 index 00000000000..aa11728ead6 --- /dev/null +++ b/crm_lead_code/i18n/es.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-27 15:47+0000\n" +"PO-Revision-Date: 2015-07-27 15:47+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: crm_lead_code +#: field:crm.lead,code:0 +msgid "Lead Number" +msgstr "N??mero de Iniciativa" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Iniciativa/Oportunidad" + +#. module: crm_lead_code +#: sql_constraint:crm.lead:0 +msgid "The code must be unique!" +msgstr "??El n??mero debe de ser ??nico!" + diff --git a/crm_lead_code/models/__init__.py b/crm_lead_code/models/__init__.py new file mode 100644 index 00000000000..9e86cd957c9 --- /dev/null +++ b/crm_lead_code/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## +from . import crm_lead diff --git a/crm_lead_code/models/crm_lead.py b/crm_lead_code/models/crm_lead.py new file mode 100644 index 00000000000..4669aaf758b --- /dev/null +++ b/crm_lead_code/models/crm_lead.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +from openerp import api, fields, models + + +class CrmLead(models.Model): + _inherit = "crm.lead" + + code = fields.Char( + string='Lead Number', required=True, default="/", readonly=True) + + _sql_constraints = [ + ('crm_lead_unique_code', 'UNIQUE (code)', + 'The code must be unique!'), + ] + + @api.model + def create(self, vals): + if vals.get('code', '/') == '/': + vals['code'] = self.env['ir.sequence'].get('crm.lead') + return super(CrmLead, self).create(vals) + + @api.one + def copy(self, default=None): + if default is None: + default = {} + default['code'] = self.env['ir.sequence'].get('crm.lead') + return super(CrmLead, self).copy(default) diff --git a/crm_lead_code/tests/__init__.py b/crm_lead_code/tests/__init__.py new file mode 100644 index 00000000000..2269c75f6d4 --- /dev/null +++ b/crm_lead_code/tests/__init__.py @@ -0,0 +1,6 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +from . import test_crm_lead_code diff --git a/crm_lead_code/tests/test_crm_lead_code.py b/crm_lead_code/tests/test_crm_lead_code.py new file mode 100644 index 00000000000..bbc44cfe949 --- /dev/null +++ b/crm_lead_code/tests/test_crm_lead_code.py @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +import openerp.tests.common as common + + +class TestCrmLeadCode(common.TransactionCase): + + def setUp(self): + super(TestCrmLeadCode, self).setUp() + self.crm_lead_model = self.env['crm.lead'] + self.ir_sequence_model = self.env['ir.sequence'] + self.crm_sequence = self.env.ref('crm_lead_code.sequence_lead') + self.crm_lead = self.env.ref('crm.crm_case_1') + + def test_old_lead_code_assign(self): + crm_leads = self.crm_lead_model.search([]) + for crm_lead in crm_leads: + self.assertNotEqual(crm_lead.code, '/') + + def test_new_lead_code_assign(self): + code = self._get_next_code() + crm_lead = self.crm_lead_model.create({ + 'name': 'Testing lead code', + }) + self.assertNotEqual(crm_lead.code, '/') + self.assertEqual(crm_lead.code, code) + + def test_copy_lead_code_assign(self): + code = self._get_next_code() + crm_lead_copy = self.crm_lead.copy() + self.assertNotEqual(crm_lead_copy.code, self.crm_lead.code) + self.assertEqual(crm_lead_copy.code, code) + + def _get_next_code(self): + d = self.ir_sequence_model._interpolation_dict() + prefix = self.ir_sequence_model._interpolate( + self.crm_sequence.prefix, d) + suffix = self.ir_sequence_model._interpolate( + self.crm_sequence.suffix, d) + code = (prefix + ('%%0%sd' % self.crm_sequence.padding % + self.crm_sequence.number_next_actual) + suffix) + return code diff --git a/crm_lead_code/views/crm_lead_view.xml b/crm_lead_code/views/crm_lead_view.xml new file mode 100644 index 00000000000..fa2c3b4d1da --- /dev/null +++ b/crm_lead_code/views/crm_lead_view.xml @@ -0,0 +1,37 @@ + + + + + crm.lead.code.form + crm.lead + + + + + + + + + + crm.lead.code.tree + crm.lead + + + + + + + + + + crm.lead.code.search + crm.lead + + + + ['|', ('name', 'ilike', self), ('code', 'ilike', self)] + + + + + From 4fe32e1537f4c447a43fce101e8565827fd5793d Mon Sep 17 00:00:00 2001 From: oihane Date: Tue, 28 Jul 2015 13:59:07 +0200 Subject: [PATCH 02/47] [IMP] Code made visible in opportunities [UPD] prefix versions with 8.0 --- crm_lead_code/README.rst | 6 ++--- crm_lead_code/__openerp__.py | 4 ++-- crm_lead_code/views/crm_lead_view.xml | 34 +++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst index 3c887951bb2..74f7e4b2dd9 100644 --- a/crm_lead_code/README.rst +++ b/crm_lead_code/README.rst @@ -1,10 +1,10 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :alt: License: AGPL-3 -Sequential code for leads -========================= +Sequential code for Leads / Opportunities +========================================= -* This module adds a sequential code for leads. +* This module adds a sequential code for leads / opportunities. Bug Tracker diff --git a/crm_lead_code/__openerp__.py b/crm_lead_code/__openerp__.py index 2e4c5427a09..39b136578e1 100644 --- a/crm_lead_code/__openerp__.py +++ b/crm_lead_code/__openerp__.py @@ -21,8 +21,8 @@ ############################################################################## { - "name": "Sequential Code for Leads", - "version": "1.0", + "name": "Sequential Code for Leads / Opportunities", + "version": "8.0.1.0.0", "category": "Customer Relationship Management", "author": "OdooMRP team, " "AvanzOSC, " diff --git a/crm_lead_code/views/crm_lead_view.xml b/crm_lead_code/views/crm_lead_view.xml index fa2c3b4d1da..6339b1ccd2d 100644 --- a/crm_lead_code/views/crm_lead_view.xml +++ b/crm_lead_code/views/crm_lead_view.xml @@ -33,5 +33,39 @@ + + + crm.lead.oppor.code.form + crm.lead + + + + + + + + + + crm.lead.oppor.code.tree + crm.lead + + + + + + + + + + crm.lead.oppor.code.search + crm.lead + + + + ['|', ('name', 'ilike', self), ('code', 'ilike', self)] + + + + From 183b726aeb2e0344bd3460158602ca05cbbfb35e Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 14 Oct 2015 03:12:56 +0200 Subject: [PATCH 03/47] [MIG] Make modules uninstallable --- crm_lead_code/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm_lead_code/__openerp__.py b/crm_lead_code/__openerp__.py index 39b136578e1..8f12b01c2db 100644 --- a/crm_lead_code/__openerp__.py +++ b/crm_lead_code/__openerp__.py @@ -42,7 +42,7 @@ "views/crm_lead_view.xml", "data/lead_sequence.xml", ], - "installable": True, + 'installable': False, "pre_init_hook": "create_code_equal_to_id", "post_init_hook": "assign_old_sequences", } From e3fd125263d02706d54a300f3aa804994d53488f Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 14:50:54 +0200 Subject: [PATCH 04/47] [MIG] Rename manifest files --- crm_lead_code/{__openerp__.py => __manifest__.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename crm_lead_code/{__openerp__.py => __manifest__.py} (100%) diff --git a/crm_lead_code/__openerp__.py b/crm_lead_code/__manifest__.py similarity index 100% rename from crm_lead_code/__openerp__.py rename to crm_lead_code/__manifest__.py From bc64ea9dbc46954d2100ebce09c4b9221da67efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ramos?= Date: Tue, 26 Sep 2017 09:25:48 +0100 Subject: [PATCH 05/47] [10.0][MIG] crm_lead_code (#156) --- crm_lead_code/README.rst | 12 ++++++++-- crm_lead_code/__init__.py | 19 ++++++++------- crm_lead_code/__manifest__.py | 6 ++--- crm_lead_code/data/lead_sequence.xml | 22 +++++++---------- crm_lead_code/models/__init__.py | 2 +- crm_lead_code/models/crm_lead.py | 12 +++++----- crm_lead_code/static/description/icon.png | Bin 0 -> 9455 bytes crm_lead_code/tests/__init__.py | 4 ++-- crm_lead_code/tests/test_crm_lead_code.py | 19 ++++++--------- crm_lead_code/views/crm_lead_view.xml | 28 +++++++++++++++------- 10 files changed, 66 insertions(+), 58 deletions(-) create mode 100644 crm_lead_code/static/description/icon.png diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst index 74f7e4b2dd9..8cc4ef94427 100644 --- a/crm_lead_code/README.rst +++ b/crm_lead_code/README.rst @@ -1,19 +1,26 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :alt: License: AGPL-3 + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +========================================= Sequential code for Leads / Opportunities ========================================= * This module adds a sequential code for leads / opportunities. +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/111/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 `_. +`here `_. Credits @@ -25,6 +32,7 @@ Contributors * Oihane Crucelaegui * Pedro M. Baeza * Ana Juaristi +* Nicol??s Ramos Maintainer ---------- diff --git a/crm_lead_code/__init__.py b/crm_lead_code/__init__.py index e12b746cb94..1202fba91cb 100644 --- a/crm_lead_code/__init__.py +++ b/crm_lead_code/__init__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- ############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory +# For copyright and license notices, see __manifest__.py file in root directory ############################################################################## from . import models -from openerp import SUPERUSER_ID +from odoo import api, SUPERUSER_ID def create_code_equal_to_id(cr): @@ -15,11 +15,12 @@ def create_code_equal_to_id(cr): def assign_old_sequences(cr, registry): - lead_obj = registry['crm.lead'] - sequence_obj = registry['ir.sequence'] - lead_ids = lead_obj.search(cr, SUPERUSER_ID, [], order="id") - for lead_id in lead_ids: + env = api.Environment(cr, SUPERUSER_ID, dict()) + lead_obj = env['crm.lead'] + sequence_obj = env['ir.sequence'] + leads = lead_obj.search([], order="id") + for lead_id in leads.ids: cr.execute('UPDATE crm_lead ' - 'SET code = \'%s\' ' - 'WHERE id = %d;' % - (sequence_obj.get(cr, SUPERUSER_ID, 'crm.lead'), lead_id)) + 'SET code = %s ' + 'WHERE id = %s;', + (sequence_obj.next_by_code('crm.lead'), lead_id, )) diff --git a/crm_lead_code/__manifest__.py b/crm_lead_code/__manifest__.py index 8f12b01c2db..bb0548dcc43 100644 --- a/crm_lead_code/__manifest__.py +++ b/crm_lead_code/__manifest__.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # Copyright (c) @@ -22,7 +22,7 @@ { "name": "Sequential Code for Leads / Opportunities", - "version": "8.0.1.0.0", + "version": "10.0.1.0.0", "category": "Customer Relationship Management", "author": "OdooMRP team, " "AvanzOSC, " @@ -42,7 +42,7 @@ "views/crm_lead_view.xml", "data/lead_sequence.xml", ], - 'installable': False, + 'installable': True, "pre_init_hook": "create_code_equal_to_id", "post_init_hook": "assign_old_sequences", } diff --git a/crm_lead_code/data/lead_sequence.xml b/crm_lead_code/data/lead_sequence.xml index 80c359efc8c..7f54f40f92e 100644 --- a/crm_lead_code/data/lead_sequence.xml +++ b/crm_lead_code/data/lead_sequence.xml @@ -1,15 +1,9 @@ - - - - Lead code type - crm.lead - - - Lead Code - crm.lead - - LD - - - + + + Lead Code + crm.lead + + LD + + diff --git a/crm_lead_code/models/__init__.py b/crm_lead_code/models/__init__.py index 9e86cd957c9..3c2b59c8609 100644 --- a/crm_lead_code/models/__init__.py +++ b/crm_lead_code/models/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- ############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory +# For copyright and license notices, see __manifest__.py file in root directory ############################################################################## from . import crm_lead diff --git a/crm_lead_code/models/crm_lead.py b/crm_lead_code/models/crm_lead.py index 4669aaf758b..28101e426b7 100644 --- a/crm_lead_code/models/crm_lead.py +++ b/crm_lead_code/models/crm_lead.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- ############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory +# For copyright and license notices, see __manifest__.py file in root directory ############################################################################## -from openerp import api, fields, models +from odoo import api, fields, models, _ class CrmLead(models.Model): @@ -14,18 +14,18 @@ class CrmLead(models.Model): _sql_constraints = [ ('crm_lead_unique_code', 'UNIQUE (code)', - 'The code must be unique!'), + _('The code must be unique!')), ] @api.model def create(self, vals): if vals.get('code', '/') == '/': - vals['code'] = self.env['ir.sequence'].get('crm.lead') + vals['code'] = self.env['ir.sequence'].next_by_code('crm.lead') return super(CrmLead, self).create(vals) - @api.one + @api.multi def copy(self, default=None): if default is None: default = {} - default['code'] = self.env['ir.sequence'].get('crm.lead') + default['code'] = self.env['ir.sequence'].next_by_code('crm.lead') return super(CrmLead, self).copy(default) diff --git a/crm_lead_code/static/description/icon.png b/crm_lead_code/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 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 z 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 Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/crm_lead_code/tests/__init__.py b/crm_lead_code/tests/__init__.py index 2269c75f6d4..7ba686aed97 100644 --- a/crm_lead_code/tests/__init__.py +++ b/crm_lead_code/tests/__init__.py @@ -1,6 +1,6 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory +# For copyright and license notices, see __manifest__.py file in root directory ############################################################################## from . import test_crm_lead_code diff --git a/crm_lead_code/tests/test_crm_lead_code.py b/crm_lead_code/tests/test_crm_lead_code.py index bbc44cfe949..44f56694845 100644 --- a/crm_lead_code/tests/test_crm_lead_code.py +++ b/crm_lead_code/tests/test_crm_lead_code.py @@ -1,12 +1,12 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory +# For copyright and license notices, see __manifest__.py file in root directory ############################################################################## -import openerp.tests.common as common +from odoo.tests.common import TransactionCase -class TestCrmLeadCode(common.TransactionCase): +class TestCrmLeadCode(TransactionCase): def setUp(self): super(TestCrmLeadCode, self).setUp() @@ -35,11 +35,6 @@ def test_copy_lead_code_assign(self): self.assertEqual(crm_lead_copy.code, code) def _get_next_code(self): - d = self.ir_sequence_model._interpolation_dict() - prefix = self.ir_sequence_model._interpolate( - self.crm_sequence.prefix, d) - suffix = self.ir_sequence_model._interpolate( - self.crm_sequence.suffix, d) - code = (prefix + ('%%0%sd' % self.crm_sequence.padding % - self.crm_sequence.number_next_actual) + suffix) - return code + return self.crm_sequence.get_next_char( + self.crm_sequence.number_next_actual + ) diff --git a/crm_lead_code/views/crm_lead_view.xml b/crm_lead_code/views/crm_lead_view.xml index 6339b1ccd2d..09d7969b990 100644 --- a/crm_lead_code/views/crm_lead_view.xml +++ b/crm_lead_code/views/crm_lead_view.xml @@ -1,13 +1,13 @@ - - - + + crm.lead.code.form crm.lead - + + @@ -33,14 +33,15 @@ - + crm.lead.oppor.code.form crm.lead - + + @@ -56,6 +57,17 @@ + + crm.lead.code.kanban + crm.lead + + + + + + + + crm.lead.oppor.code.search crm.lead @@ -66,6 +78,4 @@ - - - + From f655c1a14987943b0bacf392b48eeef600b8dfbb Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 9 Dec 2017 04:15:38 +0100 Subject: [PATCH 06/47] OCA Transbot updated translations from Transifex --- crm_lead_code/i18n/bg.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/de.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/es.po | 29 ++++++++++++++++------------- crm_lead_code/i18n/fr.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/hr.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/it.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/pt_BR.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/sk.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/sl.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/tr.po | 35 +++++++++++++++++++++++++++++++++++ crm_lead_code/i18n/zh_CN.po | 35 +++++++++++++++++++++++++++++++++++ 11 files changed, 366 insertions(+), 13 deletions(-) create mode 100644 crm_lead_code/i18n/bg.po create mode 100644 crm_lead_code/i18n/de.po create mode 100644 crm_lead_code/i18n/fr.po create mode 100644 crm_lead_code/i18n/hr.po create mode 100644 crm_lead_code/i18n/it.po create mode 100644 crm_lead_code/i18n/pt_BR.po create mode 100644 crm_lead_code/i18n/sk.po create mode 100644 crm_lead_code/i18n/sl.po create mode 100644 crm_lead_code/i18n/tr.po create mode 100644 crm_lead_code/i18n/zh_CN.po diff --git a/crm_lead_code/i18n/bg.po b/crm_lead_code/i18n/bg.po new file mode 100644 index 00000000000..980212a1209 --- /dev/null +++ b/crm_lead_code/i18n/bg.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\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: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "??????????/????????????????????" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/de.po b/crm_lead_code/i18n/de.po new file mode 100644 index 00000000000..082f0e0e743 --- /dev/null +++ b/crm_lead_code/i18n/de.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Lead/Chance" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/es.po b/crm_lead_code/i18n/es.po index aa11728ead6..f9326123d2a 100644 --- a/crm_lead_code/i18n/es.po +++ b/crm_lead_code/i18n/es.po @@ -1,24 +1,27 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * crm_lead_code -# +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-27 15:47+0000\n" -"PO-Revision-Date: 2015-07-27 15:47+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_lead_code -#: field:crm.lead,code:0 +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code msgid "Lead Number" -msgstr "N??mero de Iniciativa" +msgstr "" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead @@ -26,7 +29,7 @@ msgid "Lead/Opportunity" msgstr "Iniciativa/Oportunidad" #. module: crm_lead_code -#: sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format msgid "The code must be unique!" -msgstr "??El n??mero debe de ser ??nico!" - +msgstr "" diff --git a/crm_lead_code/i18n/fr.po b/crm_lead_code/i18n/fr.po new file mode 100644 index 00000000000..448daecc7aa --- /dev/null +++ b/crm_lead_code/i18n/fr.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+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: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Piste/Opportunit??" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/hr.po b/crm_lead_code/i18n/hr.po new file mode 100644 index 00000000000..b262d0d8d2f --- /dev/null +++ b/crm_lead_code/i18n/hr.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\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: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Potencijalni klijent" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/it.po b/crm_lead_code/i18n/it.po new file mode 100644 index 00000000000..ec03901e909 --- /dev/null +++ b/crm_lead_code/i18n/it.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+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: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Lead/Opportunit??" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/pt_BR.po b/crm_lead_code/i18n/pt_BR.po new file mode 100644 index 00000000000..79ff2978eb8 --- /dev/null +++ b/crm_lead_code/i18n/pt_BR.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Prospector/Oportunidade" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/sk.po b/crm_lead_code/i18n/sk.po new file mode 100644 index 00000000000..669540d8365 --- /dev/null +++ b/crm_lead_code/i18n/sk.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Iniciat??va/Pr??le??itos??" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/sl.po b/crm_lead_code/i18n/sl.po new file mode 100644 index 00000000000..aaf346f4c4b --- /dev/null +++ b/crm_lead_code/i18n/sl.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"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: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Indic/prilo??nost" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/tr.po b/crm_lead_code/i18n/tr.po new file mode 100644 index 00000000000..7f9c494e67d --- /dev/null +++ b/crm_lead_code/i18n/tr.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# Ediz Duman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: Ediz Duman , 2017\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: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Aday/F??rsat" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/crm_lead_code/i18n/zh_CN.po b/crm_lead_code/i18n/zh_CN.po new file mode 100644 index 00000000000..6461677b282 --- /dev/null +++ b/crm_lead_code/i18n/zh_CN.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-04 15:47+0000\n" +"PO-Revision-Date: 2017-12-04 15:47+0000\n" +"Last-Translator: OCA Transbot , 2017\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: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "??????/??????" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" From 9a6fb0eaec8108d31e7aedace4dd9c5262f225db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Fri, 15 Jun 2018 23:11:36 +0200 Subject: [PATCH 07/47] remove obsolete .pot files [ci skip] --- crm_lead_code/i18n/crm_lead_code.pot | 32 ---------------------------- 1 file changed, 32 deletions(-) delete mode 100644 crm_lead_code/i18n/crm_lead_code.pot diff --git a/crm_lead_code/i18n/crm_lead_code.pot b/crm_lead_code/i18n/crm_lead_code.pot deleted file mode 100644 index a7036fe50cf..00000000000 --- a/crm_lead_code/i18n/crm_lead_code.pot +++ /dev/null @@ -1,32 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * crm_lead_code -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-27 15:46+0000\n" -"PO-Revision-Date: 2015-07-27 15:46+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: crm_lead_code -#: field:crm.lead,code:0 -msgid "Lead Number" -msgstr "" - -#. module: crm_lead_code -#: model:ir.model,name:crm_lead_code.model_crm_lead -msgid "Lead/Opportunity" -msgstr "" - -#. module: crm_lead_code -#: sql_constraint:crm.lead:0 -msgid "The code must be unique!" -msgstr "" - From 1721a9aaea7c54cdec91d53f0ec2901cf1a567bd Mon Sep 17 00:00:00 2001 From: oca-travis Date: Sat, 23 Jun 2018 02:19:21 +0000 Subject: [PATCH 08/47] [UPD] Update crm_lead_code.pot --- crm_lead_code/i18n/bg.po | 4 ++-- crm_lead_code/i18n/crm_lead_code.pot | 32 ++++++++++++++++++++++++++++ crm_lead_code/i18n/de.po | 4 ++-- crm_lead_code/i18n/es.po | 4 ++-- crm_lead_code/i18n/fr.po | 4 ++-- crm_lead_code/i18n/hr.po | 7 +++--- crm_lead_code/i18n/it.po | 4 ++-- crm_lead_code/i18n/pt_BR.po | 7 +++--- crm_lead_code/i18n/sk.po | 4 ++-- crm_lead_code/i18n/sl.po | 7 +++--- crm_lead_code/i18n/tr.po | 4 ++-- crm_lead_code/i18n/zh_CN.po | 7 +++--- 12 files changed, 62 insertions(+), 26 deletions(-) create mode 100644 crm_lead_code/i18n/crm_lead_code.pot diff --git a/crm_lead_code/i18n/bg.po b/crm_lead_code/i18n/bg.po index 980212a1209..cba413ecc97 100644 --- a/crm_lead_code/i18n/bg.po +++ b/crm_lead_code/i18n/bg.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\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: crm_lead_code diff --git a/crm_lead_code/i18n/crm_lead_code.pot b/crm_lead_code/i18n/crm_lead_code.pot new file mode 100644 index 00000000000..60a60ff883c --- /dev/null +++ b/crm_lead_code/i18n/crm_lead_code.pot @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:17 +#: sql_constraint:crm.lead:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + diff --git a/crm_lead_code/i18n/de.po b/crm_lead_code/i18n/de.po index 082f0e0e743..e690ba58f11 100644 --- a/crm_lead_code/i18n/de.po +++ b/crm_lead_code/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_lead_code diff --git a/crm_lead_code/i18n/es.po b/crm_lead_code/i18n/es.po index f9326123d2a..8ceef9a92b5 100644 --- a/crm_lead_code/i18n/es.po +++ b/crm_lead_code/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_lead_code diff --git a/crm_lead_code/i18n/fr.po b/crm_lead_code/i18n/fr.po index 448daecc7aa..4175aabd8c8 100644 --- a/crm_lead_code/i18n/fr.po +++ b/crm_lead_code/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+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: crm_lead_code diff --git a/crm_lead_code/i18n/hr.po b/crm_lead_code/i18n/hr.po index b262d0d8d2f..2cbf406ebc6 100644 --- a/crm_lead_code/i18n/hr.po +++ b/crm_lead_code/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"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: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code diff --git a/crm_lead_code/i18n/it.po b/crm_lead_code/i18n/it.po index ec03901e909..63a3f5bde8b 100644 --- a/crm_lead_code/i18n/it.po +++ b/crm_lead_code/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+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: crm_lead_code diff --git a/crm_lead_code/i18n/pt_BR.po b/crm_lead_code/i18n/pt_BR.po index 79ff2978eb8..12710e89991 100644 --- a/crm_lead_code/i18n/pt_BR.po +++ b/crm_lead_code/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-12-04 15:47+0000\n" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_lead_code diff --git a/crm_lead_code/i18n/sk.po b/crm_lead_code/i18n/sk.po index 669540d8365..021c21b082d 100644 --- a/crm_lead_code/i18n/sk.po +++ b/crm_lead_code/i18n/sk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: crm_lead_code diff --git a/crm_lead_code/i18n/sl.po b/crm_lead_code/i18n/sl.po index aaf346f4c4b..e8d917a77dc 100644 --- a/crm_lead_code/i18n/sl.po +++ b/crm_lead_code/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code diff --git a/crm_lead_code/i18n/tr.po b/crm_lead_code/i18n/tr.po index 7f9c494e67d..776236576e9 100644 --- a/crm_lead_code/i18n/tr.po +++ b/crm_lead_code/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # Ediz Duman , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: Ediz Duman , 2017\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_lead_code diff --git a/crm_lead_code/i18n/zh_CN.po b/crm_lead_code/i18n/zh_CN.po index 6461677b282..e33b6a244e6 100644 --- a/crm_lead_code/i18n/zh_CN.po +++ b/crm_lead_code/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_lead_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-12-04 15:47+0000\n" "PO-Revision-Date: 2017-12-04 15:47+0000\n" "Last-Translator: OCA Transbot , 2017\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: crm_lead_code From 4474fec3f584ddcb9681098046f22ced1c99b6f3 Mon Sep 17 00:00:00 2001 From: Maria Sparenberg Date: Wed, 12 Dec 2018 13:27:41 +0000 Subject: [PATCH 09/47] Translated using Weblate (German) Currently translated at 100.0% (3 of 3 strings) Translation: crm-10.0/crm-10.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-10-0/crm-10-0-crm_lead_code/de/ --- crm_lead_code/i18n/de.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/crm_lead_code/i18n/de.po b/crm_lead_code/i18n/de.po index e690ba58f11..18dfbb1eab1 100644 --- a/crm_lead_code/i18n/de.po +++ b/crm_lead_code/i18n/de.po @@ -9,19 +9,20 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2017-12-04 15:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2018-12-13 12:58+0000\n" +"Last-Translator: Maria Sparenberg \n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.3\n" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code msgid "Lead Number" -msgstr "" +msgstr "Lead-Nummer" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead @@ -32,4 +33,4 @@ msgstr "Lead/Chance" #: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" -msgstr "" +msgstr "Der Schl??ssel muss eindeutig sein!" From 29934b38fefa75a5dc06abc6ce70cbee20ee6cc5 Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Mon, 14 Jan 2019 21:53:50 +0100 Subject: [PATCH 10/47] [MIG] crm_lead_code: Migration to 12.0 [UPD] Update crm_lead_code.pot --- crm_lead_code/README.rst | 1 + crm_lead_code/__init__.py | 1 - crm_lead_code/__manifest__.py | 7 +++---- crm_lead_code/i18n/crm_lead_code.pot | 6 +++--- crm_lead_code/models/__init__.py | 3 +-- crm_lead_code/models/crm_lead.py | 12 ++++++------ crm_lead_code/tests/__init__.py | 1 - crm_lead_code/tests/test_crm_lead_code.py | 1 - crm_lead_code/views/crm_lead_view.xml | 4 ++-- 9 files changed, 16 insertions(+), 20 deletions(-) diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst index 8cc4ef94427..8f6dbe16a7d 100644 --- a/crm_lead_code/README.rst +++ b/crm_lead_code/README.rst @@ -33,6 +33,7 @@ Contributors * Pedro M. Baeza * Ana Juaristi * Nicol??s Ramos +* Mathias Markl Maintainer ---------- diff --git a/crm_lead_code/__init__.py b/crm_lead_code/__init__.py index 1202fba91cb..38c315a0f64 100644 --- a/crm_lead_code/__init__.py +++ b/crm_lead_code/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ############################################################################## # For copyright and license notices, see __manifest__.py file in root directory ############################################################################## diff --git a/crm_lead_code/__manifest__.py b/crm_lead_code/__manifest__.py index bb0548dcc43..1d90665185d 100644 --- a/crm_lead_code/__manifest__.py +++ b/crm_lead_code/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ############################################################################## # # Copyright (c) @@ -22,11 +21,10 @@ { "name": "Sequential Code for Leads / Opportunities", - "version": "10.0.1.0.0", + "version": "12.0.1.0.0", "category": "Customer Relationship Management", - "author": "OdooMRP team, " + "author": "Tecnativa, " "AvanzOSC, " - "Serv. Tecnol. Avanzados - Pedro M. Baeza, " "Odoo Community Association (OCA)", "website": "http://www.odoomrp.com", "license": "AGPL-3", @@ -34,6 +32,7 @@ "Oihane Crucelaegui ", "Pedro M. Baeza ", "Ana Juaristi ", + "Mathias Markl ", ], "depends": [ "crm", diff --git a/crm_lead_code/i18n/crm_lead_code.pot b/crm_lead_code/i18n/crm_lead_code.pot index 60a60ff883c..462f8a5bab7 100644 --- a/crm_lead_code/i18n/crm_lead_code.pot +++ b/crm_lead_code/i18n/crm_lead_code.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,7 +14,7 @@ msgstr "" "Plural-Forms: \n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -24,7 +24,7 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 +#: code:addons/crm_lead_code/models/crm_lead.py:16 #: sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" diff --git a/crm_lead_code/models/__init__.py b/crm_lead_code/models/__init__.py index 3c2b59c8609..ed991450bfe 100644 --- a/crm_lead_code/models/__init__.py +++ b/crm_lead_code/models/__init__.py @@ -1,5 +1,4 @@ -# -*- coding: utf-8 -*- -############################################################################## +############################################################################# # For copyright and license notices, see __manifest__.py file in root directory ############################################################################## from . import crm_lead diff --git a/crm_lead_code/models/crm_lead.py b/crm_lead_code/models/crm_lead.py index 28101e426b7..7af4d72f893 100644 --- a/crm_lead_code/models/crm_lead.py +++ b/crm_lead_code/models/crm_lead.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ############################################################################## # For copyright and license notices, see __manifest__.py file in root directory ############################################################################## @@ -17,11 +16,12 @@ class CrmLead(models.Model): _('The code must be unique!')), ] - @api.model - def create(self, vals): - if vals.get('code', '/') == '/': - vals['code'] = self.env['ir.sequence'].next_by_code('crm.lead') - return super(CrmLead, self).create(vals) + @api.model_create_multi + def create(self, vals_list): + for vals in vals_list: + if vals.get('code', '/') == '/': + vals['code'] = self.env['ir.sequence'].next_by_code('crm.lead') + return super(CrmLead, self).create(vals_list) @api.multi def copy(self, default=None): diff --git a/crm_lead_code/tests/__init__.py b/crm_lead_code/tests/__init__.py index 7ba686aed97..4982e98fb01 100644 --- a/crm_lead_code/tests/__init__.py +++ b/crm_lead_code/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ############################################################################## # For copyright and license notices, see __manifest__.py file in root directory ############################################################################## diff --git a/crm_lead_code/tests/test_crm_lead_code.py b/crm_lead_code/tests/test_crm_lead_code.py index 44f56694845..9af9b19fd14 100644 --- a/crm_lead_code/tests/test_crm_lead_code.py +++ b/crm_lead_code/tests/test_crm_lead_code.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ############################################################################## # For copyright and license notices, see __manifest__.py file in root directory ############################################################################## diff --git a/crm_lead_code/views/crm_lead_view.xml b/crm_lead_code/views/crm_lead_view.xml index 09d7969b990..7d3b4cd4c76 100644 --- a/crm_lead_code/views/crm_lead_view.xml +++ b/crm_lead_code/views/crm_lead_view.xml @@ -7,7 +7,7 @@ - @@ -41,7 +41,7 @@ - From f641d4921f06b8613300e1ddcb29026a64185cdb Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 3 Mar 2019 15:26:20 +0000 Subject: [PATCH 11/47] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: crm-12.0/crm-12.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_lead_code/ --- crm_lead_code/i18n/bg.po | 4 ++-- crm_lead_code/i18n/de.po | 4 ++-- crm_lead_code/i18n/es.po | 4 ++-- crm_lead_code/i18n/fr.po | 4 ++-- crm_lead_code/i18n/hr.po | 4 ++-- crm_lead_code/i18n/it.po | 4 ++-- crm_lead_code/i18n/pt_BR.po | 4 ++-- crm_lead_code/i18n/sk.po | 4 ++-- crm_lead_code/i18n/sl.po | 4 ++-- crm_lead_code/i18n/tr.po | 4 ++-- crm_lead_code/i18n/zh_CN.po | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/crm_lead_code/i18n/bg.po b/crm_lead_code/i18n/bg.po index cba413ecc97..560eacc1701 100644 --- a/crm_lead_code/i18n/bg.po +++ b/crm_lead_code/i18n/bg.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -29,7 +29,7 @@ msgid "Lead/Opportunity" msgstr "??????????/????????????????????" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/de.po b/crm_lead_code/i18n/de.po index 18dfbb1eab1..085e3fcece7 100644 --- a/crm_lead_code/i18n/de.po +++ b/crm_lead_code/i18n/de.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 3.3\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "Lead-Nummer" @@ -30,7 +30,7 @@ msgid "Lead/Opportunity" msgstr "Lead/Chance" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "Der Schl??ssel muss eindeutig sein!" diff --git a/crm_lead_code/i18n/es.po b/crm_lead_code/i18n/es.po index 8ceef9a92b5..ea95c5ad1f4 100644 --- a/crm_lead_code/i18n/es.po +++ b/crm_lead_code/i18n/es.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -29,7 +29,7 @@ msgid "Lead/Opportunity" msgstr "Iniciativa/Oportunidad" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/fr.po b/crm_lead_code/i18n/fr.po index 4175aabd8c8..8e43df9b670 100644 --- a/crm_lead_code/i18n/fr.po +++ b/crm_lead_code/i18n/fr.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -29,7 +29,7 @@ msgid "Lead/Opportunity" msgstr "Piste/Opportunit??" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/hr.po b/crm_lead_code/i18n/hr.po index 2cbf406ebc6..67f3ad78044 100644 --- a/crm_lead_code/i18n/hr.po +++ b/crm_lead_code/i18n/hr.po @@ -20,7 +20,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -30,7 +30,7 @@ msgid "Lead/Opportunity" msgstr "Potencijalni klijent" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/it.po b/crm_lead_code/i18n/it.po index 63a3f5bde8b..3d84e94c2ae 100644 --- a/crm_lead_code/i18n/it.po +++ b/crm_lead_code/i18n/it.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -29,7 +29,7 @@ msgid "Lead/Opportunity" msgstr "Lead/Opportunit??" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/pt_BR.po b/crm_lead_code/i18n/pt_BR.po index 12710e89991..1a83485410f 100644 --- a/crm_lead_code/i18n/pt_BR.po +++ b/crm_lead_code/i18n/pt_BR.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -30,7 +30,7 @@ msgid "Lead/Opportunity" msgstr "Prospector/Oportunidade" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/sk.po b/crm_lead_code/i18n/sk.po index 021c21b082d..658a003d57a 100644 --- a/crm_lead_code/i18n/sk.po +++ b/crm_lead_code/i18n/sk.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -29,7 +29,7 @@ msgid "Lead/Opportunity" msgstr "Iniciat??va/Pr??le??itos??" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/sl.po b/crm_lead_code/i18n/sl.po index e8d917a77dc..c854c130bc2 100644 --- a/crm_lead_code/i18n/sl.po +++ b/crm_lead_code/i18n/sl.po @@ -20,7 +20,7 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -30,7 +30,7 @@ msgid "Lead/Opportunity" msgstr "Indic/prilo??nost" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/tr.po b/crm_lead_code/i18n/tr.po index 776236576e9..7637c4a371f 100644 --- a/crm_lead_code/i18n/tr.po +++ b/crm_lead_code/i18n/tr.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -29,7 +29,7 @@ msgid "Lead/Opportunity" msgstr "Aday/F??rsat" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" diff --git a/crm_lead_code/i18n/zh_CN.po b/crm_lead_code/i18n/zh_CN.po index e33b6a244e6..f4e9edd0b2a 100644 --- a/crm_lead_code/i18n/zh_CN.po +++ b/crm_lead_code/i18n/zh_CN.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" msgstr "" @@ -30,7 +30,7 @@ msgid "Lead/Opportunity" msgstr "??????/??????" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:17 sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" msgstr "" From 44c69f46ad5fc5493544afe2fe884140be1bcf6f Mon Sep 17 00:00:00 2001 From: Rodrigo Macedo Date: Tue, 3 Sep 2019 01:01:31 +0000 Subject: [PATCH 12/47] Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (3 of 3 strings) Translation: crm-12.0/crm-12.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_lead_code/pt_BR/ --- crm_lead_code/i18n/pt_BR.po | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/crm_lead_code/i18n/pt_BR.po b/crm_lead_code/i18n/pt_BR.po index 1a83485410f..bc354e75862 100644 --- a/crm_lead_code/i18n/pt_BR.po +++ b/crm_lead_code/i18n/pt_BR.po @@ -9,20 +9,21 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2017-12-04 15:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" -"teams/23907/pt_BR/)\n" +"PO-Revision-Date: 2019-09-03 03:23+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" +"23907/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.8\n" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" -msgstr "" +msgstr "Número da ligação" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead @@ -33,4 +34,4 @@ msgstr "Prospector/Oportunidade" #: code:addons/crm_lead_code/models/crm_lead.py:16 sql_constraint:crm.lead:0 #, python-format msgid "The code must be unique!" -msgstr "" +msgstr "O código deve ser único!" From 77736f05d4009477f71ef63dee7cb8199361c2ed Mon Sep 17 00:00:00 2001 From: Murtuza Saleh Date: Mon, 30 Sep 2019 15:10:36 +0530 Subject: [PATCH 13/47] [WIP][13.0][MIG] crm_lead_code --- crm_lead_code/README.rst | 61 ++- crm_lead_code/__manifest__.py | 12 +- crm_lead_code/models/crm_lead.py | 16 +- crm_lead_code/readme/CONTRIBUTORS.rst | 6 + crm_lead_code/readme/DESCRIPTION.rst | 1 + crm_lead_code/static/description/index.html | 425 ++++++++++++++++++++ crm_lead_code/views/crm_lead_view.xml | 122 +++--- 7 files changed, 541 insertions(+), 102 deletions(-) create mode 100644 crm_lead_code/readme/CONTRIBUTORS.rst create mode 100644 crm_lead_code/readme/DESCRIPTION.rst create mode 100644 crm_lead_code/static/description/index.html diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst index 8f6dbe16a7d..8606763c028 100644 --- a/crm_lead_code/README.rst +++ b/crm_lead_code/README.rst @@ -1,52 +1,79 @@ -.. 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 - ========================================= -Sequential code for Leads / Opportunities +Sequential Code for Leads / Opportunities ========================================= -* This module adds a sequential code for leads / opportunities. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github + :target: https://github.com/OCA/crm/tree/13.0/crm_lead_code + :alt: OCA/crm +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/crm-13-0/crm-13-0-crm_lead_code + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/111/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| +This module adds a sequential code for leads / opportunities. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/111/10.0 +**Table of contents** +.. contents:: + :local: 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 `_. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* Tecnativa +* AvanzOSC + Contributors ------------- +~~~~~~~~~~~~ * Oihane Crucelaegui * Pedro M. Baeza * Ana Juaristi * Nicol??s Ramos * Mathias Markl +* Serpent Consulting Services Pvt. Ltd. -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit http://odoo-community.org. +This module is part of the `OCA/crm `_ project on GitHub. +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/crm_lead_code/__manifest__.py b/crm_lead_code/__manifest__.py index 1d90665185d..3a4d7ae828e 100644 --- a/crm_lead_code/__manifest__.py +++ b/crm_lead_code/__manifest__.py @@ -21,25 +21,19 @@ { "name": "Sequential Code for Leads / Opportunities", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "category": "Customer Relationship Management", "author": "Tecnativa, " "AvanzOSC, " "Odoo Community Association (OCA)", - "website": "http://www.odoomrp.com", + "website": "https://github.com/OCA/crm", "license": "AGPL-3", - "contributors": [ - "Oihane Crucelaegui ", - "Pedro M. Baeza ", - "Ana Juaristi ", - "Mathias Markl ", - ], "depends": [ "crm", ], "data": [ - "views/crm_lead_view.xml", "data/lead_sequence.xml", + "views/crm_lead_view.xml", ], 'installable': True, "pre_init_hook": "create_code_equal_to_id", diff --git a/crm_lead_code/models/crm_lead.py b/crm_lead_code/models/crm_lead.py index 7af4d72f893..7c742f757cf 100644 --- a/crm_lead_code/models/crm_lead.py +++ b/crm_lead_code/models/crm_lead.py @@ -9,7 +9,8 @@ class CrmLead(models.Model): _inherit = "crm.lead" code = fields.Char( - string='Lead Number', required=True, default="/", readonly=True) + string='Lead Number', required=True, default="/", + readonly=True, copy=False) _sql_constraints = [ ('crm_lead_unique_code', 'UNIQUE (code)', @@ -20,12 +21,7 @@ class CrmLead(models.Model): def create(self, vals_list): for vals in vals_list: if vals.get('code', '/') == '/': - vals['code'] = self.env['ir.sequence'].next_by_code('crm.lead') - return super(CrmLead, self).create(vals_list) - - @api.multi - def copy(self, default=None): - if default is None: - default = {} - default['code'] = self.env['ir.sequence'].next_by_code('crm.lead') - return super(CrmLead, self).copy(default) + vals['code'] = self.env.ref( + 'crm_lead_code.sequence_lead', + raise_if_not_found=False).next_by_id() + return super().create(vals_list) diff --git a/crm_lead_code/readme/CONTRIBUTORS.rst b/crm_lead_code/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..6f26601fc1d --- /dev/null +++ b/crm_lead_code/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Oihane Crucelaegui +* Pedro M. Baeza +* Ana Juaristi +* Nicol??s Ramos +* Mathias Markl +* Serpent Consulting Services Pvt. Ltd. diff --git a/crm_lead_code/readme/DESCRIPTION.rst b/crm_lead_code/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..739a2ce6208 --- /dev/null +++ b/crm_lead_code/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds a sequential code for leads / opportunities. diff --git a/crm_lead_code/static/description/index.html b/crm_lead_code/static/description/index.html new file mode 100644 index 00000000000..f0ac5c79ab1 --- /dev/null +++ b/crm_lead_code/static/description/index.html @@ -0,0 +1,425 @@ + + + + + + +Sequential Code for Leads / Opportunities + + + +
+

Sequential Code for Leads / Opportunities

+ + +

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

+

This module adds a sequential code for leads / opportunities.

+

Table of contents

+ +
+

Bug Tracker

+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
  • AvanzOSC
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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

+

This module is part of the OCA/crm project on GitHub.

+

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

+
+
+
+ + diff --git a/crm_lead_code/views/crm_lead_view.xml b/crm_lead_code/views/crm_lead_view.xml index 7d3b4cd4c76..c61bda59741 100644 --- a/crm_lead_code/views/crm_lead_view.xml +++ b/crm_lead_code/views/crm_lead_view.xml @@ -1,81 +1,71 @@ - - crm.lead.code.form - crm.lead - - - - - - - - - crm.lead.code.tree - crm.lead - - - - - + + crm.lead.form + crm.lead + + + + + - + + - - crm.lead.code.search - crm.lead - - - - ['|', ('name', 'ilike', self), ('code', 'ilike', self)] - + + crm.lead.tree.lead + crm.lead + + + + - + + - - crm.lead.oppor.code.form - crm.lead - - - - - + + crm.lead.search.lead + crm.lead + + + + ['|', ('name', 'ilike', self), ('code', 'ilike', self)] - + + - - crm.lead.oppor.code.tree - crm.lead - - - - - + + crm.lead.tree.opportunity + crm.lead + + + + - + + - - crm.lead.code.kanban - crm.lead - - - - - + + crm.lead.kanban.lead + crm.lead + + + + - + + - - crm.lead.oppor.code.search - crm.lead - - - - ['|', ('name', 'ilike', self), ('code', 'ilike', self)] - + + crm.lead.search.opportunity + crm.lead + + + + ['|', ('name', 'ilike', self), ('code', 'ilike', self)] - + + + From b9bb101b8178de7ecc2cae112c630acf8af0220b Mon Sep 17 00:00:00 2001 From: Murtuza Saleh Date: Tue, 5 May 2020 11:42:33 +0530 Subject: [PATCH 14/47] [FIX] Travis [UPD] Update crm_lead_code.pot [UPD] README.rst --- crm_lead_code/__init__.py | 18 ++++++++---------- crm_lead_code/__manifest__.py | 15 ++++----------- crm_lead_code/data/lead_sequence.xml | 1 - crm_lead_code/i18n/crm_lead_code.pot | 11 +++++------ crm_lead_code/models/crm_lead.py | 17 ++++++++--------- crm_lead_code/static/description/index.html | 2 +- crm_lead_code/tests/test_crm_lead_code.py | 21 ++++++++------------- crm_lead_code/views/crm_lead_view.xml | 16 ++++++---------- 8 files changed, 40 insertions(+), 61 deletions(-) diff --git a/crm_lead_code/__init__.py b/crm_lead_code/__init__.py index 38c315a0f64..164ded0b60d 100644 --- a/crm_lead_code/__init__.py +++ b/crm_lead_code/__init__.py @@ -7,19 +7,17 @@ def create_code_equal_to_id(cr): - cr.execute('ALTER TABLE crm_lead ' - 'ADD COLUMN code character varying;') - cr.execute('UPDATE crm_lead ' - 'SET code = id;') + cr.execute("ALTER TABLE crm_lead " "ADD COLUMN code character varying;") + cr.execute("UPDATE crm_lead " "SET code = id;") def assign_old_sequences(cr, registry): env = api.Environment(cr, SUPERUSER_ID, dict()) - lead_obj = env['crm.lead'] - sequence_obj = env['ir.sequence'] + lead_obj = env["crm.lead"] + sequence_obj = env["ir.sequence"] leads = lead_obj.search([], order="id") for lead_id in leads.ids: - cr.execute('UPDATE crm_lead ' - 'SET code = %s ' - 'WHERE id = %s;', - (sequence_obj.next_by_code('crm.lead'), lead_id, )) + cr.execute( + "UPDATE crm_lead " "SET code = %s " "WHERE id = %s;", + (sequence_obj.next_by_code("crm.lead"), lead_id,), + ) diff --git a/crm_lead_code/__manifest__.py b/crm_lead_code/__manifest__.py index 3a4d7ae828e..aaf7c460441 100644 --- a/crm_lead_code/__manifest__.py +++ b/crm_lead_code/__manifest__.py @@ -23,19 +23,12 @@ "name": "Sequential Code for Leads / Opportunities", "version": "13.0.1.0.0", "category": "Customer Relationship Management", - "author": "Tecnativa, " - "AvanzOSC, " - "Odoo Community Association (OCA)", + "author": "Tecnativa, " "AvanzOSC, " "Odoo Community Association (OCA)", "website": "https://github.com/OCA/crm", "license": "AGPL-3", - "depends": [ - "crm", - ], - "data": [ - "data/lead_sequence.xml", - "views/crm_lead_view.xml", - ], - 'installable': True, + "depends": ["crm"], + "data": ["data/lead_sequence.xml", "views/crm_lead_view.xml"], + "installable": True, "pre_init_hook": "create_code_equal_to_id", "post_init_hook": "assign_old_sequences", } diff --git a/crm_lead_code/data/lead_sequence.xml b/crm_lead_code/data/lead_sequence.xml index 7f54f40f92e..b07eac6c1bf 100644 --- a/crm_lead_code/data/lead_sequence.xml +++ b/crm_lead_code/data/lead_sequence.xml @@ -1,4 +1,3 @@ - Lead Code diff --git a/crm_lead_code/i18n/crm_lead_code.pot b/crm_lead_code/i18n/crm_lead_code.pot index 462f8a5bab7..097e9d75745 100644 --- a/crm_lead_code/i18n/crm_lead_code.pot +++ b/crm_lead_code/i18n/crm_lead_code.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * crm_lead_code +# * crm_lead_code # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -24,9 +24,8 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_lead_code -#: code:addons/crm_lead_code/models/crm_lead.py:16 -#: sql_constraint:crm.lead:0 +#: code:addons/crm_lead_code/models/crm_lead.py:0 +#: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format msgid "The code must be unique!" msgstr "" - diff --git a/crm_lead_code/models/crm_lead.py b/crm_lead_code/models/crm_lead.py index 7c742f757cf..631741326bb 100644 --- a/crm_lead_code/models/crm_lead.py +++ b/crm_lead_code/models/crm_lead.py @@ -2,26 +2,25 @@ # For copyright and license notices, see __manifest__.py file in root directory ############################################################################## -from odoo import api, fields, models, _ +from odoo import _, api, fields, models class CrmLead(models.Model): _inherit = "crm.lead" code = fields.Char( - string='Lead Number', required=True, default="/", - readonly=True, copy=False) + string="Lead Number", required=True, default="/", readonly=True, copy=False + ) _sql_constraints = [ - ('crm_lead_unique_code', 'UNIQUE (code)', - _('The code must be unique!')), + ("crm_lead_unique_code", "UNIQUE (code)", _("The code must be unique!")), ] @api.model_create_multi def create(self, vals_list): for vals in vals_list: - if vals.get('code', '/') == '/': - vals['code'] = self.env.ref( - 'crm_lead_code.sequence_lead', - raise_if_not_found=False).next_by_id() + if vals.get("code", "/") == "/": + vals["code"] = self.env.ref( + "crm_lead_code.sequence_lead", raise_if_not_found=False + ).next_by_id() return super().create(vals_list) diff --git a/crm_lead_code/static/description/index.html b/crm_lead_code/static/description/index.html index f0ac5c79ab1..fc0a5ce7cd4 100644 --- a/crm_lead_code/static/description/index.html +++ b/crm_lead_code/static/description/index.html @@ -3,7 +3,7 @@ - + Sequential Code for Leads / Opportunities + div.dedication { + margin: 2em 5em; + text-align: center; + font-style: italic + } + + div.dedication p.topic-title { + font-weight: bold; + font-style: normal + } + + div.figure { + margin-left: 2em; + margin-right: 2em + } + + div.footer, + div.header { + clear: both; + font-size: smaller + } + + div.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em + } + + div.line-block div.line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em + } + + div.sidebar { + margin: 0 0 0.5em 1em; + border: medium outset; + padding: 1em; + background-color: #ffffee; + width: 40%; + float: right; + clear: right + } + + div.sidebar p.rubric { + font-family: sans-serif; + font-size: medium + } + + div.system-messages { + margin: 5em + } + + div.system-messages h1 { + color: red + } + + div.system-message { + border: medium outset; + padding: 1em + } + + div.system-message p.system-message-title { + color: red; + font-weight: bold + } + + div.topic { + margin: 2em + } + + h1.section-subtitle, + h2.section-subtitle, + h3.section-subtitle, + h4.section-subtitle, + h5.section-subtitle, + h6.section-subtitle { + margin-top: 0.4em + } + + h1.title { + text-align: center + } + + h2.subtitle { + text-align: center + } + + hr.docutils { + width: 75% + } + + img.align-left, + .figure.align-left, + object.align-left, + table.align-left { + clear: left; + float: left; + margin-right: 1em + } + + img.align-right, + .figure.align-right, + object.align-right, + table.align-right { + clear: right; + float: right; + margin-left: 1em + } + + img.align-center, + .figure.align-center, + object.align-center { + display: block; + margin-left: auto; + margin-right: auto; + } + + table.align-center { + margin-left: auto; + margin-right: auto; + } + + .align-left { + text-align: left + } + + .align-center { + clear: both; + text-align: center + } + + .align-right { + text-align: right + } + + /* reset inner alignment in figures */ + div.align-right { + text-align: inherit + } + + /* div.align-center * { */ + /* text-align: left } */ + + .align-top { + vertical-align: top + } + + .align-middle { + vertical-align: middle + } + + .align-bottom { + vertical-align: bottom + } + + ol.simple, + ul.simple { + margin-bottom: 1em + } + + ol.arabic { + list-style: decimal + } + + ol.loweralpha { + list-style: lower-alpha + } + + ol.upperalpha { + list-style: upper-alpha + } + + ol.lowerroman { + list-style: lower-roman + } + + ol.upperroman { + list-style: upper-roman + } + + p.attribution { + text-align: right; + margin-left: 50% + } + + p.caption { + font-style: italic + } + + p.credits { + font-style: italic; + font-size: smaller + } + + p.label { + white-space: nowrap + } + + p.rubric { + font-weight: bold; + font-size: larger; + color: maroon; + text-align: center + } + + p.sidebar-title { + font-family: sans-serif; + font-weight: bold; + font-size: larger + } + + p.sidebar-subtitle { + font-family: sans-serif; + font-weight: bold + } + + p.topic-title { + font-weight: bold + } + + pre.address { + margin-bottom: 0; + margin-top: 0; + font: inherit + } + + pre.literal-block, + pre.doctest-block, + pre.math, + pre.code { + margin-left: 2em; + margin-right: 2em + } + + 15.0 pre.code .ln { + color: grey; + } + + /* line numbers */ + pre.code, + code { + background-color: #eeeeee + } + + pre.code .comment, + code .comment { + color: #5C6576 + } + + pre.code .keyword, + code .keyword { + color: #3B0D06; + font-weight: bold + } + + pre.code .literal.string, + code .literal.string { + color: #0C5404 + } + + pre.code .name.builtin, + code .name.builtin { + color: #352B84 + } + + pre.code .deleted, + code .deleted { + background-color: #DEB0A1 + } + + pre.code .inserted, + code .inserted { + background-color: #A3D289 + } + + span.classifier { + font-family: sans-serif; + font-style: oblique + } + + span.classifier-delimiter { + font-family: sans-serif; + font-weight: bold + } + + span.interpreted { + font-family: sans-serif + } + + span.option { + white-space: nowrap + } + + span.pre { + white-space: pre + } + + span.problematic { + color: red + } + + span.section-subtitle { + /* font-size relative to parent (h1..h6 element) */ + font-size: 80% + } + + table.citation { + border-left: solid 1px gray; + margin-left: 1px + } + + table.docinfo { + margin: 2em 4em + } + + table.docutils { + margin-top: 0.5em; + margin-bottom: 0.5em + } + + table.footnote { + border-left: solid 1px black; + margin-left: 1px + } + + table.docutils td, + table.docutils th, + table.docinfo td, + table.docinfo th { + padding-left: 0.5em; + padding-right: 0.5em; + vertical-align: top + } + + table.docutils th.field-name, + table.docinfo th.docinfo-name { + font-weight: bold; + text-align: left; + white-space: nowrap; + padding-left: 0 + } + + /* "booktabs" style (no vertical lines) */ + table.docutils.booktabs { + border: 0px; + border-top: 2px solid; + border-bottom: 2px solid; + border-collapse: collapse; + } + + table.docutils.booktabs * { + border: 0px; + } + + table.docutils.booktabs th { + border-bottom: thin solid; + text-align: left; + } + + h1 tt.docutils, + h2 tt.docutils, + h3 tt.docutils, + h4 tt.docutils, + h5 tt.docutils, + h6 tt.docutils { + font-size: 100% + } + + ul.auto-toc { + list-style-type: none + } + + -
-

Sequential Code for Leads / Opportunities

+
+

Sequential Code for Leads / Opportunities

- -

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

-

This module adds a sequential code for leads / opportunities.

-

Table of contents

- -
-

Bug Tracker

-

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

-

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

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
  • AvanzOSC
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

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

-

This module is part of the OCA/crm project on GitHub.

-

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

-
-
-
+

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

+

This module adds a sequential code for leads / opportunities.

+

Table of contents

+ +
+

Bug Tracker

+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
  • AvanzOSC
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ Odoo Community Association +

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

+

This module is part of the OCA/crm project on GitHub.

+

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

+
+
+
- + + \ No newline at end of file From 607ce4dc6c7a646b7e359bd355b19eda654d2e33 Mon Sep 17 00:00:00 2001 From: oca-ci Date: Sun, 31 Oct 2021 11:39:24 +0000 Subject: [PATCH 21/47] [UPD] Update crm_lead_code.pot --- crm_lead_code/i18n/crm_lead_code.pot | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/crm_lead_code/i18n/crm_lead_code.pot b/crm_lead_code/i18n/crm_lead_code.pot index 72c8ff58caf..019de078f2e 100644 --- a/crm_lead_code/i18n/crm_lead_code.pot +++ b/crm_lead_code/i18n/crm_lead_code.pot @@ -13,21 +13,6 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__display_name -msgid "Display Name" -msgstr "" - -#. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__id -msgid "ID" -msgstr "" - -#. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead____last_update -msgid "Last Modified on" -msgstr "" - #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" From 758ba1a07d2b36503d6929434b6f0a8d0a0c72ca Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sun, 31 Oct 2021 11:41:21 +0000 Subject: [PATCH 22/47] [UPD] README.rst --- crm_lead_code/README.rst | 2 +- crm_lead_code/static/description/index.html | 957 ++++++++------------ 2 files changed, 393 insertions(+), 566 deletions(-) diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst index 3f1cbd5b2c6..4ce9a548e0a 100644 --- a/crm_lead_code/README.rst +++ b/crm_lead_code/README.rst @@ -17,7 +17,7 @@ Sequential Code for Leads / Opportunities :target: https://github.com/OCA/crm/tree/15.0/crm_lead_code :alt: OCA/crm .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/crm-14-0/crm-14-0-crm_lead_code + :target: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_lead_code :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png :target: https://runbot.odoo-community.org/runbot/111/15.0 diff --git a/crm_lead_code/static/description/index.html b/crm_lead_code/static/description/index.html index 4d2219b8034..f8b1feff10e 100644 --- a/crm_lead_code/static/description/index.html +++ b/crm_lead_code/static/description/index.html @@ -1,14 +1,13 @@ - + - - - - Sequential Code for Leads / Opportunities - - +div.dedication { + margin: 2em 5em ; + text-align: center ; + font-style: italic } + +div.dedication p.topic-title { + font-weight: bold ; + font-style: normal } + +div.figure { + margin-left: 2em ; + margin-right: 2em } + +div.footer, div.header { + clear: both; + font-size: smaller } + +div.line-block { + display: block ; + margin-top: 1em ; + margin-bottom: 1em } + +div.line-block div.line-block { + margin-top: 0 ; + margin-bottom: 0 ; + margin-left: 1.5em } + +div.sidebar { + margin: 0 0 0.5em 1em ; + border: medium outset ; + padding: 1em ; + background-color: #ffffee ; + width: 40% ; + float: right ; + clear: right } + +div.sidebar p.rubric { + font-family: sans-serif ; + font-size: medium } + +div.system-messages { + margin: 5em } + +div.system-messages h1 { + color: red } + +div.system-message { + border: medium outset ; + padding: 1em } + +div.system-message p.system-message-title { + color: red ; + font-weight: bold } + +div.topic { + margin: 2em } + +h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, +h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { + margin-top: 0.4em } + +h1.title { + text-align: center } + +h2.subtitle { + text-align: center } + +hr.docutils { + width: 75% } + +img.align-left, .figure.align-left, object.align-left, table.align-left { + clear: left ; + float: left ; + margin-right: 1em } + +img.align-right, .figure.align-right, object.align-right, table.align-right { + clear: right ; + float: right ; + margin-left: 1em } + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left } + +.align-center { + clear: both ; + text-align: center } + +.align-right { + text-align: right } + +/* reset inner alignment in figures */ +div.align-right { + text-align: inherit } + +/* div.align-center * { */ +/* text-align: left } */ + +.align-top { + vertical-align: top } + +.align-middle { + vertical-align: middle } +.align-bottom { + vertical-align: bottom } + +ol.simple, ul.simple { + margin-bottom: 1em } + +ol.arabic { + list-style: decimal } + +ol.loweralpha { + list-style: lower-alpha } + +ol.upperalpha { + list-style: upper-alpha } + +ol.lowerroman { + list-style: lower-roman } + +ol.upperroman { + list-style: upper-roman } + +p.attribution { + text-align: right ; + margin-left: 50% } + +p.caption { + font-style: italic } + +p.credits { + font-style: italic ; + font-size: smaller } + +p.label { + white-space: nowrap } + +p.rubric { + font-weight: bold ; + font-size: larger ; + color: maroon ; + text-align: center } + +p.sidebar-title { + font-family: sans-serif ; + font-weight: bold ; + font-size: larger } + +p.sidebar-subtitle { + font-family: sans-serif ; + font-weight: bold } + +p.topic-title { + font-weight: bold } + +pre.address { + margin-bottom: 0 ; + margin-top: 0 ; + font: inherit } + +pre.literal-block, pre.doctest-block, pre.math, pre.code { + margin-left: 2em ; + margin-right: 2em } + +pre.code .ln { color: grey; } /* line numbers */ +pre.code, code { background-color: #eeeeee } +pre.code .comment, code .comment { color: #5C6576 } +pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } +pre.code .literal.string, code .literal.string { color: #0C5404 } +pre.code .name.builtin, code .name.builtin { color: #352B84 } +pre.code .deleted, code .deleted { background-color: #DEB0A1} +pre.code .inserted, code .inserted { background-color: #A3D289} + +span.classifier { + font-family: sans-serif ; + font-style: oblique } + +span.classifier-delimiter { + font-family: sans-serif ; + font-weight: bold } + +span.interpreted { + font-family: sans-serif } + +span.option { + white-space: nowrap } + +span.pre { + white-space: pre } + +span.problematic { + color: red } + +span.section-subtitle { + /* font-size relative to parent (h1..h6 element) */ + font-size: 80% } + +table.citation { + border-left: solid 1px gray; + margin-left: 1px } + +table.docinfo { + margin: 2em 4em } + +table.docutils { + margin-top: 0.5em ; + margin-bottom: 0.5em } + +table.footnote { + border-left: solid 1px black; + margin-left: 1px } + +table.docutils td, table.docutils th, +table.docinfo td, table.docinfo th { + padding-left: 0.5em ; + padding-right: 0.5em ; + vertical-align: top } + +table.docutils th.field-name, table.docinfo th.docinfo-name { + font-weight: bold ; + text-align: left ; + white-space: nowrap ; + padding-left: 0 } + +/* "booktabs" style (no vertical lines) */ +table.docutils.booktabs { + border: 0px; + border-top: 2px solid; + border-bottom: 2px solid; + border-collapse: collapse; +} +table.docutils.booktabs * { + border: 0px; +} +table.docutils.booktabs th { + border-bottom: thin solid; + text-align: left; +} + +h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, +h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { + font-size: 100% } + +ul.auto-toc { + list-style-type: none } + + + -
-

Sequential Code for Leads / Opportunities

+
+

Sequential Code for Leads / Opportunities

- -

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

-

This module adds a sequential code for leads / opportunities.

-

Table of contents

- -
-

Bug Tracker

-

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

-

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

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
  • AvanzOSC
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

- Odoo Community Association -

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

-

This module is part of the OCA/crm project on GitHub.

-

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

-
-
-
+

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

+

This module adds a sequential code for leads / opportunities.

+

Table of contents

+ +
+

Bug Tracker

+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
  • AvanzOSC
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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

+

This module is part of the OCA/crm project on GitHub.

+

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

+
+
+
- - \ No newline at end of file + From 5fc98a5457480f1692b4f1b9531d9911a53c80d6 Mon Sep 17 00:00:00 2001 From: Noel estudillo Date: Mon, 14 Feb 2022 08:20:12 +0000 Subject: [PATCH 23/47] Added translation using Weblate (Catalan) --- crm_lead_code/i18n/ca.po | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 crm_lead_code/i18n/ca.po diff --git a/crm_lead_code/i18n/ca.po b/crm_lead_code/i18n/ca.po new file mode 100644 index 00000000000..5d0f2a86048 --- /dev/null +++ b/crm_lead_code/i18n/ca.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_lead_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: crm_lead_code +#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code +msgid "Lead Number" +msgstr "" + +#. module: crm_lead_code +#: model:ir.model,name:crm_lead_code.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_lead_code +#: code:addons/crm_lead_code/models/crm_lead.py:0 +#: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code +#, python-format +msgid "The code must be unique!" +msgstr "" From a90b5b252ac929d9d05e4146b60671fafbb145d6 Mon Sep 17 00:00:00 2001 From: ajaniszewska-dev Date: Wed, 2 Mar 2022 15:03:15 +0000 Subject: [PATCH 24/47] Translated using Weblate (French) Currently translated at 100.0% (3 of 3 strings) Translation: crm-15.0/crm-15.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_lead_code/fr/ --- crm_lead_code/i18n/fr.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/crm_lead_code/i18n/fr.po b/crm_lead_code/i18n/fr.po index 3d765210089..4211b4da928 100644 --- a/crm_lead_code/i18n/fr.po +++ b/crm_lead_code/i18n/fr.po @@ -9,28 +9,29 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2017-12-04 15:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2022-03-02 17:17+0000\n" +"Last-Translator: ajaniszewska-dev \n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" -msgstr "" +msgstr "Numéro de Lead" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead msgid "Lead/Opportunity" -msgstr "Piste/Opportunit??" +msgstr "Piste/Opportunité" #. module: crm_lead_code #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format msgid "The code must be unique!" -msgstr "" +msgstr "Le code doit être unique !" From e1268775d44a79dc8f185c9c82c71373a95ba195 Mon Sep 17 00:00:00 2001 From: Noel estudillo Date: Wed, 13 Apr 2022 08:13:46 +0000 Subject: [PATCH 25/47] Translated using Weblate (Catalan) Currently translated at 100.0% (3 of 3 strings) Translation: crm-15.0/crm-15.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_lead_code/ca/ --- crm_lead_code/i18n/ca.po | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/crm_lead_code/i18n/ca.po b/crm_lead_code/i18n/ca.po index 5d0f2a86048..562b1da499c 100644 --- a/crm_lead_code/i18n/ca.po +++ b/crm_lead_code/i18n/ca.po @@ -6,27 +6,29 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2022-04-13 11:05+0000\n" +"Last-Translator: Noel estudillo \n" "Language-Team: none\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" -msgstr "" +msgstr "Número de plom" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead msgid "Lead/Opportunity" -msgstr "" +msgstr "Plom/Oportunitat" #. module: crm_lead_code #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format msgid "The code must be unique!" -msgstr "" +msgstr "El codi ha de ser únic!" From d0933bca3ed8499b3e4851f5e043a47d636fffa7 Mon Sep 17 00:00:00 2001 From: Francesco Foresti Date: Wed, 1 Feb 2023 16:44:53 +0000 Subject: [PATCH 26/47] Translated using Weblate (Italian) Currently translated at 66.6% (2 of 3 strings) Translation: crm-15.0/crm-15.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_lead_code/it/ --- crm_lead_code/i18n/it.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/crm_lead_code/i18n/it.po b/crm_lead_code/i18n/it.po index 93178b4b0cd..9c2d3dd54d4 100644 --- a/crm_lead_code/i18n/it.po +++ b/crm_lead_code/i18n/it.po @@ -9,14 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2017-12-04 15:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2023-02-01 18:46+0000\n" +"Last-Translator: Francesco Foresti \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code @@ -26,11 +27,11 @@ msgstr "" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead msgid "Lead/Opportunity" -msgstr "Lead/Opportunit??" +msgstr "Contatto/Opportunità" #. module: crm_lead_code #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format msgid "The code must be unique!" -msgstr "" +msgstr "Il codice deve essere univoco!" From 489fb58ee81421ab1af280b51ab23c805de25b47 Mon Sep 17 00:00:00 2001 From: Jaen Date: Fri, 17 Feb 2023 23:24:53 +0100 Subject: [PATCH 27/47] [MIG] crm_lead_code: Migration to 16.0 --- crm_lead_code/__manifest__.py | 2 +- crm_lead_code/views/crm_lead_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crm_lead_code/__manifest__.py b/crm_lead_code/__manifest__.py index 0de469f7299..4fb404209ef 100644 --- a/crm_lead_code/__manifest__.py +++ b/crm_lead_code/__manifest__.py @@ -21,7 +21,7 @@ { "name": "Sequential Code for Leads / Opportunities", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "category": "Customer Relationship Management", "author": "Tecnativa, AvanzOSC, Odoo Community Association (OCA)", "website": "https://github.com/OCA/crm", diff --git a/crm_lead_code/views/crm_lead_view.xml b/crm_lead_code/views/crm_lead_view.xml index 1396098db3f..8b79f07604b 100644 --- a/crm_lead_code/views/crm_lead_view.xml +++ b/crm_lead_code/views/crm_lead_view.xml @@ -48,7 +48,7 @@ - + &nbsp;
From 7c5f194ad5ebf360d6dcaf595ea00cb050d6af4f Mon Sep 17 00:00:00 2001 From: oca-ci Date: Wed, 8 Mar 2023 12:57:03 +0000 Subject: [PATCH 28/47] [UPD] Update crm_lead_code.pot --- crm_lead_code/i18n/crm_lead_code.pot | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crm_lead_code/i18n/crm_lead_code.pot b/crm_lead_code/i18n/crm_lead_code.pot index 019de078f2e..aed1166c47b 100644 --- a/crm_lead_code/i18n/crm_lead_code.pot +++ b/crm_lead_code/i18n/crm_lead_code.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -13,6 +13,11 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -24,6 +29,7 @@ msgid "Lead/Opportunity" msgstr "" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format From 12885687a41d6b115d383d23c7bc3cf7d9027b26 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 8 Mar 2023 12:59:09 +0000 Subject: [PATCH 29/47] [UPD] README.rst --- crm_lead_code/README.rst | 10 +++++----- crm_lead_code/static/description/index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst index 4ce9a548e0a..e3e4d81a8f9 100644 --- a/crm_lead_code/README.rst +++ b/crm_lead_code/README.rst @@ -14,13 +14,13 @@ Sequential Code for Leads / Opportunities :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github - :target: https://github.com/OCA/crm/tree/15.0/crm_lead_code + :target: https://github.com/OCA/crm/tree/16.0/crm_lead_code :alt: OCA/crm .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_lead_code + :target: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_lead_code :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/111/15.0 + :target: https://runbot.odoo-community.org/runbot/111/16.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -38,7 +38,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -75,6 +75,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/crm `_ project on GitHub. +This module is part of the `OCA/crm `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/crm_lead_code/static/description/index.html b/crm_lead_code/static/description/index.html index f8b1feff10e..f8bdb89ddbe 100644 --- a/crm_lead_code/static/description/index.html +++ b/crm_lead_code/static/description/index.html @@ -367,7 +367,7 @@

Sequential Code for Leads / Opportunities

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

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

+

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

This module adds a sequential code for leads / opportunities.

Table of contents

@@ -386,7 +386,7 @@

Bug Tracker

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

+feedback.

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

@@ -417,7 +417,7 @@

Maintainers

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

-

This module is part of the OCA/crm project on GitHub.

+

This module is part of the OCA/crm project on GitHub.

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

From 73fdbf03ca9273e2987d89b9fb9cecc852ab1437 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 8 Mar 2023 12:59:09 +0000 Subject: [PATCH 30/47] crm_lead_code 16.0.1.0.1 --- crm_lead_code/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm_lead_code/__manifest__.py b/crm_lead_code/__manifest__.py index 4fb404209ef..6436184c864 100644 --- a/crm_lead_code/__manifest__.py +++ b/crm_lead_code/__manifest__.py @@ -21,7 +21,7 @@ { "name": "Sequential Code for Leads / Opportunities", - "version": "16.0.1.0.0", + "version": "16.0.1.0.1", "category": "Customer Relationship Management", "author": "Tecnativa, AvanzOSC, Odoo Community Association (OCA)", "website": "https://github.com/OCA/crm", From af39ad75bc7eae4548a931b87426c3fbc81acbfa Mon Sep 17 00:00:00 2001 From: Weblate Date: Wed, 8 Mar 2023 16:08:46 +0000 Subject: [PATCH 31/47] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: crm-16.0/crm-16.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_lead_code/ --- crm_lead_code/i18n/bg.po | 6 ++++++ crm_lead_code/i18n/ca.po | 6 ++++++ crm_lead_code/i18n/de.po | 6 ++++++ crm_lead_code/i18n/es.po | 6 ++++++ crm_lead_code/i18n/es_AR.po | 26 +++++++++++++------------- crm_lead_code/i18n/fr.po | 6 ++++++ crm_lead_code/i18n/hr.po | 6 ++++++ crm_lead_code/i18n/it.po | 6 ++++++ crm_lead_code/i18n/pt_BR.po | 6 ++++++ crm_lead_code/i18n/sk.po | 6 ++++++ crm_lead_code/i18n/sl.po | 6 ++++++ crm_lead_code/i18n/tr.po | 6 ++++++ crm_lead_code/i18n/zh_CN.po | 6 ++++++ 13 files changed, 85 insertions(+), 13 deletions(-) diff --git a/crm_lead_code/i18n/bg.po b/crm_lead_code/i18n/bg.po index 8c1b04525ea..86cf50dc1c3 100644 --- a/crm_lead_code/i18n/bg.po +++ b/crm_lead_code/i18n/bg.po @@ -18,6 +18,11 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -29,6 +34,7 @@ msgid "Lead/Opportunity" msgstr "??????????/????????????????????" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/ca.po b/crm_lead_code/i18n/ca.po index 562b1da499c..2ea2cb9943a 100644 --- a/crm_lead_code/i18n/ca.po +++ b/crm_lead_code/i18n/ca.po @@ -16,6 +16,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.3.2\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -27,6 +32,7 @@ msgid "Lead/Opportunity" msgstr "Plom/Oportunitat" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/de.po b/crm_lead_code/i18n/de.po index 570abdd2c8d..1c2b3a0b0f9 100644 --- a/crm_lead_code/i18n/de.po +++ b/crm_lead_code/i18n/de.po @@ -19,6 +19,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.3\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -30,6 +35,7 @@ msgid "Lead/Opportunity" msgstr "Lead/Chance" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/es.po b/crm_lead_code/i18n/es.po index 4cdebdcda46..6d9dc7399d5 100644 --- a/crm_lead_code/i18n/es.po +++ b/crm_lead_code/i18n/es.po @@ -19,6 +19,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.3.2\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -30,6 +35,7 @@ msgid "Lead/Opportunity" msgstr "Iniciativa/Oportunidad" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/es_AR.po b/crm_lead_code/i18n/es_AR.po index 5f183f1eb5a..178d95d4692 100644 --- a/crm_lead_code/i18n/es_AR.po +++ b/crm_lead_code/i18n/es_AR.po @@ -17,19 +17,9 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__display_name -msgid "Display Name" -msgstr "Mostrar Nombre" - -#. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__id -msgid "ID" -msgstr "ID" - -#. module: crm_lead_code -#: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead____last_update -msgid "Last Modified on" -msgstr "Última Modificación el" +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code @@ -42,8 +32,18 @@ msgid "Lead/Opportunity" msgstr "Iniciativa/Oportunidad" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format msgid "The code must be unique!" msgstr "¡El código debe ser único!" + +#~ msgid "Display Name" +#~ msgstr "Mostrar Nombre" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última Modificación el" diff --git a/crm_lead_code/i18n/fr.po b/crm_lead_code/i18n/fr.po index 4211b4da928..c8a79309104 100644 --- a/crm_lead_code/i18n/fr.po +++ b/crm_lead_code/i18n/fr.po @@ -19,6 +19,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.3.2\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -30,6 +35,7 @@ msgid "Lead/Opportunity" msgstr "Piste/Opportunité" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/hr.po b/crm_lead_code/i18n/hr.po index d2fc8e5be6b..1df8030afd0 100644 --- a/crm_lead_code/i18n/hr.po +++ b/crm_lead_code/i18n/hr.po @@ -19,6 +19,11 @@ msgstr "" "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: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -30,6 +35,7 @@ msgid "Lead/Opportunity" msgstr "Potencijalni klijent" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/it.po b/crm_lead_code/i18n/it.po index 9c2d3dd54d4..1f86bb5d7ce 100644 --- a/crm_lead_code/i18n/it.po +++ b/crm_lead_code/i18n/it.po @@ -19,6 +19,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.14.1\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -30,6 +35,7 @@ msgid "Lead/Opportunity" msgstr "Contatto/Opportunità" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/pt_BR.po b/crm_lead_code/i18n/pt_BR.po index 64f9d8e958e..feec6850e55 100644 --- a/crm_lead_code/i18n/pt_BR.po +++ b/crm_lead_code/i18n/pt_BR.po @@ -20,6 +20,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.8\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -31,6 +36,7 @@ msgid "Lead/Opportunity" msgstr "Prospector/Oportunidade" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/sk.po b/crm_lead_code/i18n/sk.po index 32f8bdc2eee..ff22b38474d 100644 --- a/crm_lead_code/i18n/sk.po +++ b/crm_lead_code/i18n/sk.po @@ -18,6 +18,11 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -29,6 +34,7 @@ msgid "Lead/Opportunity" msgstr "Iniciat??va/Pr??le??itos??" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/sl.po b/crm_lead_code/i18n/sl.po index c7710beb343..cb8e8b0f6a6 100644 --- a/crm_lead_code/i18n/sl.po +++ b/crm_lead_code/i18n/sl.po @@ -19,6 +19,11 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "%100==4 ? 2 : 3);\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -30,6 +35,7 @@ msgid "Lead/Opportunity" msgstr "Indic/prilo??nost" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/tr.po b/crm_lead_code/i18n/tr.po index 073b0d580dd..fa7dbfb1252 100644 --- a/crm_lead_code/i18n/tr.po +++ b/crm_lead_code/i18n/tr.po @@ -18,6 +18,11 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -29,6 +34,7 @@ msgid "Lead/Opportunity" msgstr "Aday/F??rsat" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format diff --git a/crm_lead_code/i18n/zh_CN.po b/crm_lead_code/i18n/zh_CN.po index 01196ed3edc..8b2885c9f70 100644 --- a/crm_lead_code/i18n/zh_CN.po +++ b/crm_lead_code/i18n/zh_CN.po @@ -19,6 +19,11 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=1; plural=0;\n" +#. module: crm_lead_code +#: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit +msgid "&nbsp;" +msgstr "" + #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" @@ -30,6 +35,7 @@ msgid "Lead/Opportunity" msgstr "??????/??????" #. module: crm_lead_code +#. odoo-python #: code:addons/crm_lead_code/models/crm_lead.py:0 #: model:ir.model.constraint,message:crm_lead_code.constraint_crm_lead_crm_lead_unique_code #, python-format From 51ef1ce8f52697f0ceeb89b683bc44b413887ac1 Mon Sep 17 00:00:00 2001 From: Matjaz Mozetic Date: Tue, 11 Apr 2023 10:36:19 +0000 Subject: [PATCH 32/47] Translated using Weblate (Slovenian) Currently translated at 25.0% (1 of 4 strings) Translation: crm-16.0/crm-16.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_lead_code/sl/ --- crm_lead_code/i18n/sl.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/crm_lead_code/i18n/sl.po b/crm_lead_code/i18n/sl.po index cb8e8b0f6a6..b0378eee157 100644 --- a/crm_lead_code/i18n/sl.po +++ b/crm_lead_code/i18n/sl.po @@ -9,15 +9,16 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2017-12-04 15:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2023-04-11 13:27+0000\n" +"Last-Translator: Matjaz Mozetic \n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" -"%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 4.14.1\n" #. module: crm_lead_code #: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit @@ -32,7 +33,7 @@ msgstr "" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead msgid "Lead/Opportunity" -msgstr "Indic/prilo??nost" +msgstr "Indic/priložnost" #. module: crm_lead_code #. odoo-python From 6bd99f88025f05700eb8190c5e148c061803db93 Mon Sep 17 00:00:00 2001 From: mymage Date: Mon, 12 Jun 2023 13:17:07 +0000 Subject: [PATCH 33/47] Translated using Weblate (Italian) Currently translated at 100.0% (4 of 4 strings) Translation: crm-16.0/crm-16.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_lead_code/it/ --- crm_lead_code/i18n/it.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crm_lead_code/i18n/it.po b/crm_lead_code/i18n/it.po index 1f86bb5d7ce..e4d307182f6 100644 --- a/crm_lead_code/i18n/it.po +++ b/crm_lead_code/i18n/it.po @@ -9,25 +9,25 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2023-02-01 18:46+0000\n" -"Last-Translator: Francesco Foresti \n" +"PO-Revision-Date: 2023-06-12 16:10+0000\n" +"Last-Translator: mymage \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.14.1\n" +"X-Generator: Weblate 4.17\n" #. module: crm_lead_code #: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit msgid "&nbsp;" -msgstr "" +msgstr "&nbsp;" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code msgid "Lead Number" -msgstr "" +msgstr "Numero contatto" #. module: crm_lead_code #: model:ir.model,name:crm_lead_code.model_crm_lead From aae1e8c565e7bff0a23eb621ce433aa1e12516e3 Mon Sep 17 00:00:00 2001 From: Ivorra78 Date: Wed, 2 Aug 2023 11:35:23 +0000 Subject: [PATCH 34/47] Translated using Weblate (Spanish) Currently translated at 100.0% (4 of 4 strings) Translation: crm-16.0/crm-16.0-crm_lead_code Translate-URL: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_lead_code/es/ --- crm_lead_code/i18n/es.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crm_lead_code/i18n/es.po b/crm_lead_code/i18n/es.po index 6d9dc7399d5..1fc6d0cbc5d 100644 --- a/crm_lead_code/i18n/es.po +++ b/crm_lead_code/i18n/es.po @@ -9,20 +9,20 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-04 15:47+0000\n" -"PO-Revision-Date: 2021-02-11 21:44+0000\n" -"Last-Translator: Mat-moran \n" +"PO-Revision-Date: 2023-08-02 14:10+0000\n" +"Last-Translator: Ivorra78 \n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.17\n" #. module: crm_lead_code #: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit msgid "&nbsp;" -msgstr "" +msgstr "&nbsp;" #. module: crm_lead_code #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code From 57e059d5ccb2ae0c621978e2dc41a127d4e66eb1 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sun, 3 Sep 2023 12:20:01 +0000 Subject: [PATCH 35/47] [UPD] README.rst --- crm_lead_code/README.rst | 15 +++++---- crm_lead_code/static/description/index.html | 34 +++++++++++---------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/crm_lead_code/README.rst b/crm_lead_code/README.rst index e3e4d81a8f9..4b909bedace 100644 --- a/crm_lead_code/README.rst +++ b/crm_lead_code/README.rst @@ -2,10 +2,13 @@ Sequential Code for Leads / Opportunities ========================================= -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6b1831d70969cde994b6ee3974356be5904b671bc7e3b1be703ca116aa8ee1a7 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -19,11 +22,11 @@ Sequential Code for Leads / Opportunities .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_lead_code :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/111/16.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/crm&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds a sequential code for leads / opportunities. @@ -37,7 +40,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed +If you spotted it first, help us to smash it by providing a detailed and welcomed `feedback `_. Do not contact contributors directly about support or help with technical issues. diff --git a/crm_lead_code/static/description/index.html b/crm_lead_code/static/description/index.html index f8bdb89ddbe..ef0118daa35 100644 --- a/crm_lead_code/static/description/index.html +++ b/crm_lead_code/static/description/index.html @@ -1,20 +1,20 @@ - + - + Sequential Code for Leads / Opportunities