From 3aea8a9ddbc1980e107e65ab453dfc26ec655fec Mon Sep 17 00:00:00 2001 From: oihane Date: Thu, 30 Oct 2014 13:01:52 +0100 Subject: [PATCH 01/68] [MOD] changing from odoomrp to avanzosc --- project_task_code/__init__.py | 19 +++++++++++ project_task_code/__openerp__.py | 41 ++++++++++++++++++++++++ project_task_code/data/task_sequence.xml | 17 ++++++++++ project_task_code/models/__init__.py | 19 +++++++++++ project_task_code/models/project_task.py | 40 +++++++++++++++++++++++ project_task_code/views/project_view.xml | 37 +++++++++++++++++++++ 6 files changed, 173 insertions(+) create mode 100644 project_task_code/__init__.py create mode 100644 project_task_code/__openerp__.py create mode 100644 project_task_code/data/task_sequence.xml create mode 100644 project_task_code/models/__init__.py create mode 100644 project_task_code/models/project_task.py create mode 100644 project_task_code/views/project_view.xml diff --git a/project_task_code/__init__.py b/project_task_code/__init__.py new file mode 100644 index 0000000000..7fc7c09f9b --- /dev/null +++ b/project_task_code/__init__.py @@ -0,0 +1,19 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# 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 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 http://www.gnu.org/licenses/. +# +############################################################################## + +from . import models diff --git a/project_task_code/__openerp__.py b/project_task_code/__openerp__.py new file mode 100644 index 0000000000..b9a64f69aa --- /dev/null +++ b/project_task_code/__openerp__.py @@ -0,0 +1,41 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# 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 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 http://www.gnu.org/licenses/. +# +############################################################################## + +{ + "name": "Sequential Code for Tasks", + "version": "1.0", + "depends": [ + "project", + ], + "author": "OdooMRP team", + "contributors": [ + "Oihane Crucelaegui ", + ], + "category": "Custom Module", + "website": "http://www.odoomrp.com", + "summary": "Task sequential code generator", + "description": """ + This module creates a sequential code for tasks + """, + "data": [ + "data/task_sequence.xml", + "views/project_view.xml", + ], + "installable": True, + "auto_install": False, +} diff --git a/project_task_code/data/task_sequence.xml b/project_task_code/data/task_sequence.xml new file mode 100644 index 0000000000..f4b321f265 --- /dev/null +++ b/project_task_code/data/task_sequence.xml @@ -0,0 +1,17 @@ + + + + + Task sequence type + sequence.project.task + + + + Task sequence + sequence.project.task + + T + + + diff --git a/project_task_code/models/__init__.py b/project_task_code/models/__init__.py new file mode 100644 index 0000000000..13b42aae19 --- /dev/null +++ b/project_task_code/models/__init__.py @@ -0,0 +1,19 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# 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 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 http://www.gnu.org/licenses/. +# +############################################################################## + +from . import project_task diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py new file mode 100644 index 0000000000..010c1cfdf4 --- /dev/null +++ b/project_task_code/models/project_task.py @@ -0,0 +1,40 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# 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 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 http://www.gnu.org/licenses/. +# +############################################################################## + +from openerp.osv import orm, fields + + +class ProjectTask(orm.Model): + _inherit = 'project.task' + + _columns = { + 'code': fields.char('Sequence', size=64), + } + + _sql_constraints = [ + ('unique_sequence', 'UNIQUE (code)', 'The sequence must be unique!'), + ] + + def create(self, cr, uid, data, context=None): + if not data.get('code'): + seq_obj = self.pool['ir.sequence'] + seq = seq_obj.next_by_code(cr, uid, 'sequence.project.task', + context=context) + data['code'] = seq + + return super(ProjectTask, self).create(cr, uid, data, context=context) diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml new file mode 100644 index 0000000000..004d6e8c90 --- /dev/null +++ b/project_task_code/views/project_view.xml @@ -0,0 +1,37 @@ + + + + + project.task.form + project.task + + + + + + + + + + project.task.tree + project.task + + + + + + + + + + project.task.kanban + project.task + + + + + + + + + From 3d95b9b9231bb01cf6a36b3671c8f6e3ba0b7815 Mon Sep 17 00:00:00 2001 From: oihane Date: Tue, 2 Dec 2014 15:11:01 +0100 Subject: [PATCH 02/68] [FIX] Code error when copying a task --- project_task_code/models/project_task.py | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index 010c1cfdf4..cf976f4d06 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -16,25 +16,23 @@ # ############################################################################## -from openerp.osv import orm, fields +from openerp import models, fields, api, _ -class ProjectTask(orm.Model): +class ProjectTask(models.Model): _inherit = 'project.task' - _columns = { - 'code': fields.char('Sequence', size=64), - } + code = fields.Char(string='Sequence', copy=False) _sql_constraints = [ - ('unique_sequence', 'UNIQUE (code)', 'The sequence must be unique!'), + ('unique_sequence', 'UNIQUE (code)', + _('The sequence must be unique!')), ] - def create(self, cr, uid, data, context=None): + @api.model + def create(self, data): if not data.get('code'): - seq_obj = self.pool['ir.sequence'] - seq = seq_obj.next_by_code(cr, uid, 'sequence.project.task', - context=context) + seq_obj = self.env['ir.sequence'] + seq = seq_obj.next_by_code('sequence.project.task') data['code'] = seq - - return super(ProjectTask, self).create(cr, uid, data, context=context) + return super(ProjectTask, self).create(data) From 3fcb280996714c0cf38a552c2896ddc5d749e4ed Mon Sep 17 00:00:00 2001 From: oihane Date: Thu, 30 Jul 2015 13:50:26 +0200 Subject: [PATCH 03/68] [IMP] adapted to OCA --- project_task_code/README.rst | 42 +++++++++++++++++ project_task_code/__init__.py | 37 ++++++++------- project_task_code/__openerp__.py | 29 ++++++------ project_task_code/data/task_sequence.xml | 16 +++---- project_task_code/i18n/es.po | 34 ++++++++++++++ project_task_code/i18n/project_task_code.pot | 34 ++++++++++++++ project_task_code/models/project_task.py | 43 ++++++++---------- project_task_code/tests/__init__.py | 6 +++ .../tests/test_project_task_code.py | 45 +++++++++++++++++++ project_task_code/views/project_view.xml | 28 ++++++++---- 10 files changed, 244 insertions(+), 70 deletions(-) create mode 100644 project_task_code/README.rst create mode 100644 project_task_code/i18n/es.po create mode 100644 project_task_code/i18n/project_task_code.pot create mode 100644 project_task_code/tests/__init__.py create mode 100644 project_task_code/tests/test_project_task_code.py diff --git a/project_task_code/README.rst b/project_task_code/README.rst new file mode 100644 index 0000000000..971838c8cf --- /dev/null +++ b/project_task_code/README.rst @@ -0,0 +1,42 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Sequential code for tasks +========================= + +* This module adds a sequential code for tasks. + + +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/project_task_code/__init__.py b/project_task_code/__init__.py index 7fc7c09f9b..91e5be6721 100644 --- a/project_task_code/__init__.py +++ b/project_task_code/__init__.py @@ -1,19 +1,26 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## -# -# 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 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 http://www.gnu.org/licenses/. -# +# 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 project_task ' + 'ADD COLUMN code character varying;') + cr.execute('UPDATE project_task ' + 'SET code = id;') + + +def assign_old_sequences(cr, registry): + task_obj = registry['project.task'] + sequence_obj = registry['ir.sequence'] + task_ids = task_obj.search(cr, SUPERUSER_ID, [], order="id") + for task_id in task_ids: + cr.execute('UPDATE project_task ' + 'SET code = \'%s\' ' + 'WHERE id = %d;' % + (sequence_obj.get(cr, SUPERUSER_ID, 'project.task'), + task_id)) diff --git a/project_task_code/__openerp__.py b/project_task_code/__openerp__.py index b9a64f69aa..eca03fd0a1 100644 --- a/project_task_code/__openerp__.py +++ b/project_task_code/__openerp__.py @@ -9,33 +9,36 @@ # 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 General Public License for more details. +# 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 http://www.gnu.org/licenses/. +# along with this program. If not, see . # ############################################################################## { "name": "Sequential Code for Tasks", "version": "1.0", - "depends": [ - "project", - ], - "author": "OdooMRP team", + "category": "Project Management", + "author": "OdooMRP team, " + "AvanzOSC, " + "Serv. Tecnol. Avanzados - Pedro M. Baeza, " + "Odoo Community Association (OCA)", + "website": "http://www.avanzosc.es", + "license": "AGPL-3", "contributors": [ "Oihane Crucelaegui ", + "Pedro M. Baeza ", + "Ana Juaristi ", + ], + "depends": [ + "project", ], - "category": "Custom Module", - "website": "http://www.odoomrp.com", - "summary": "Task sequential code generator", - "description": """ - This module creates a sequential code for tasks - """, "data": [ "data/task_sequence.xml", "views/project_view.xml", ], "installable": True, - "auto_install": False, + "pre_init_hook": "create_code_equal_to_id", + "post_init_hook": "assign_old_sequences", } diff --git a/project_task_code/data/task_sequence.xml b/project_task_code/data/task_sequence.xml index f4b321f265..2693dc154a 100644 --- a/project_task_code/data/task_sequence.xml +++ b/project_task_code/data/task_sequence.xml @@ -1,15 +1,13 @@ - - - Task sequence type - sequence.project.task + + + Task code type + project.task - - - Task sequence - sequence.project.task + + Task code + project.task T diff --git a/project_task_code/i18n/es.po b/project_task_code/i18n/es.po new file mode 100644 index 0000000000..845de1aee5 --- /dev/null +++ b/project_task_code/i18n/es.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-30 11:48+0000\n" +"PO-Revision-Date: 2015-07-30 11:48+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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarea" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "Número de tarea" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "¡El número debe de ser único!" + diff --git a/project_task_code/i18n/project_task_code.pot b/project_task_code/i18n/project_task_code.pot new file mode 100644 index 0000000000..02c1fed002 --- /dev/null +++ b/project_task_code/i18n/project_task_code.pot @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-30 11:47+0000\n" +"PO-Revision-Date: 2015-07-30 11: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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index cf976f4d06..72f572d9ba 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -1,38 +1,31 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## -# -# 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 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 http://www.gnu.org/licenses/. -# +# For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields, api, _ +from openerp import api, fields, models, _ class ProjectTask(models.Model): _inherit = 'project.task' - code = fields.Char(string='Sequence', copy=False) + code = fields.Char( + string='Task Number', required=True, default="/", readonly=True) _sql_constraints = [ - ('unique_sequence', 'UNIQUE (code)', - _('The sequence must be unique!')), + ('project_task_unique_code', 'UNIQUE (code)', + _('The code must be unique!')), ] @api.model - def create(self, data): - if not data.get('code'): - seq_obj = self.env['ir.sequence'] - seq = seq_obj.next_by_code('sequence.project.task') - data['code'] = seq - return super(ProjectTask, self).create(data) + def create(self, vals): + if vals.get('code', '/') == '/': + vals['code'] = self.env['ir.sequence'].get('project.task') + return super(ProjectTask, self).create(vals) + + @api.one + def copy(self, default=None): + if default is None: + default = {} + default['code'] = self.env['ir.sequence'].get('project.task') + return super(ProjectTask, self).copy(default) diff --git a/project_task_code/tests/__init__.py b/project_task_code/tests/__init__.py new file mode 100644 index 0000000000..98b96cddf4 --- /dev/null +++ b/project_task_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_project_task_code diff --git a/project_task_code/tests/test_project_task_code.py b/project_task_code/tests/test_project_task_code.py new file mode 100644 index 0000000000..1f16e172c2 --- /dev/null +++ b/project_task_code/tests/test_project_task_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 TestProjectTaskCode(common.TransactionCase): + + def setUp(self): + super(TestProjectTaskCode, self).setUp() + self.project_task_model = self.env['project.task'] + self.ir_sequence_model = self.env['ir.sequence'] + self.task_sequence = self.env.ref('project_task_code.sequence_task') + self.project_task = self.env.ref('project.project_task_1') + + def test_old_task_code_assign(self): + project_tasks = self.project_task_model.search([]) + for project_task in project_tasks: + self.assertNotEqual(project_task.code, '/') + + def test_new_task_code_assign(self): + code = self._get_next_code() + project_task = self.project_task_model.create({ + 'name': 'Testing task code', + }) + self.assertNotEqual(project_task.code, '/') + self.assertEqual(project_task.code, code) + + def test_copy_task_code_assign(self): + code = self._get_next_code() + project_task_copy = self.project_task.copy() + self.assertNotEqual(project_task_copy.code, self.project_task.code) + self.assertEqual(project_task_copy.code, code) + + def _get_next_code(self): + d = self.ir_sequence_model._interpolation_dict() + prefix = self.ir_sequence_model._interpolate( + self.task_sequence.prefix, d) + suffix = self.ir_sequence_model._interpolate( + self.task_sequence.suffix, d) + code = (prefix + ('%%0%sd' % self.task_sequence.padding % + self.task_sequence.number_next_actual) + suffix) + return code diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml index 004d6e8c90..ba3e1f6936 100644 --- a/project_task_code/views/project_view.xml +++ b/project_task_code/views/project_view.xml @@ -1,19 +1,20 @@ - - project.task.form + + project.task.code.form project.task - - + + + - - project.task.tree + + project.task.code.tree project.task @@ -23,8 +24,8 @@ - - project.task.kanban + + project.task.code.kanban project.task @@ -33,5 +34,16 @@ + + + project.task.code.search + project.task + + + + ['|', ('name', 'ilike', self), ('code', 'ilike', self)] + + + From e25ec21245cb0e3df3500ddb5729d574bc1c0085 Mon Sep 17 00:00:00 2001 From: oihane Date: Mon, 3 Aug 2015 10:23:59 +0200 Subject: [PATCH 04/68] [IMP] Added docstring to pre and post init-hooks --- project_task_code/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/project_task_code/__init__.py b/project_task_code/__init__.py index 91e5be6721..91aaeba020 100644 --- a/project_task_code/__init__.py +++ b/project_task_code/__init__.py @@ -8,6 +8,11 @@ def create_code_equal_to_id(cr): + """ + With this pre-init-hook we want to avoid error when creating the UNIQUE + code constraint when the module is installed and before the post-init-hook + is launched. + """ cr.execute('ALTER TABLE project_task ' 'ADD COLUMN code character varying;') cr.execute('UPDATE project_task ' @@ -15,6 +20,10 @@ def create_code_equal_to_id(cr): def assign_old_sequences(cr, registry): + """ + This post-init-hook will update all existing task assigning them the + corresponding sequence code. + """ task_obj = registry['project.task'] sequence_obj = registry['ir.sequence'] task_ids = task_obj.search(cr, SUPERUSER_ID, [], order="id") From 4646b44178302704f3d813806e8bd93ca1a0e87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 9 Oct 2015 10:01:58 +0200 Subject: [PATCH 05/68] [UPD] prefix versions with 8.0 --- project_task_code/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_task_code/__openerp__.py b/project_task_code/__openerp__.py index eca03fd0a1..fa2a978581 100644 --- a/project_task_code/__openerp__.py +++ b/project_task_code/__openerp__.py @@ -18,7 +18,7 @@ { "name": "Sequential Code for Tasks", - "version": "1.0", + "version": "8.0.1.0.0", "category": "Project Management", "author": "OdooMRP team, " "AvanzOSC, " From 20788119feead9aa168fbf48659055c63d6ac19c Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 14 Oct 2015 03:31:30 +0200 Subject: [PATCH 06/68] [MIG] Make modules uninstallable --- project_task_code/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_task_code/__openerp__.py b/project_task_code/__openerp__.py index fa2a978581..202540c0fe 100644 --- a/project_task_code/__openerp__.py +++ b/project_task_code/__openerp__.py @@ -38,7 +38,7 @@ "data/task_sequence.xml", "views/project_view.xml", ], - "installable": True, + 'installable': False, "pre_init_hook": "create_code_equal_to_id", "post_init_hook": "assign_old_sequences", } From 598bbee55c38f08f593f109eb1b9c3829210136b Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 16:05:45 +0200 Subject: [PATCH 07/68] [MIG] Rename manifest files --- project_task_code/{__openerp__.py => __manifest__.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename project_task_code/{__openerp__.py => __manifest__.py} (100%) diff --git a/project_task_code/__openerp__.py b/project_task_code/__manifest__.py similarity index 100% rename from project_task_code/__openerp__.py rename to project_task_code/__manifest__.py From 97a3d6a4179fd003ebd8782822be8c760dd530e5 Mon Sep 17 00:00:00 2001 From: cubells Date: Sat, 17 Dec 2016 15:28:41 +0100 Subject: [PATCH 08/68] project_task_code module --- project_task_code/README.rst | 35 ++++++++++++++++--- project_task_code/__init__.py | 13 ++++--- project_task_code/__manifest__.py | 27 ++++---------- project_task_code/data/task_sequence.xml | 12 +++---- project_task_code/models/__init__.py | 20 ++--------- project_task_code/models/project_task.py | 9 +++-- project_task_code/tests/__init__.py | 7 ++-- .../tests/test_project_task_code.py | 23 ++++-------- project_task_code/views/project_view.xml | 8 ++--- 9 files changed, 68 insertions(+), 86 deletions(-) diff --git a/project_task_code/README.rst b/project_task_code/README.rst index 971838c8cf..6ff5a87fe8 100644 --- a/project_task_code/README.rst +++ b/project_task_code/README.rst @@ -1,19 +1,43 @@ .. 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 tasks ========================= * This module adds a sequential code for tasks. +Configuration +============= + +To change the task code sequence, you must: + +#. Activate the developer mode. +#. Go to Settings > Technical > Sequences & Identifiers > Sequences. +#. Click on "Task code" sequence to edit. + +Usage +===== + +To use this module, you need to: + +#. Go to menu Project > Search > Tasks and create a new task, and you get a +new code saving it. +#. If you duplicate a task, you will get a new code for the new task. + + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/140/9.0 Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback -`here `_. +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. Credits @@ -25,6 +49,7 @@ Contributors * Oihane Crucelaegui * Pedro M. Baeza * Ana Juaristi +* Vicent Cubells Maintainer ---------- diff --git a/project_task_code/__init__.py b/project_task_code/__init__.py index 91aaeba020..86efb98ebf 100644 --- a/project_task_code/__init__.py +++ b/project_task_code/__init__.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# Copyright 2016 Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models from openerp import SUPERUSER_ID @@ -29,7 +28,7 @@ def assign_old_sequences(cr, registry): task_ids = task_obj.search(cr, SUPERUSER_ID, [], order="id") for task_id in task_ids: cr.execute('UPDATE project_task ' - 'SET code = \'%s\' ' - 'WHERE id = %d;' % - (sequence_obj.get(cr, SUPERUSER_ID, 'project.task'), - task_id)) + 'SET code = %s ' + 'WHERE id = %s;', + (sequence_obj.next_by_code( + cr, SUPERUSER_ID, 'project.task'), task_id, )) diff --git a/project_task_code/__manifest__.py b/project_task_code/__manifest__.py index 202540c0fe..96990d6697 100644 --- a/project_task_code/__manifest__.py +++ b/project_task_code/__manifest__.py @@ -1,28 +1,14 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Sequential Code for Tasks", - "version": "8.0.1.0.0", + "version": "9.0.1.0.0", "category": "Project Management", "author": "OdooMRP team, " "AvanzOSC, " - "Serv. Tecnol. Avanzados - Pedro M. Baeza, " + "Tecnativa, " "Odoo Community Association (OCA)", "website": "http://www.avanzosc.es", "license": "AGPL-3", @@ -30,6 +16,7 @@ "Oihane Crucelaegui ", "Pedro M. Baeza ", "Ana Juaristi ", + "Vicent Cubells ", ], "depends": [ "project", @@ -38,7 +25,7 @@ "data/task_sequence.xml", "views/project_view.xml", ], - 'installable': False, + 'installable': True, "pre_init_hook": "create_code_equal_to_id", "post_init_hook": "assign_old_sequences", } diff --git a/project_task_code/data/task_sequence.xml b/project_task_code/data/task_sequence.xml index 2693dc154a..24cb062ac0 100644 --- a/project_task_code/data/task_sequence.xml +++ b/project_task_code/data/task_sequence.xml @@ -1,15 +1,11 @@ - - - - Task code type - project.task - + + Task code project.task T - - + + diff --git a/project_task_code/models/__init__.py b/project_task_code/models/__init__.py index 13b42aae19..a1faed2a6b 100644 --- a/project_task_code/models/__init__.py +++ b/project_task_code/models/__init__.py @@ -1,19 +1,5 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# 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 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 http://www.gnu.org/licenses/. -# -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import project_task diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index 72f572d9ba..cbda7d694d 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# Copyright 2016 Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp import api, fields, models, _ @@ -20,12 +19,12 @@ class ProjectTask(models.Model): @api.model def create(self, vals): if vals.get('code', '/') == '/': - vals['code'] = self.env['ir.sequence'].get('project.task') + vals['code'] = self.env['ir.sequence'].next_by_code('project.task') return super(ProjectTask, self).create(vals) @api.one def copy(self, default=None): if default is None: default = {} - default['code'] = self.env['ir.sequence'].get('project.task') + default['code'] = self.env['ir.sequence'].next_by_code('project.task') return super(ProjectTask, self).copy(default) diff --git a/project_task_code/tests/__init__.py b/project_task_code/tests/__init__.py index 98b96cddf4..54eb04386f 100644 --- a/project_task_code/tests/__init__.py +++ b/project_task_code/tests/__init__.py @@ -1,6 +1,5 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_project_task_code diff --git a/project_task_code/tests/test_project_task_code.py b/project_task_code/tests/test_project_task_code.py index 1f16e172c2..a70d5d010b 100644 --- a/project_task_code/tests/test_project_task_code.py +++ b/project_task_code/tests/test_project_task_code.py @@ -1,7 +1,6 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). import openerp.tests.common as common @@ -21,7 +20,8 @@ def test_old_task_code_assign(self): self.assertNotEqual(project_task.code, '/') def test_new_task_code_assign(self): - code = self._get_next_code() + number_next = self.task_sequence.number_next_actual + code = self.task_sequence.get_next_char(number_next) project_task = self.project_task_model.create({ 'name': 'Testing task code', }) @@ -29,17 +29,8 @@ def test_new_task_code_assign(self): self.assertEqual(project_task.code, code) def test_copy_task_code_assign(self): - code = self._get_next_code() + number_next = self.task_sequence.number_next_actual + code = self.task_sequence.get_next_char(number_next) project_task_copy = self.project_task.copy() self.assertNotEqual(project_task_copy.code, self.project_task.code) self.assertEqual(project_task_copy.code, code) - - def _get_next_code(self): - d = self.ir_sequence_model._interpolation_dict() - prefix = self.ir_sequence_model._interpolate( - self.task_sequence.prefix, d) - suffix = self.ir_sequence_model._interpolate( - self.task_sequence.suffix, d) - code = (prefix + ('%%0%sd' % self.task_sequence.padding % - self.task_sequence.number_next_actual) + suffix) - return code diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml index ba3e1f6936..1603f06190 100644 --- a/project_task_code/views/project_view.xml +++ b/project_task_code/views/project_view.xml @@ -1,6 +1,6 @@ - - + + project.task.code.form project.task @@ -45,5 +45,5 @@ - - + + From e31a72ca8c37e639dca92cd26defac83c6cf24e0 Mon Sep 17 00:00:00 2001 From: Kelly Lougheed Date: Sat, 17 Dec 2016 15:28:41 +0100 Subject: [PATCH 09/68] [MIG] project_task_code: Migrate to 10.0 OCA Transbot updated translations from Transifex [MIG] project_task_code: Migrate to 10.0 Edit init and XML Add env Change task_ids to tasks Change to @api.multi before def copy --- project_task_code/__init__.py | 15 +++++++-------- project_task_code/__manifest__.py | 2 +- project_task_code/models/project_task.py | 2 +- project_task_code/views/project_view.xml | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/project_task_code/__init__.py b/project_task_code/__init__.py index 86efb98ebf..bcc1319c87 100644 --- a/project_task_code/__init__.py +++ b/project_task_code/__init__.py @@ -3,8 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models -from openerp import SUPERUSER_ID - +from odoo import api, SUPERUSER_ID def create_code_equal_to_id(cr): """ @@ -23,12 +22,12 @@ def assign_old_sequences(cr, registry): This post-init-hook will update all existing task assigning them the corresponding sequence code. """ - task_obj = registry['project.task'] - sequence_obj = registry['ir.sequence'] - task_ids = task_obj.search(cr, SUPERUSER_ID, [], order="id") - for task_id in task_ids: + env = api.Environment(cr, SUPERUSER_ID, dict()) + task_obj = env['project.task'] + sequence_obj = env['ir.sequence'] + tasks = task_obj.search([], order="id") + for task_id in tasks.ids: cr.execute('UPDATE project_task ' 'SET code = %s ' 'WHERE id = %s;', - (sequence_obj.next_by_code( - cr, SUPERUSER_ID, 'project.task'), task_id, )) + (sequence_obj.next_by_code('project.task'), task_id, )) diff --git a/project_task_code/__manifest__.py b/project_task_code/__manifest__.py index 96990d6697..5e25a95b2c 100644 --- a/project_task_code/__manifest__.py +++ b/project_task_code/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Sequential Code for Tasks", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "category": "Project Management", "author": "OdooMRP team, " "AvanzOSC, " diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index cbda7d694d..1f1ad59d5d 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -22,7 +22,7 @@ def create(self, vals): vals['code'] = self.env['ir.sequence'].next_by_code('project.task') return super(ProjectTask, self).create(vals) - @api.one + @api.multi def copy(self, default=None): if default is None: default = {} diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml index 1603f06190..3f6b93b28f 100644 --- a/project_task_code/views/project_view.xml +++ b/project_task_code/views/project_view.xml @@ -8,7 +8,7 @@ - From 08c022affee62541a773de223ba40e5f4ecf5709 Mon Sep 17 00:00:00 2001 From: Kelly Lougheed Date: Wed, 11 Jan 2017 16:13:56 -0800 Subject: [PATCH 10/68] Requested README changes --- project_task_code/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project_task_code/README.rst b/project_task_code/README.rst index 6ff5a87fe8..856508ba53 100644 --- a/project_task_code/README.rst +++ b/project_task_code/README.rst @@ -29,13 +29,13 @@ new code saving it. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/140/9.0 + :target: https://runbot.odoo-community.org/runbot/140/10.0 Bug Tracker =========== Bugs are tracked on `GitHub Issues -`_. In case of trouble, please +`_. 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. From acbbd63ffdb2b0dd49561980f453787a7b5d3e30 Mon Sep 17 00:00:00 2001 From: Kelly Lougheed Date: Wed, 11 Jan 2017 17:08:26 -0800 Subject: [PATCH 11/68] Requested XML change --- project_task_code/views/project_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml index 3f6b93b28f..1603f06190 100644 --- a/project_task_code/views/project_view.xml +++ b/project_task_code/views/project_view.xml @@ -8,7 +8,7 @@ - From c03a69f12d2bf41b5a1fd064840fc384e230e807 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 1 Sep 2015 14:54:19 -0400 Subject: [PATCH 12/68] OCA Transbot updated translations from Transifex --- project_task_code/i18n/ar.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/bg.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/ca.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/de.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/el.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/en.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/es.po | 24 +++++++++++--------- project_task_code/i18n/es_CR.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/es_MX.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/es_VE.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/fi.po | 37 ++++++++++++++++++++++++++++++ project_task_code/i18n/fr.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/gl.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/hr.po | 37 ++++++++++++++++++++++++++++++ project_task_code/i18n/hr_HR.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/hu.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/it.po | 37 ++++++++++++++++++++++++++++++ project_task_code/i18n/ja.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/lt.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/lv.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/mk.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/mn.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/nl.po | 37 ++++++++++++++++++++++++++++++ project_task_code/i18n/nl_NL.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/pl.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/pt.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/pt_BR.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/pt_PT.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/ro.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/sk.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/sl.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/sv.po | 40 +++++++++++++++++++++++++++++++++ project_task_code/i18n/tr.po | 37 ++++++++++++++++++++++++++++++ project_task_code/i18n/uk.po | 36 +++++++++++++++++++++++++++++ project_task_code/i18n/zh_CN.po | 40 +++++++++++++++++++++++++++++++++ 35 files changed, 1318 insertions(+), 11 deletions(-) create mode 100644 project_task_code/i18n/ar.po create mode 100644 project_task_code/i18n/bg.po create mode 100644 project_task_code/i18n/ca.po create mode 100644 project_task_code/i18n/de.po create mode 100644 project_task_code/i18n/el.po create mode 100644 project_task_code/i18n/en.po create mode 100644 project_task_code/i18n/es_CR.po create mode 100644 project_task_code/i18n/es_MX.po create mode 100644 project_task_code/i18n/es_VE.po create mode 100644 project_task_code/i18n/fi.po create mode 100644 project_task_code/i18n/fr.po create mode 100644 project_task_code/i18n/gl.po create mode 100644 project_task_code/i18n/hr.po create mode 100644 project_task_code/i18n/hr_HR.po create mode 100644 project_task_code/i18n/hu.po create mode 100644 project_task_code/i18n/it.po create mode 100644 project_task_code/i18n/ja.po create mode 100644 project_task_code/i18n/lt.po create mode 100644 project_task_code/i18n/lv.po create mode 100644 project_task_code/i18n/mk.po create mode 100644 project_task_code/i18n/mn.po create mode 100644 project_task_code/i18n/nl.po create mode 100644 project_task_code/i18n/nl_NL.po create mode 100644 project_task_code/i18n/pl.po create mode 100644 project_task_code/i18n/pt.po create mode 100644 project_task_code/i18n/pt_BR.po create mode 100644 project_task_code/i18n/pt_PT.po create mode 100644 project_task_code/i18n/ro.po create mode 100644 project_task_code/i18n/sk.po create mode 100644 project_task_code/i18n/sl.po create mode 100644 project_task_code/i18n/sv.po create mode 100644 project_task_code/i18n/tr.po create mode 100644 project_task_code/i18n/uk.po create mode 100644 project_task_code/i18n/zh_CN.po diff --git a/project_task_code/i18n/ar.po b/project_task_code/i18n/ar.po new file mode 100644 index 0000000000..9192d75707 --- /dev/null +++ b/project_task_code/i18n/ar.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-project-8-0/language/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "مهمة" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/bg.po b/project_task_code/i18n/bg.po new file mode 100644 index 0000000000..010b7897c5 --- /dev/null +++ b/project_task_code/i18n/bg.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Номерът трябва да е уникален!" diff --git a/project_task_code/i18n/ca.po b/project_task_code/i18n/ca.po new file mode 100644 index 0000000000..7b3697db72 --- /dev/null +++ b/project_task_code/i18n/ca.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-project-8-0/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tasca" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/de.po b/project_task_code/i18n/de.po new file mode 100644 index 0000000000..e364d54725 --- /dev/null +++ b/project_task_code/i18n/de.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Aufgabe" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Aufgaben Nummer" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Der Schlüssel muss eindeutig sein!" diff --git a/project_task_code/i18n/el.po b/project_task_code/i18n/el.po new file mode 100644 index 0000000000..8d0db888ae --- /dev/null +++ b/project_task_code/i18n/el.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Greek (http://www.transifex.com/oca/OCA-project-8-0/language/el/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Εργασία" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/en.po b/project_task_code/i18n/en.po new file mode 100644 index 0000000000..8916856ca2 --- /dev/null +++ b/project_task_code/i18n/en.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-project-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Task" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "Task Number" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "The code must be unique!" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" diff --git a/project_task_code/i18n/es.po b/project_task_code/i18n/es.po index 845de1aee5..26f29787dd 100644 --- a/project_task_code/i18n/es.po +++ b/project_task_code/i18n/es.po @@ -1,19 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * project_task_code -# +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-30 11:48+0000\n" -"PO-Revision-Date: 2015-07-30 11:48+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -21,14 +24,13 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "Número de tarea" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:16 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "¡El número debe de ser único!" - diff --git a/project_task_code/i18n/es_CR.po b/project_task_code/i18n/es_CR.po new file mode 100644 index 0000000000..3679af8235 --- /dev/null +++ b/project_task_code/i18n/es_CR.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-project-8-0/language/es_CR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarea" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/es_MX.po b/project_task_code/i18n/es_MX.po new file mode 100644 index 0000000000..927893c167 --- /dev/null +++ b/project_task_code/i18n/es_MX.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-project-8-0/language/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarea" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/es_VE.po b/project_task_code/i18n/es_VE.po new file mode 100644 index 0000000000..84dc626afd --- /dev/null +++ b/project_task_code/i18n/es_VE.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-project-8-0/language/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarea" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/fi.po b/project_task_code/i18n/fi.po new file mode 100644 index 0000000000..2c0b3039ed --- /dev/null +++ b/project_task_code/i18n/fi.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2017 +# Miku Laitinen , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-13 03:39+0000\n" +"PO-Revision-Date: 2017-01-13 03:39+0000\n" +"Last-Translator: Miku Laitinen , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tehtävä" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Tehtävän numero" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Koodin on oltava uniikki!" diff --git a/project_task_code/i18n/fr.po b/project_task_code/i18n/fr.po new file mode 100644 index 0000000000..8c29e64f6b --- /dev/null +++ b/project_task_code/i18n/fr.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tâche" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Numéro de la tâche" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Le code doit être unique!" diff --git a/project_task_code/i18n/gl.po b/project_task_code/i18n/gl.po new file mode 100644 index 0000000000..858bc7677b --- /dev/null +++ b/project_task_code/i18n/gl.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Galician (http://www.transifex.com/oca/OCA-project-8-0/language/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarefa" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/hr.po b/project_task_code/i18n/hr.po new file mode 100644 index 0000000000..2f75621a6e --- /dev/null +++ b/project_task_code/i18n/hr.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2017 +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: Bole , 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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Zadatak" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Broj zadatka" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Šifra mora biti jedinstvena!" diff --git a/project_task_code/i18n/hr_HR.po b/project_task_code/i18n/hr_HR.po new file mode 100644 index 0000000000..07f46fb33c --- /dev/null +++ b/project_task_code/i18n/hr_HR.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: Bole , 2016\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Zadatak" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/project_task_code/i18n/hu.po b/project_task_code/i18n/hu.po new file mode 100644 index 0000000000..379a970687 --- /dev/null +++ b/project_task_code/i18n/hu.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-project-8-0/language/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Feladat" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/it.po b/project_task_code/i18n/it.po new file mode 100644 index 0000000000..de9872e507 --- /dev/null +++ b/project_task_code/i18n/it.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 +# Paolo Valier , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: Paolo Valier , 2016\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Attività" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Il codice deve essere univoco!" diff --git a/project_task_code/i18n/ja.po b/project_task_code/i18n/ja.po new file mode 100644 index 0000000000..2fc3117973 --- /dev/null +++ b/project_task_code/i18n/ja.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Japanese (http://www.transifex.com/oca/OCA-project-8-0/language/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "タスク" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/lt.po b/project_task_code/i18n/lt.po new file mode 100644 index 0000000000..607cddeda2 --- /dev/null +++ b/project_task_code/i18n/lt.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-project-8-0/language/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Užduotis" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/lv.po b/project_task_code/i18n/lv.po new file mode 100644 index 0000000000..9e73489806 --- /dev/null +++ b/project_task_code/i18n/lv.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Latvian (http://www.transifex.com/oca/OCA-project-8-0/language/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Uzdevums" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/mk.po b/project_task_code/i18n/mk.po new file mode 100644 index 0000000000..533d126822 --- /dev/null +++ b/project_task_code/i18n/mk.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-project-8-0/language/mk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mk\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Задача" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/mn.po b/project_task_code/i18n/mn.po new file mode 100644 index 0000000000..5236c58332 --- /dev/null +++ b/project_task_code/i18n/mn.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-project-8-0/language/mn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Даалгавар" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/nl.po b/project_task_code/i18n/nl.po new file mode 100644 index 0000000000..2c48dc2233 --- /dev/null +++ b/project_task_code/i18n/nl.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2017 +# Erwin van der Ploeg , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-14 05:34+0000\n" +"PO-Revision-Date: 2017-01-14 05:34+0000\n" +"Last-Translator: Erwin van der Ploeg , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Taak" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Taaknummer" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "De taaknummer moet uniek zijn!" diff --git a/project_task_code/i18n/nl_NL.po b/project_task_code/i18n/nl_NL.po new file mode 100644 index 0000000000..fa2ff468d6 --- /dev/null +++ b/project_task_code/i18n/nl_NL.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-17 02:52+0000\n" +"PO-Revision-Date: 2017-06-17 02:52+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Taak" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Taaknummer" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "De code moet uniek zijn!" diff --git a/project_task_code/i18n/pl.po b/project_task_code/i18n/pl.po new file mode 100644 index 0000000000..92a24aa433 --- /dev/null +++ b/project_task_code/i18n/pl.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Polish (http://www.transifex.com/oca/OCA-project-8-0/language/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Zadanie" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/pt.po b/project_task_code/i18n/pt.po new file mode 100644 index 0000000000..fb0940113d --- /dev/null +++ b/project_task_code/i18n/pt.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarefa" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Número Tarefa" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "O código tem que ser único!" diff --git a/project_task_code/i18n/pt_BR.po b/project_task_code/i18n/pt_BR.po new file mode 100644 index 0000000000..ed5eba27ef --- /dev/null +++ b/project_task_code/i18n/pt_BR.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarefa" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Número da Tarefa" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "O código precisa ser único!" diff --git a/project_task_code/i18n/pt_PT.po b/project_task_code/i18n/pt_PT.po new file mode 100644 index 0000000000..1b982166b2 --- /dev/null +++ b/project_task_code/i18n/pt_PT.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-08 09:57+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-project-8-0/language/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Tarefa" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/ro.po b/project_task_code/i18n/ro.po new file mode 100644 index 0000000000..2c2b70a881 --- /dev/null +++ b/project_task_code/i18n/ro.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-project-8-0/language/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Sarcina" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/sk.po b/project_task_code/i18n/sk.po new file mode 100644 index 0000000000..3b300aa534 --- /dev/null +++ b/project_task_code/i18n/sk.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# gebri , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: gebri , 2016\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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Kód musí byť jedinečný!" diff --git a/project_task_code/i18n/sl.po b/project_task_code/i18n/sl.po new file mode 100644 index 0000000000..1db50ef153 --- /dev/null +++ b/project_task_code/i18n/sl.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 03:43+0000\n" +"PO-Revision-Date: 2016-12-23 03:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Opravilo" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Številka opravila" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Koda mora biti unikatna!" diff --git a/project_task_code/i18n/sv.po b/project_task_code/i18n/sv.po new file mode 100644 index 0000000000..faa14d6a18 --- /dev/null +++ b/project_task_code/i18n/sv.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Swedish (http://www.transifex.com/oca/OCA-project-8-0/language/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Uppgift" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" diff --git a/project_task_code/i18n/tr.po b/project_task_code/i18n/tr.po new file mode 100644 index 0000000000..2eb5307858 --- /dev/null +++ b/project_task_code/i18n/tr.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2017 +# Ivan BARAYEV , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-13 03:39+0000\n" +"PO-Revision-Date: 2017-01-13 03:39+0000\n" +"Last-Translator: Ivan BARAYEV , 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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Görev" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "Görev Numarası" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "Kod benzersiz olmalı !" diff --git a/project_task_code/i18n/uk.po b/project_task_code/i18n/uk.po new file mode 100644 index 0000000000..a159d4dc9f --- /dev/null +++ b/project_task_code/i18n/uk.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-23 02:44+0000\n" +"PO-Revision-Date: 2017-05-23 02:44+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Ukrainian (https://www.transifex.com/oca/teams/23907/uk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: uk\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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "Завдання" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:16 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" diff --git a/project_task_code/i18n/zh_CN.po b/project_task_code/i18n/zh_CN.po new file mode 100644 index 0000000000..f12831aea7 --- /dev/null +++ b/project_task_code/i18n/zh_CN.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: project (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-31 18:04+0000\n" +"PO-Revision-Date: 2015-08-06 21:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-project-8-0/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: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "任务" + +#. module: project_task_code +#: field:project.task,code:0 +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:17 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + +#. module: project_task_code +#: view:project.task:project_task_code.project_task_code_search_view +msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +msgstr "" From 626ebd1e89bd70e978966b5cdedd0dc4805448da Mon Sep 17 00:00:00 2001 From: Rodrigo Ferreira Date: Fri, 16 Feb 2018 16:14:37 -0200 Subject: [PATCH 13/68] [MIG] project_task_code: Migration to 11.0 --- project_task_code/README.rst | 3 +- project_task_code/__init__.py | 4 +- project_task_code/__manifest__.py | 3 +- project_task_code/models/__init__.py | 1 - project_task_code/models/project_task.py | 3 +- project_task_code/tests/__init__.py | 1 - .../tests/test_project_task_code.py | 3 +- project_task_code/views/project_view.xml | 76 ++++++++++--------- 8 files changed, 46 insertions(+), 48 deletions(-) diff --git a/project_task_code/README.rst b/project_task_code/README.rst index 856508ba53..13620278d1 100644 --- a/project_task_code/README.rst +++ b/project_task_code/README.rst @@ -29,7 +29,7 @@ new code saving it. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/140/10.0 + :target: https://runbot.odoo-community.org/runbot/140/11.0 Bug Tracker =========== @@ -50,6 +50,7 @@ Contributors * Pedro M. Baeza * Ana Juaristi * Vicent Cubells +* Rodrigo Ferreira Maintainer ---------- diff --git a/project_task_code/__init__.py b/project_task_code/__init__.py index bcc1319c87..63bd72f1aa 100644 --- a/project_task_code/__init__.py +++ b/project_task_code/__init__.py @@ -1,10 +1,10 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models from odoo import api, SUPERUSER_ID + def create_code_equal_to_id(cr): """ With this pre-init-hook we want to avoid error when creating the UNIQUE @@ -30,4 +30,4 @@ def assign_old_sequences(cr, registry): cr.execute('UPDATE project_task ' 'SET code = %s ' 'WHERE id = %s;', - (sequence_obj.next_by_code('project.task'), task_id, )) + (sequence_obj.next_by_code('project.task'), task_id,)) diff --git a/project_task_code/__manifest__.py b/project_task_code/__manifest__.py index 5e25a95b2c..ead4f856dd 100644 --- a/project_task_code/__manifest__.py +++ b/project_task_code/__manifest__.py @@ -1,10 +1,9 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Sequential Code for Tasks", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "category": "Project Management", "author": "OdooMRP team, " "AvanzOSC, " diff --git a/project_task_code/models/__init__.py b/project_task_code/models/__init__.py index a1faed2a6b..140ff474af 100644 --- a/project_task_code/models/__init__.py +++ b/project_task_code/models/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index 1f1ad59d5d..16f4ed5d3c 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import api, fields, models, _ +from odoo import api, fields, models, _ class ProjectTask(models.Model): diff --git a/project_task_code/tests/__init__.py b/project_task_code/tests/__init__.py index 54eb04386f..170b179fd7 100644 --- a/project_task_code/tests/__init__.py +++ b/project_task_code/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/project_task_code/tests/test_project_task_code.py b/project_task_code/tests/test_project_task_code.py index a70d5d010b..5abc77856f 100644 --- a/project_task_code/tests/test_project_task_code.py +++ b/project_task_code/tests/test_project_task_code.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -import openerp.tests.common as common +import odoo.tests.common as common class TestProjectTaskCode(common.TransactionCase): diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml index 1603f06190..5022e7dc59 100644 --- a/project_task_code/views/project_view.xml +++ b/project_task_code/views/project_view.xml @@ -1,49 +1,51 @@ - - project.task.code.form - project.task - - - - - + + project.task.code.form + project.task + + + + + - + + - - project.task.code.tree - project.task - - - - - + + project.task.code.tree + project.task + + + + - + + - - project.task.code.kanban - project.task - - - - - + + project.task.code.kanban + project.task + + + + - + + - - project.task.code.search - project.task - - - - ['|', ('name', 'ilike', self), ('code', 'ilike', self)] - + + project.task.code.search + project.task + + + + ['|', ('name', 'ilike', self), + ('code', 'ilike', self)] + - + + From d8deb94336eea58c14a9d50f27c93251a7d1cfe3 Mon Sep 17 00:00:00 2001 From: Rodrigo Ferreira Date: Mon, 16 Apr 2018 17:32:08 -0300 Subject: [PATCH 14/68] [IMP] Implements name_get() in 'project.task' Relational fields and the task notification email inform the task code --- project_task_code/__manifest__.py | 2 +- project_task_code/models/project_task.py | 11 +++++++++++ project_task_code/tests/test_project_task_code.py | 9 +++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/project_task_code/__manifest__.py b/project_task_code/__manifest__.py index ead4f856dd..aa1c3f3f0c 100644 --- a/project_task_code/__manifest__.py +++ b/project_task_code/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Sequential Code for Tasks", - "version": "11.0.1.0.0", + "version": "11.0.1.1.0", "category": "Project Management", "author": "OdooMRP team, " "AvanzOSC, " diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index 16f4ed5d3c..c0ebcbf5fd 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -27,3 +27,14 @@ def copy(self, default=None): default = {} default['code'] = self.env['ir.sequence'].next_by_code('project.task') return super(ProjectTask, self).copy(default) + + @api.multi + def name_get(self): + result = super(ProjectTask, self).name_get() + new_result = [] + + for task in result: + rec = self.browse(task[0]) + name = '[%s] %s' % (rec.code, task[1]) + new_result.append((rec.id, name)) + return new_result diff --git a/project_task_code/tests/test_project_task_code.py b/project_task_code/tests/test_project_task_code.py index 5abc77856f..eff7a15b98 100644 --- a/project_task_code/tests/test_project_task_code.py +++ b/project_task_code/tests/test_project_task_code.py @@ -33,3 +33,12 @@ def test_copy_task_code_assign(self): project_task_copy = self.project_task.copy() self.assertNotEqual(project_task_copy.code, self.project_task.code) self.assertEqual(project_task_copy.code, code) + + def test_name_get(self): + number_next = self.task_sequence.number_next_actual + code = self.task_sequence.get_next_char(number_next) + project_task = self.project_task_model.create({ + 'name': 'Task Testing Get Name', + }) + result = project_task.name_get() + self.assertEqual(result[0][1], '[%s] Task Testing Get Name' % code) From dac515945222b5ad8af8c1bdc45a841c3f47d202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Fri, 15 Jun 2018 23:36:04 +0200 Subject: [PATCH 15/68] remove obsolete .pot files [ci skip] --- project_task_code/i18n/project_task_code.pot | 34 -------------------- 1 file changed, 34 deletions(-) delete mode 100644 project_task_code/i18n/project_task_code.pot diff --git a/project_task_code/i18n/project_task_code.pot b/project_task_code/i18n/project_task_code.pot deleted file mode 100644 index 02c1fed002..0000000000 --- a/project_task_code/i18n/project_task_code.pot +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * project_task_code -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-30 11:47+0000\n" -"PO-Revision-Date: 2015-07-30 11: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: project_task_code -#: model:ir.model,name:project_task_code.model_project_task -msgid "Task" -msgstr "" - -#. module: project_task_code -#: field:project.task,code:0 -msgid "Task Number" -msgstr "" - -#. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 -#: sql_constraint:project.task:0 -#, python-format -msgid "The code must be unique!" -msgstr "" - From 49378a305a1e9af3c3bb7c18984ed16e94f14221 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Mon, 18 Jun 2018 03:32:17 +0000 Subject: [PATCH 16/68] [UPD] Update project_task_code.pot --- project_task_code/i18n/ar.po | 19 +++++------- project_task_code/i18n/bg.po | 6 ++-- project_task_code/i18n/ca.po | 16 ++++------ project_task_code/i18n/de.po | 6 ++-- project_task_code/i18n/el.po | 16 ++++------ project_task_code/i18n/en.po | 17 +++++------ project_task_code/i18n/es.po | 6 ++-- project_task_code/i18n/es_CR.po | 16 ++++------ project_task_code/i18n/es_MX.po | 16 ++++------ project_task_code/i18n/es_VE.po | 16 ++++------ project_task_code/i18n/fi.po | 6 ++-- project_task_code/i18n/fr.po | 6 ++-- project_task_code/i18n/gl.po | 16 ++++------ project_task_code/i18n/hr.po | 9 +++--- project_task_code/i18n/hr_HR.po | 12 +++++--- project_task_code/i18n/hu.po | 16 ++++------ project_task_code/i18n/it.po | 6 ++-- project_task_code/i18n/ja.po | 16 ++++------ project_task_code/i18n/lt.po | 19 +++++------- project_task_code/i18n/lv.po | 19 +++++------- project_task_code/i18n/mk.po | 16 ++++------ project_task_code/i18n/mn.po | 16 ++++------ project_task_code/i18n/nl.po | 6 ++-- project_task_code/i18n/nl_NL.po | 9 +++--- project_task_code/i18n/pl.po | 19 +++++------- project_task_code/i18n/project_task_code.pot | 32 ++++++++++++++++++++ project_task_code/i18n/pt.po | 6 ++-- project_task_code/i18n/pt_BR.po | 9 +++--- project_task_code/i18n/pt_PT.po | 16 ++++------ project_task_code/i18n/ro.po | 19 +++++------- project_task_code/i18n/sk.po | 6 ++-- project_task_code/i18n/sl.po | 9 +++--- project_task_code/i18n/sv.po | 16 ++++------ project_task_code/i18n/tr.po | 6 ++-- project_task_code/i18n/uk.po | 9 +++--- project_task_code/i18n/zh_CN.po | 16 ++++------ 36 files changed, 220 insertions(+), 249 deletions(-) create mode 100644 project_task_code/i18n/project_task_code.pot diff --git a/project_task_code/i18n/ar.po b/project_task_code/i18n/ar.po index 9192d75707..f639789c04 100644 --- a/project_task_code/i18n/ar.po +++ b/project_task_code/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Arabic (http://www.transifex.com/oca/OCA-project-8-0/language/ar/)\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-project-8-0/language/" +"ar/)\n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -23,18 +25,13 @@ msgid "Task" msgstr "مهمة" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/bg.po b/project_task_code/i18n/bg.po index 010b7897c5..56f8b03e46 100644 --- a/project_task_code/i18n/bg.po +++ b/project_task_code/i18n/bg.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -29,7 +29,7 @@ msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/ca.po b/project_task_code/i18n/ca.po index 7b3697db72..f643d808d6 100644 --- a/project_task_code/i18n/ca.po +++ b/project_task_code/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Catalan (http://www.transifex.com/oca/OCA-project-8-0/language/ca/)\n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-project-8-0/" +"language/ca/)\n" +"Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Tasca" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/de.po b/project_task_code/i18n/de.po index e364d54725..046c619e78 100644 --- a/project_task_code/i18n/de.po +++ b/project_task_code/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -29,7 +29,7 @@ msgid "Task Number" msgstr "Aufgaben Nummer" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/el.po b/project_task_code/i18n/el.po index 8d0db888ae..7c32d55daa 100644 --- a/project_task_code/i18n/el.po +++ b/project_task_code/i18n/el.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Greek (http://www.transifex.com/oca/OCA-project-8-0/language/el/)\n" +"Language-Team: Greek (http://www.transifex.com/oca/OCA-project-8-0/language/" +"el/)\n" +"Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Εργασία" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/en.po b/project_task_code/i18n/en.po index 8916856ca2..8530f131ee 100644 --- a/project_task_code/i18n/en.po +++ b/project_task_code/i18n/en.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: OCA Transbot \n" -"Language-Team: English (http://www.transifex.com/oca/OCA-project-8-0/language/en/)\n" +"Language-Team: English (http://www.transifex.com/oca/OCA-project-8-0/" +"language/en/)\n" +"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,16 @@ msgid "Task" msgstr "Task" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "Task Number" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "The code must be unique!" -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +#~ msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" +#~ msgstr "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" diff --git a/project_task_code/i18n/es.po b/project_task_code/i18n/es.po index 26f29787dd..4ce29a7c2a 100644 --- a/project_task_code/i18n/es.po +++ b/project_task_code/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -29,7 +29,7 @@ msgid "Task Number" msgstr "Número de tarea" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/es_CR.po b/project_task_code/i18n/es_CR.po index 3679af8235..93bcd247c5 100644 --- a/project_task_code/i18n/es_CR.po +++ b/project_task_code/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-project-8-0/language/es_CR/)\n" +"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-" +"project-8-0/language/es_CR/)\n" +"Language: es_CR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/es_MX.po b/project_task_code/i18n/es_MX.po index 927893c167..faf9b226ef 100644 --- a/project_task_code/i18n/es_MX.po +++ b/project_task_code/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-project-8-0/language/es_MX/)\n" +"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-" +"project-8-0/language/es_MX/)\n" +"Language: es_MX\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/es_VE.po b/project_task_code/i18n/es_VE.po index 84dc626afd..6183591a37 100644 --- a/project_task_code/i18n/es_VE.po +++ b/project_task_code/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-project-8-0/language/es_VE/)\n" +"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-" +"project-8-0/language/es_VE/)\n" +"Language: es_VE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_VE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/fi.po b/project_task_code/i18n/fi.po index 2c0b3039ed..bd332cab3f 100644 --- a/project_task_code/i18n/fi.po +++ b/project_task_code/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2017 # Miku Laitinen , 2017 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2017-01-13 03:39+0000\n" "Last-Translator: Miku Laitinen , 2017\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -30,7 +30,7 @@ msgid "Task Number" msgstr "Tehtävän numero" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/fr.po b/project_task_code/i18n/fr.po index 8c29e64f6b..04eca065dc 100644 --- a/project_task_code/i18n/fr.po +++ b/project_task_code/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: OCA Transbot , 2016\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: project_task_code @@ -29,7 +29,7 @@ msgid "Task Number" msgstr "Numéro de la tâche" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/gl.po b/project_task_code/i18n/gl.po index 858bc7677b..56a05d45e6 100644 --- a/project_task_code/i18n/gl.po +++ b/project_task_code/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Galician (http://www.transifex.com/oca/OCA-project-8-0/language/gl/)\n" +"Language-Team: Galician (http://www.transifex.com/oca/OCA-project-8-0/" +"language/gl/)\n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Tarefa" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/hr.po b/project_task_code/i18n/hr.po index 2f75621a6e..591a9e3f95 100644 --- a/project_task_code/i18n/hr.po +++ b/project_task_code/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2017 # Bole , 2017 @@ -13,11 +13,12 @@ msgstr "" "PO-Revision-Date: 2017-04-28 08:33+0000\n" "Last-Translator: Bole , 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: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -30,7 +31,7 @@ msgid "Task Number" msgstr "Broj zadatka" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/hr_HR.po b/project_task_code/i18n/hr_HR.po index 07f46fb33c..d5a47d8bbf 100644 --- a/project_task_code/i18n/hr_HR.po +++ b/project_task_code/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # Bole , 2016 msgid "" @@ -11,12 +11,14 @@ msgstr "" "POT-Creation-Date: 2016-12-23 03:43+0000\n" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: Bole , 2016\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr_HR\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -29,7 +31,7 @@ msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/hu.po b/project_task_code/i18n/hu.po index 379a970687..58071308a4 100644 --- a/project_task_code/i18n/hu.po +++ b/project_task_code/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-project-8-0/language/hu/)\n" +"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-project-8-0/" +"language/hu/)\n" +"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Feladat" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/it.po b/project_task_code/i18n/it.po index de9872e507..de33ab5e8b 100644 --- a/project_task_code/i18n/it.po +++ b/project_task_code/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 # Paolo Valier , 2016 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: Paolo Valier , 2016\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: project_task_code @@ -30,7 +30,7 @@ msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/ja.po b/project_task_code/i18n/ja.po index 2fc3117973..c9715d019f 100644 --- a/project_task_code/i18n/ja.po +++ b/project_task_code/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Japanese (http://www.transifex.com/oca/OCA-project-8-0/language/ja/)\n" +"Language-Team: Japanese (http://www.transifex.com/oca/OCA-project-8-0/" +"language/ja/)\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "タスク" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/lt.po b/project_task_code/i18n/lt.po index 607cddeda2..9eb10573c3 100644 --- a/project_task_code/i18n/lt.po +++ b/project_task_code/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-project-8-0/language/lt/)\n" +"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-project-8-0/" +"language/lt/)\n" +"Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lt\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -23,18 +25,13 @@ msgid "Task" msgstr "Užduotis" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/lv.po b/project_task_code/i18n/lv.po index 9e73489806..5a9a85c4de 100644 --- a/project_task_code/i18n/lv.po +++ b/project_task_code/i18n/lv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Latvian (http://www.transifex.com/oca/OCA-project-8-0/language/lv/)\n" +"Language-Team: Latvian (http://www.transifex.com/oca/OCA-project-8-0/" +"language/lv/)\n" +"Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lv\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -23,18 +25,13 @@ msgid "Task" msgstr "Uzdevums" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/mk.po b/project_task_code/i18n/mk.po index 533d126822..c7712a1070 100644 --- a/project_task_code/i18n/mk.po +++ b/project_task_code/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-project-8-0/language/mk/)\n" +"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-project-8-0/" +"language/mk/)\n" +"Language: mk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mk\n" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Задача" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/mn.po b/project_task_code/i18n/mn.po index 5236c58332..9575e23a5a 100644 --- a/project_task_code/i18n/mn.po +++ b/project_task_code/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-project-8-0/language/mn/)\n" +"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-project-8-0/" +"language/mn/)\n" +"Language: mn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Даалгавар" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/nl.po b/project_task_code/i18n/nl.po index 2c48dc2233..9524364210 100644 --- a/project_task_code/i18n/nl.po +++ b/project_task_code/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2017 # Erwin van der Ploeg , 2017 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2017-01-14 05:34+0000\n" "Last-Translator: Erwin van der Ploeg , 2017\n" "Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -30,7 +30,7 @@ msgid "Task Number" msgstr "Taaknummer" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/nl_NL.po b/project_task_code/i18n/nl_NL.po index fa2ff468d6..02f9a31f37 100644 --- a/project_task_code/i18n/nl_NL.po +++ b/project_task_code/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # Peter Hageman , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-06-17 02:52+0000\n" "PO-Revision-Date: 2017-06-17 02:52+0000\n" "Last-Translator: Peter Hageman , 2017\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -29,7 +30,7 @@ msgid "Task Number" msgstr "Taaknummer" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/pl.po b/project_task_code/i18n/pl.po index 92a24aa433..f9099ec87a 100644 --- a/project_task_code/i18n/pl.po +++ b/project_task_code/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Polish (http://www.transifex.com/oca/OCA-project-8-0/language/pl/)\n" +"Language-Team: Polish (http://www.transifex.com/oca/OCA-project-8-0/language/" +"pl/)\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -23,18 +25,13 @@ msgid "Task" msgstr "Zadanie" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/project_task_code.pot b/project_task_code/i18n/project_task_code.pot new file mode 100644 index 0000000000..22fb2f08dc --- /dev/null +++ b/project_task_code/i18n/project_task_code.pot @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_code +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: project_task_code +#: model:ir.model,name:project_task_code.model_project_task +msgid "Task" +msgstr "" + +#. module: project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +msgid "Task Number" +msgstr "" + +#. module: project_task_code +#: code:addons/project_task_code/models/project_task.py:15 +#: sql_constraint:project.task:0 +#, python-format +msgid "The code must be unique!" +msgstr "" + diff --git a/project_task_code/i18n/pt.po b/project_task_code/i18n/pt.po index fb0940113d..ceff5b2a04 100644 --- a/project_task_code/i18n/pt.po +++ b/project_task_code/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -29,7 +29,7 @@ msgid "Task Number" msgstr "Número Tarefa" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/pt_BR.po b/project_task_code/i18n/pt_BR.po index ed5eba27ef..0743f6fd3c 100644 --- a/project_task_code/i18n/pt_BR.po +++ b/project_task_code/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2016-12-23 03:43+0000\n" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_task_code @@ -29,7 +30,7 @@ msgid "Task Number" msgstr "Número da Tarefa" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/pt_PT.po b/project_task_code/i18n/pt_PT.po index 1b982166b2..e3d1bd08d6 100644 --- a/project_task_code/i18n/pt_PT.po +++ b/project_task_code/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-09-08 09:57+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-project-8-0/language/pt_PT/)\n" +"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-" +"project-8-0/language/pt_PT/)\n" +"Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Tarefa" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/ro.po b/project_task_code/i18n/ro.po index 2c2b70a881..a5e89a9c8a 100644 --- a/project_task_code/i18n/ro.po +++ b/project_task_code/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,12 +10,14 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Romanian (http://www.transifex.com/oca/OCA-project-8-0/language/ro/)\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-project-8-0/" +"language/ro/)\n" +"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -23,18 +25,13 @@ msgid "Task" msgstr "Sarcina" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/sk.po b/project_task_code/i18n/sk.po index 3b300aa534..5d5b29d513 100644 --- a/project_task_code/i18n/sk.po +++ b/project_task_code/i18n/sk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # gebri , 2016 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: gebri , 2016\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: project_task_code @@ -29,7 +29,7 @@ msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/sl.po b/project_task_code/i18n/sl.po index 1db50ef153..b6a6ea4059 100644 --- a/project_task_code/i18n/sl.po +++ b/project_task_code/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2016-12-23 03:43+0000\n" "Last-Translator: OCA Transbot , 2016\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: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -29,7 +30,7 @@ msgid "Task Number" msgstr "Številka opravila" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/sv.po b/project_task_code/i18n/sv.po index faa14d6a18..b407d8eb55 100644 --- a/project_task_code/i18n/sv.po +++ b/project_task_code/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Swedish (http://www.transifex.com/oca/OCA-project-8-0/language/sv/)\n" +"Language-Team: Swedish (http://www.transifex.com/oca/OCA-project-8-0/" +"language/sv/)\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "Uppgift" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" diff --git a/project_task_code/i18n/tr.po b/project_task_code/i18n/tr.po index 2eb5307858..059f17b0dd 100644 --- a/project_task_code/i18n/tr.po +++ b/project_task_code/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2017 # Ivan BARAYEV , 2017 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2017-01-13 03:39+0000\n" "Last-Translator: Ivan BARAYEV , 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: project_task_code @@ -30,7 +30,7 @@ msgid "Task Number" msgstr "Görev Numarası" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/uk.po b/project_task_code/i18n/uk.po index a159d4dc9f..e28d648231 100644 --- a/project_task_code/i18n/uk.po +++ b/project_task_code/i18n/uk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-05-23 02:44+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Ukrainian (https://www.transifex.com/oca/teams/23907/uk/)\n" +"Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: uk\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: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -29,7 +30,7 @@ msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:16 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/zh_CN.po b/project_task_code/i18n/zh_CN.po index f12831aea7..89ee5ea33a 100644 --- a/project_task_code/i18n/zh_CN.po +++ b/project_task_code/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * project_task_code -# +# # Translators: msgid "" msgstr "" @@ -10,11 +10,12 @@ msgstr "" "POT-Creation-Date: 2015-08-31 18:04+0000\n" "PO-Revision-Date: 2015-08-06 21:48+0000\n" "Last-Translator: <>\n" -"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-project-8-0/language/zh_CN/)\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-project-8-0/" +"language/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: project_task_code @@ -23,18 +24,13 @@ msgid "Task" msgstr "任务" #. module: project_task_code -#: field:project.task,code:0 +#: model:ir.model.fields,field_description:project_task_code.field_project_task_code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:17 +#: code:addons/project_task_code/models/project_task.py:15 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" msgstr "" - -#. module: project_task_code -#: view:project.task:project_task_code.project_task_code_search_view -msgid "['|', ('name', 'ilike', self), ('code', 'ilike', self)]" -msgstr "" From 51524a4494fb678b98c52bcca3f6d95f4071540d Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Mon, 29 Oct 2018 20:25:19 +0100 Subject: [PATCH 17/68] [MIG] project_task_code: Migration to 12.0 - adapted view (label needs a `for` attribute, use span for same result) - use the `model_create_multi` decorator on the create override for future-proofiness --- project_task_code/README.rst | 2 +- project_task_code/__manifest__.py | 2 +- project_task_code/models/project_task.py | 13 ++++++------- project_task_code/views/project_view.xml | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/project_task_code/README.rst b/project_task_code/README.rst index 13620278d1..385e76276c 100644 --- a/project_task_code/README.rst +++ b/project_task_code/README.rst @@ -29,7 +29,7 @@ new code saving it. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/140/11.0 + :target: https://runbot.odoo-community.org/runbot/140/12.0 Bug Tracker =========== diff --git a/project_task_code/__manifest__.py b/project_task_code/__manifest__.py index aa1c3f3f0c..8261a101bd 100644 --- a/project_task_code/__manifest__.py +++ b/project_task_code/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Sequential Code for Tasks", - "version": "11.0.1.1.0", + "version": "12.0.1.1.0", "category": "Project Management", "author": "OdooMRP team, " "AvanzOSC, " diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index c0ebcbf5fd..ac39ed96a9 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -15,20 +15,19 @@ class ProjectTask(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('project.task') - return super(ProjectTask, 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('project.task') + return super(ProjectTask, 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('project.task') return super(ProjectTask, self).copy(default) - @api.multi def name_get(self): result = super(ProjectTask, self).name_get() new_result = [] diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml index 5022e7dc59..49af9f78b1 100644 --- a/project_task_code/views/project_view.xml +++ b/project_task_code/views/project_view.xml @@ -8,7 +8,7 @@ - From ab5f6ccad638076755ad36bbef35181665033c8f Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Wed, 21 Nov 2018 17:22:19 +0200 Subject: [PATCH 18/68] [MIG] project_task_code: Migration to 12.0 (fix) --- project_task_code/README.rst | 73 ++- project_task_code/__init__.py | 32 +- project_task_code/__manifest__.py | 38 +- project_task_code/data/task_sequence.xml | 15 +- project_task_code/hooks.py | 32 ++ project_task_code/models/__init__.py | 1 - project_task_code/models/project_task.py | 23 +- project_task_code/readme/CONFIGURE.rst | 5 + project_task_code/readme/CONTRIBUTORS.rst | 7 + project_task_code/readme/DESCRIPTION.rst | 1 + project_task_code/readme/USAGE.rst | 5 + .../static/description/index.html | 445 ++++++++++++++++++ project_task_code/tests/__init__.py | 1 - .../tests/test_project_task_code.py | 2 +- project_task_code/views/project_view.xml | 1 + 15 files changed, 592 insertions(+), 89 deletions(-) create mode 100644 project_task_code/hooks.py create mode 100644 project_task_code/readme/CONFIGURE.rst create mode 100644 project_task_code/readme/CONTRIBUTORS.rst create mode 100644 project_task_code/readme/DESCRIPTION.rst create mode 100644 project_task_code/readme/USAGE.rst create mode 100644 project_task_code/static/description/index.html diff --git a/project_task_code/README.rst b/project_task_code/README.rst index 385e76276c..094230353f 100644 --- a/project_task_code/README.rst +++ b/project_task_code/README.rst @@ -1,12 +1,36 @@ -.. 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 tasks +Sequential Code for Tasks ========================= -* This module adds a sequential code for tasks. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fproject-lightgray.png?logo=github + :target: https://github.com/OCA/project/tree/12.0/project_task_code + :alt: OCA/project +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_task_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/140/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds a sequential code for tasks. + +**Table of contents** + +.. contents:: + :local: Configuration ============= @@ -26,43 +50,50 @@ To use this module, you need to: new code saving it. #. If you duplicate a task, you will get a new code for the new task. - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/140/12.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. +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 +~~~~~~~ + +* OdooMRP team +* AvanzOSC +* Tecnativa + Contributors ------------- +~~~~~~~~~~~~ * Oihane Crucelaegui * Pedro M. Baeza * Ana Juaristi * Vicent Cubells * Rodrigo Ferreira +* Damien Bouvy +* Alexey Pelykh -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/project `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/project_task_code/__init__.py b/project_task_code/__init__.py index 63bd72f1aa..d74e4375aa 100644 --- a/project_task_code/__init__.py +++ b/project_task_code/__init__.py @@ -1,33 +1,5 @@ -# Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models -from odoo import api, SUPERUSER_ID - - -def create_code_equal_to_id(cr): - """ - With this pre-init-hook we want to avoid error when creating the UNIQUE - code constraint when the module is installed and before the post-init-hook - is launched. - """ - cr.execute('ALTER TABLE project_task ' - 'ADD COLUMN code character varying;') - cr.execute('UPDATE project_task ' - 'SET code = id;') - - -def assign_old_sequences(cr, registry): - """ - This post-init-hook will update all existing task assigning them the - corresponding sequence code. - """ - env = api.Environment(cr, SUPERUSER_ID, dict()) - task_obj = env['project.task'] - sequence_obj = env['ir.sequence'] - tasks = task_obj.search([], order="id") - for task_id in tasks.ids: - cr.execute('UPDATE project_task ' - 'SET code = %s ' - 'WHERE id = %s;', - (sequence_obj.next_by_code('project.task'), task_id,)) +from .hooks import pre_init_hook +from .hooks import post_init_hook diff --git a/project_task_code/__manifest__.py b/project_task_code/__manifest__.py index 8261a101bd..f7449a0b0e 100644 --- a/project_task_code/__manifest__.py +++ b/project_task_code/__manifest__.py @@ -2,29 +2,23 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - "name": "Sequential Code for Tasks", - "version": "12.0.1.1.0", - "category": "Project Management", - "author": "OdooMRP team, " - "AvanzOSC, " - "Tecnativa, " - "Odoo Community Association (OCA)", - "website": "http://www.avanzosc.es", - "license": "AGPL-3", - "contributors": [ - "Oihane Crucelaegui ", - "Pedro M. Baeza ", - "Ana Juaristi ", - "Vicent Cubells ", + 'name': 'Sequential Code for Tasks', + 'version': '12.0.1.0.0', + 'category': 'Project Management', + 'author': 'OdooMRP team, ' + 'AvanzOSC, ' + 'Tecnativa, ' + 'Odoo Community Association (OCA)', + 'website': 'https://github.com/OCA/project', + 'license': 'AGPL-3', + 'depends': [ + 'project', ], - "depends": [ - "project", - ], - "data": [ - "data/task_sequence.xml", - "views/project_view.xml", + 'data': [ + 'data/task_sequence.xml', + 'views/project_view.xml', ], 'installable': True, - "pre_init_hook": "create_code_equal_to_id", - "post_init_hook": "assign_old_sequences", + 'pre_init_hook': 'pre_init_hook', + 'post_init_hook': 'post_init_hook', } diff --git a/project_task_code/data/task_sequence.xml b/project_task_code/data/task_sequence.xml index 24cb062ac0..5009faab2a 100644 --- a/project_task_code/data/task_sequence.xml +++ b/project_task_code/data/task_sequence.xml @@ -1,11 +1,14 @@ + - - Task code - project.task - - T - + + Task code + project.task + + T + diff --git a/project_task_code/hooks.py b/project_task_code/hooks.py new file mode 100644 index 0000000000..321cf01167 --- /dev/null +++ b/project_task_code/hooks.py @@ -0,0 +1,32 @@ +# Copyright 2016 Tecnativa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, SUPERUSER_ID + + +def pre_init_hook(cr): + """ + With this pre-init-hook we want to avoid error when creating the UNIQUE + code constraint when the module is installed and before the post-init-hook + is launched. + """ + cr.execute('ALTER TABLE project_task ' + 'ADD COLUMN code character varying;') + cr.execute('UPDATE project_task ' + 'SET code = id;') + + +def post_init_hook(cr, registry): + """ + This post-init-hook will update all existing task assigning them the + corresponding sequence code. + """ + env = api.Environment(cr, SUPERUSER_ID, dict()) + task_obj = env['project.task'] + sequence_obj = env['ir.sequence'] + tasks = task_obj.search([], order="id") + for task_id in tasks.ids: + cr.execute('UPDATE project_task ' + 'SET code = %s ' + 'WHERE id = %s;', + (sequence_obj.next_by_code('project.task'), task_id,)) diff --git a/project_task_code/models/__init__.py b/project_task_code/models/__init__.py index 140ff474af..4e791c80b1 100644 --- a/project_task_code/models/__init__.py +++ b/project_task_code/models/__init__.py @@ -1,4 +1,3 @@ -# Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import project_task diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index ac39ed96a9..2d6c76b83b 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -8,28 +8,37 @@ class ProjectTask(models.Model): _inherit = 'project.task' code = fields.Char( - string='Task Number', required=True, default="/", readonly=True) + string='Task Number', + required=True, + default='/', + readonly=True, + ) _sql_constraints = [ - ('project_task_unique_code', 'UNIQUE (code)', - _('The code must be unique!')), + ( + 'project_task_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['ir.sequence'].next_by_code('project.task') - return super(ProjectTask, self).create(vals_list) + vals['code'] = self.env['ir.sequence'].next_by_code( + 'project.task' + ) + return super().create(vals) def copy(self, default=None): if default is None: default = {} default['code'] = self.env['ir.sequence'].next_by_code('project.task') - return super(ProjectTask, self).copy(default) + return super().copy(default) def name_get(self): - result = super(ProjectTask, self).name_get() + result = super().name_get() new_result = [] for task in result: diff --git a/project_task_code/readme/CONFIGURE.rst b/project_task_code/readme/CONFIGURE.rst new file mode 100644 index 0000000000..1c6085aae5 --- /dev/null +++ b/project_task_code/readme/CONFIGURE.rst @@ -0,0 +1,5 @@ +To change the task code sequence, you must: + +#. Activate the developer mode. +#. Go to Settings > Technical > Sequences & Identifiers > Sequences. +#. Click on "Task code" sequence to edit. diff --git a/project_task_code/readme/CONTRIBUTORS.rst b/project_task_code/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..ab8b003263 --- /dev/null +++ b/project_task_code/readme/CONTRIBUTORS.rst @@ -0,0 +1,7 @@ +* Oihane Crucelaegui +* Pedro M. Baeza +* Ana Juaristi +* Vicent Cubells +* Rodrigo Ferreira +* Damien Bouvy +* Alexey Pelykh diff --git a/project_task_code/readme/DESCRIPTION.rst b/project_task_code/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..90fb9962ae --- /dev/null +++ b/project_task_code/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds a sequential code for tasks. diff --git a/project_task_code/readme/USAGE.rst b/project_task_code/readme/USAGE.rst new file mode 100644 index 0000000000..98ae29ef6d --- /dev/null +++ b/project_task_code/readme/USAGE.rst @@ -0,0 +1,5 @@ +To use this module, you need to: + +#. Go to menu Project > Search > Tasks and create a new task, and you get a +new code saving it. +#. If you duplicate a task, you will get a new code for the new task. diff --git a/project_task_code/static/description/index.html b/project_task_code/static/description/index.html new file mode 100644 index 0000000000..99065f267d --- /dev/null +++ b/project_task_code/static/description/index.html @@ -0,0 +1,445 @@ + + + + + + +Sequential Code for Tasks + + + +
+

Sequential Code for Tasks

+ + +

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

+

This module adds a sequential code for tasks.

+

Table of contents

+ +
+

Configuration

+

To change the task code sequence, you must:

+
    +
  1. Activate the developer mode.
  2. +
  3. Go to Settings > Technical > Sequences & Identifiers > Sequences.
  4. +
  5. Click on “Task code” sequence to edit.
  6. +
+
+
+

Usage

+

To use this module, you need to:

+

#. Go to menu Project > Search > Tasks and create a new task, and you get a +new code saving it. +#. If you duplicate a task, you will get a new code for the new task.

+
+
+

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

+
    +
  • OdooMRP team
  • +
  • AvanzOSC
  • +
  • Tecnativa
  • +
+
+
+

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/project project on GitHub.

+

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

+
+
+
+ + diff --git a/project_task_code/tests/__init__.py b/project_task_code/tests/__init__.py index 170b179fd7..71a546eaf7 100644 --- a/project_task_code/tests/__init__.py +++ b/project_task_code/tests/__init__.py @@ -1,4 +1,3 @@ -# Copyright 2016 Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_project_task_code diff --git a/project_task_code/tests/test_project_task_code.py b/project_task_code/tests/test_project_task_code.py index eff7a15b98..fdc92cd3ae 100644 --- a/project_task_code/tests/test_project_task_code.py +++ b/project_task_code/tests/test_project_task_code.py @@ -7,7 +7,7 @@ class TestProjectTaskCode(common.TransactionCase): def setUp(self): - super(TestProjectTaskCode, self).setUp() + super().setUp() self.project_task_model = self.env['project.task'] self.ir_sequence_model = self.env['ir.sequence'] self.task_sequence = self.env.ref('project_task_code.sequence_task') diff --git a/project_task_code/views/project_view.xml b/project_task_code/views/project_view.xml index 49af9f78b1..3e921be21b 100644 --- a/project_task_code/views/project_view.xml +++ b/project_task_code/views/project_view.xml @@ -47,5 +47,6 @@
+ From 6917936dbdc5fb526633f551ea6c8aa22abafbb8 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 27 Nov 2018 08:58:34 +0000 Subject: [PATCH 19/68] [UPD] Update project_task_code.pot --- project_task_code/i18n/project_task_code.pot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project_task_code/i18n/project_task_code.pot b/project_task_code/i18n/project_task_code.pot index 22fb2f08dc..6143f936fe 100644 --- a/project_task_code/i18n/project_task_code.pot +++ b/project_task_code/i18n/project_task_code.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -19,12 +19,12 @@ msgid "Task" msgstr "" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" From 249b818d63ff5438e8da50fe971093185f8dc5b5 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 9 Dec 2018 12:47:09 +0000 Subject: [PATCH 20/68] Update translation files Updated by Update PO files to match POT (msgmerge) hook in Weblate. --- project_task_code/i18n/ar.po | 4 ++-- project_task_code/i18n/bg.po | 4 ++-- project_task_code/i18n/ca.po | 4 ++-- project_task_code/i18n/de.po | 4 ++-- project_task_code/i18n/el.po | 4 ++-- project_task_code/i18n/en.po | 4 ++-- project_task_code/i18n/es.po | 4 ++-- project_task_code/i18n/es_CR.po | 4 ++-- project_task_code/i18n/es_MX.po | 4 ++-- project_task_code/i18n/es_VE.po | 4 ++-- project_task_code/i18n/fi.po | 4 ++-- project_task_code/i18n/fr.po | 4 ++-- project_task_code/i18n/gl.po | 4 ++-- project_task_code/i18n/hr.po | 4 ++-- project_task_code/i18n/hr_HR.po | 4 ++-- project_task_code/i18n/hu.po | 4 ++-- project_task_code/i18n/it.po | 4 ++-- project_task_code/i18n/ja.po | 4 ++-- project_task_code/i18n/lt.po | 4 ++-- project_task_code/i18n/lv.po | 4 ++-- project_task_code/i18n/mk.po | 4 ++-- project_task_code/i18n/mn.po | 4 ++-- project_task_code/i18n/nl.po | 4 ++-- project_task_code/i18n/nl_NL.po | 4 ++-- project_task_code/i18n/pl.po | 4 ++-- project_task_code/i18n/pt.po | 4 ++-- project_task_code/i18n/pt_BR.po | 4 ++-- project_task_code/i18n/pt_PT.po | 4 ++-- project_task_code/i18n/ro.po | 4 ++-- project_task_code/i18n/sk.po | 4 ++-- project_task_code/i18n/sl.po | 4 ++-- project_task_code/i18n/sv.po | 4 ++-- project_task_code/i18n/tr.po | 4 ++-- project_task_code/i18n/uk.po | 4 ++-- project_task_code/i18n/zh_CN.po | 4 ++-- 35 files changed, 70 insertions(+), 70 deletions(-) diff --git a/project_task_code/i18n/ar.po b/project_task_code/i18n/ar.po index f639789c04..89ebbcc36d 100644 --- a/project_task_code/i18n/ar.po +++ b/project_task_code/i18n/ar.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "مهمة" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/bg.po b/project_task_code/i18n/bg.po index 56f8b03e46..d9ca30543e 100644 --- a/project_task_code/i18n/bg.po +++ b/project_task_code/i18n/bg.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/ca.po b/project_task_code/i18n/ca.po index f643d808d6..e2488784c3 100644 --- a/project_task_code/i18n/ca.po +++ b/project_task_code/i18n/ca.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tasca" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/de.po b/project_task_code/i18n/de.po index 046c619e78..94f9283f19 100644 --- a/project_task_code/i18n/de.po +++ b/project_task_code/i18n/de.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Aufgabe" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Aufgaben Nummer" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/el.po b/project_task_code/i18n/el.po index 7c32d55daa..12e9896b22 100644 --- a/project_task_code/i18n/el.po +++ b/project_task_code/i18n/el.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Εργασία" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/en.po b/project_task_code/i18n/en.po index 8530f131ee..9b09dacefd 100644 --- a/project_task_code/i18n/en.po +++ b/project_task_code/i18n/en.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Task" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Task Number" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/es.po b/project_task_code/i18n/es.po index 4ce29a7c2a..5d5d19888d 100644 --- a/project_task_code/i18n/es.po +++ b/project_task_code/i18n/es.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Número de tarea" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/es_CR.po b/project_task_code/i18n/es_CR.po index 93bcd247c5..22b75de2e3 100644 --- a/project_task_code/i18n/es_CR.po +++ b/project_task_code/i18n/es_CR.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/es_MX.po b/project_task_code/i18n/es_MX.po index faf9b226ef..5123f89d72 100644 --- a/project_task_code/i18n/es_MX.po +++ b/project_task_code/i18n/es_MX.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/es_VE.po b/project_task_code/i18n/es_VE.po index 6183591a37..37305e1e1a 100644 --- a/project_task_code/i18n/es_VE.po +++ b/project_task_code/i18n/es_VE.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tarea" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/fi.po b/project_task_code/i18n/fi.po index bd332cab3f..99f1a58fee 100644 --- a/project_task_code/i18n/fi.po +++ b/project_task_code/i18n/fi.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Tehtävä" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Tehtävän numero" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/fr.po b/project_task_code/i18n/fr.po index 04eca065dc..690e269256 100644 --- a/project_task_code/i18n/fr.po +++ b/project_task_code/i18n/fr.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tâche" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Numéro de la tâche" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/gl.po b/project_task_code/i18n/gl.po index 56a05d45e6..040a3b5370 100644 --- a/project_task_code/i18n/gl.po +++ b/project_task_code/i18n/gl.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tarefa" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/hr.po b/project_task_code/i18n/hr.po index 591a9e3f95..52a9077f2c 100644 --- a/project_task_code/i18n/hr.po +++ b/project_task_code/i18n/hr.po @@ -26,12 +26,12 @@ msgid "Task" msgstr "Zadatak" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Broj zadatka" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/hr_HR.po b/project_task_code/i18n/hr_HR.po index d5a47d8bbf..3d423606b2 100644 --- a/project_task_code/i18n/hr_HR.po +++ b/project_task_code/i18n/hr_HR.po @@ -26,12 +26,12 @@ msgid "Task" msgstr "Zadatak" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/hu.po b/project_task_code/i18n/hu.po index 58071308a4..a1a3c2911a 100644 --- a/project_task_code/i18n/hu.po +++ b/project_task_code/i18n/hu.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Feladat" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/it.po b/project_task_code/i18n/it.po index de33ab5e8b..e8d2d1996a 100644 --- a/project_task_code/i18n/it.po +++ b/project_task_code/i18n/it.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Attività" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/ja.po b/project_task_code/i18n/ja.po index c9715d019f..e5430f562f 100644 --- a/project_task_code/i18n/ja.po +++ b/project_task_code/i18n/ja.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "タスク" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/lt.po b/project_task_code/i18n/lt.po index 9eb10573c3..7eb7c8b9ed 100644 --- a/project_task_code/i18n/lt.po +++ b/project_task_code/i18n/lt.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Užduotis" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/lv.po b/project_task_code/i18n/lv.po index 5a9a85c4de..cf8444e869 100644 --- a/project_task_code/i18n/lv.po +++ b/project_task_code/i18n/lv.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Uzdevums" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/mk.po b/project_task_code/i18n/mk.po index c7712a1070..6695793e9e 100644 --- a/project_task_code/i18n/mk.po +++ b/project_task_code/i18n/mk.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Задача" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/mn.po b/project_task_code/i18n/mn.po index 9575e23a5a..e8ca8dbcb2 100644 --- a/project_task_code/i18n/mn.po +++ b/project_task_code/i18n/mn.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Даалгавар" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/nl.po b/project_task_code/i18n/nl.po index 9524364210..cd484d0c4a 100644 --- a/project_task_code/i18n/nl.po +++ b/project_task_code/i18n/nl.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Taak" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Taaknummer" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/nl_NL.po b/project_task_code/i18n/nl_NL.po index 02f9a31f37..c8ceaa0701 100644 --- a/project_task_code/i18n/nl_NL.po +++ b/project_task_code/i18n/nl_NL.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Taak" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Taaknummer" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/pl.po b/project_task_code/i18n/pl.po index f9099ec87a..0eadb24007 100644 --- a/project_task_code/i18n/pl.po +++ b/project_task_code/i18n/pl.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Zadanie" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/pt.po b/project_task_code/i18n/pt.po index ceff5b2a04..856da1a506 100644 --- a/project_task_code/i18n/pt.po +++ b/project_task_code/i18n/pt.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tarefa" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Número Tarefa" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/pt_BR.po b/project_task_code/i18n/pt_BR.po index 0743f6fd3c..47b2666ad5 100644 --- a/project_task_code/i18n/pt_BR.po +++ b/project_task_code/i18n/pt_BR.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Tarefa" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Número da Tarefa" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/pt_PT.po b/project_task_code/i18n/pt_PT.po index e3d1bd08d6..d064103cfa 100644 --- a/project_task_code/i18n/pt_PT.po +++ b/project_task_code/i18n/pt_PT.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Tarefa" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/ro.po b/project_task_code/i18n/ro.po index a5e89a9c8a..6c99c88d80 100644 --- a/project_task_code/i18n/ro.po +++ b/project_task_code/i18n/ro.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Sarcina" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/sk.po b/project_task_code/i18n/sk.po index 5d5b29d513..d06bb971d4 100644 --- a/project_task_code/i18n/sk.po +++ b/project_task_code/i18n/sk.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/sl.po b/project_task_code/i18n/sl.po index b6a6ea4059..9c6d537337 100644 --- a/project_task_code/i18n/sl.po +++ b/project_task_code/i18n/sl.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Opravilo" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Številka opravila" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/sv.po b/project_task_code/i18n/sv.po index b407d8eb55..6589cf8796 100644 --- a/project_task_code/i18n/sv.po +++ b/project_task_code/i18n/sv.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "Uppgift" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/tr.po b/project_task_code/i18n/tr.po index 059f17b0dd..1496523ec8 100644 --- a/project_task_code/i18n/tr.po +++ b/project_task_code/i18n/tr.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Görev" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "Görev Numarası" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/uk.po b/project_task_code/i18n/uk.po index e28d648231..9fda87572a 100644 --- a/project_task_code/i18n/uk.po +++ b/project_task_code/i18n/uk.po @@ -25,12 +25,12 @@ msgid "Task" msgstr "Завдання" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" diff --git a/project_task_code/i18n/zh_CN.po b/project_task_code/i18n/zh_CN.po index 89ee5ea33a..bbc9f68bfe 100644 --- a/project_task_code/i18n/zh_CN.po +++ b/project_task_code/i18n/zh_CN.po @@ -24,12 +24,12 @@ msgid "Task" msgstr "任务" #. module: project_task_code -#: model:ir.model.fields,field_description:project_task_code.field_project_task_code +#: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" msgstr "" #. module: project_task_code -#: code:addons/project_task_code/models/project_task.py:15 +#: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" From 97b2de4c60ecb92ff527fcf160dae9826be59705 Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Mon, 11 Feb 2019 09:16:53 +0200 Subject: [PATCH 21/68] [FIX] project_task_code: invalid variable --- project_task_code/__manifest__.py | 2 +- project_task_code/models/project_task.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project_task_code/__manifest__.py b/project_task_code/__manifest__.py index f7449a0b0e..ecb38a5d86 100644 --- a/project_task_code/__manifest__.py +++ b/project_task_code/__manifest__.py @@ -3,7 +3,7 @@ { 'name': 'Sequential Code for Tasks', - 'version': '12.0.1.0.0', + 'version': '12.0.1.0.1', 'category': 'Project Management', 'author': 'OdooMRP team, ' 'AvanzOSC, ' diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index 2d6c76b83b..5214025d7b 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -29,7 +29,7 @@ def create(self, vals_list): vals['code'] = self.env['ir.sequence'].next_by_code( 'project.task' ) - return super().create(vals) + return super().create(vals_list) def copy(self, default=None): if default is None: From a9b1e575fc004bfc7e8f4b2df3e21e9d12c78271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20V=C3=A1zquez=20Rodr=C3=ADguez?= Date: Mon, 11 Feb 2019 10:04:13 +0000 Subject: [PATCH 22/68] Translated using Weblate (Galician) Currently translated at 100.0% (3 of 3 strings) Translation: project-12.0/project-12.0-project_task_code Translate-URL: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_task_code/gl/ --- project_task_code/i18n/gl.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/project_task_code/i18n/gl.po b/project_task_code/i18n/gl.po index 040a3b5370..6334b79b87 100644 --- a/project_task_code/i18n/gl.po +++ b/project_task_code/i18n/gl.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: project (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-08-31 18:04+0000\n" -"PO-Revision-Date: 2015-08-06 21:48+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2019-02-11 12:50+0000\n" +"Last-Translator: Marta Vázquez Rodríguez \n" "Language-Team: Galician (http://www.transifex.com/oca/OCA-project-8-0/" "language/gl/)\n" "Language: gl\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.4\n" #. module: project_task_code #: model:ir.model,name:project_task_code.model_project_task @@ -26,11 +27,11 @@ msgstr "Tarefa" #. module: project_task_code #: model:ir.model.fields,field_description:project_task_code.field_project_task__code msgid "Task Number" -msgstr "" +msgstr "Número de tarea" #. module: project_task_code #: code:addons/project_task_code/models/project_task.py:21 #: sql_constraint:project.task:0 #, python-format msgid "The code must be unique!" -msgstr "" +msgstr "O número debe de ser único!" From 107d1c2c6e09cc744f10307edb4c86472492f14f Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 3 Apr 2019 03:14:46 +0000 Subject: [PATCH 23/68] [ADD] icon.png --- project_task_code/static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 project_task_code/static/description/icon.png diff --git a/project_task_code/static/description/icon.png b/project_task_code/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 From d0ea98b303822da93b84866d80420f6813bbd387 Mon Sep 17 00:00:00 2001 From: tbaden Date: Tue, 30 Apr 2019 18:58:01 +0200 Subject: [PATCH 24/68] [FIX][12.0] project_task_code missing api.multi --- project_task_code/models/project_task.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project_task_code/models/project_task.py b/project_task_code/models/project_task.py index 5214025d7b..ebfcc10b88 100644 --- a/project_task_code/models/project_task.py +++ b/project_task_code/models/project_task.py @@ -31,7 +31,9 @@ def create(self, vals_list): ) return super().create(vals_list) + @api.multi def copy(self, default=None): + self.ensure_one() if default is None: default = {} default['code'] = self.env['ir.sequence'].next_by_code('project.task') From e833b29f14c0c4a6fac1bd6945a8f5d7f6629756 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 03:29:12 +0000 Subject: [PATCH 25/68] [UPD] README.rst --- project_task_code/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_task_code/static/description/index.html b/project_task_code/static/description/index.html index 99065f267d..291020fd25 100644 --- a/project_task_code/static/description/index.html +++ b/project_task_code/static/description/index.html @@ -3,7 +3,7 @@ - + Sequential Code for Tasks