diff --git a/project_key/README.rst b/project_key/README.rst index ad5e84efcc..3b4f420f5a 100644 --- a/project_key/README.rst +++ b/project_key/README.rst @@ -14,16 +14,16 @@ Project key :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github - :target: https://github.com/OCA/project/tree/14.0/project_key + :target: https://github.com/OCA/project/tree/15.0/project_key :alt: OCA/project .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_key :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/14.0 + :target: https://runbot.odoo-community.org/runbot/140/15.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module provides functionality to uniquely identify projects and tasks by simple ``key`` field. @@ -76,7 +76,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -113,6 +113,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/project `_ project on GitHub. +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_key/__manifest__.py b/project_key/__manifest__.py index 3cf8566283..2c4486d340 100644 --- a/project_key/__manifest__.py +++ b/project_key/__manifest__.py @@ -5,7 +5,7 @@ "name": "Project key", "summary": "Module decorates projects and tasks with Project Key", "category": "Project", - "version": "14.0.1.0.2", + "version": "15.0.1.0.0", "license": "LGPL-3", "author": "Modoolar, Odoo Community Association (OCA)", "website": "https://github.com/OCA/project", diff --git a/project_key/i18n/es_AR.po b/project_key/i18n/es_AR.po index 6cf0557508..706440e568 100644 --- a/project_key/i18n/es_AR.po +++ b/project_key/i18n/es_AR.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2021-04-01 03:48+0000\n" "Last-Translator: Ignacio Buioli \n" diff --git a/project_key/i18n/fr.po b/project_key/i18n/fr.po index 1158d2ebde..2959bef693 100644 --- a/project_key/i18n/fr.po +++ b/project_key/i18n/fr.po @@ -4,32 +4,22 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-05-14 18:47+0000\n" +"POT-Creation-Date: 2023-01-18 15:37+0000\n" +"PO-Revision-Date: 2023-01-18 16:37+0100\n" "Last-Translator: Yves Le Doeuff \n" "Language-Team: none\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" +"Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.3.2\n" - -#. module: project_key -#: model:ir.model.fields,field_description:project_key.field_project_project__display_name -#: model:ir.model.fields,field_description:project_key.field_project_task__display_name -msgid "Display Name" -msgstr "Nom affiché" - -#. module: project_key -#: model:ir.model.fields,field_description:project_key.field_project_project__id -#: model:ir.model.fields,field_description:project_key.field_project_task__id -msgid "ID" -msgstr "" +"X-Generator: Poedit 3.0.1\n" #. module: project_key #: model:ir.model.fields,field_description:project_key.field_project_project__key +#: model:ir.model.fields,field_description:project_key.field_project_task__key msgid "Key" msgstr "Clé" @@ -38,12 +28,6 @@ msgstr "Clé" msgid "Key Sequence" msgstr "Séquence de clé" -#. module: project_key -#: model:ir.model.fields,field_description:project_key.field_project_project____last_update -#: model:ir.model.fields,field_description:project_key.field_project_task____last_update -msgid "Last Modified on" -msgstr "" - #. module: project_key #: model:ir.model,name:project_key.model_project_project msgid "Project" @@ -68,14 +52,15 @@ msgstr "Tâche" #. module: project_key #: model:ir.model.constraint,message:project_key.constraint_project_task_task_key_unique msgid "Task key must be unique!" -msgstr "La clé de tâche doit être unique" +msgstr "La clé de tâche doit être unique !" #. module: project_key #: model:ir.model.fields,field_description:project_key.field_project_task__url msgid "URL" -msgstr "" +msgstr "URL" -#. module: project_key -#: model:ir.model.fields,field_description:project_key.field_project_task__key -msgid "key" -msgstr "Clé" +#~ msgid "key" +#~ msgstr "Clé" + +#~ msgid "Display Name" +#~ msgstr "Nom affiché" diff --git a/project_key/i18n/fr_FR.po b/project_key/i18n/fr_FR.po index b5ba029b59..66564f2977 100644 --- a/project_key/i18n/fr_FR.po +++ b/project_key/i18n/fr_FR.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2021-04-11 16:46+0000\n" "Last-Translator: Yves Le Doeuff \n" diff --git a/project_key/i18n/it.po b/project_key/i18n/it.po index c85c0c1f5f..e2629fd24c 100644 --- a/project_key/i18n/it.po +++ b/project_key/i18n/it.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2022-10-19 14:43+0000\n" "Last-Translator: Sergio Zanchetta \n" diff --git a/project_key/i18n/project_key.pot b/project_key/i18n/project_key.pot index e3246708d0..50c0a9e976 100644 --- a/project_key/i18n/project_key.pot +++ b/project_key/i18n/project_key.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/project_key/models/project_project.py b/project_key/models/project_project.py index 430265b312..e5a7984bb5 100644 --- a/project_key/models/project_project.py +++ b/project_key/models/project_project.py @@ -13,7 +13,7 @@ class Project(models.Model): comodel_name="ir.sequence", string="Key Sequence", ondelete="restrict" ) - key = fields.Char(string="Key", size=10, required=False, index=True, copy=False) + key = fields.Char(size=10, required=False, index=True, copy=False) _sql_constraints = [ ("project_key_unique", "UNIQUE(key)", "Project key must be unique") diff --git a/project_key/models/project_task.py b/project_key/models/project_task.py index db531846b6..e634118e40 100644 --- a/project_key/models/project_task.py +++ b/project_key/models/project_task.py @@ -10,7 +10,7 @@ class Task(models.Model): _inherit = "project.task" - key = fields.Char(string="key", size=20, required=False, index=True) + key = fields.Char(size=20, required=False, index=True) url = fields.Char(string="URL", compute="_compute_task_url") diff --git a/project_key/static/description/index.html b/project_key/static/description/index.html index ed51efe655..e005de7e05 100644 --- a/project_key/static/description/index.html +++ b/project_key/static/description/index.html @@ -367,7 +367,7 @@

Project key

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

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

+

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

This module provides functionality to uniquely identify projects and tasks by simple key field.

Table of contents

@@ -422,7 +422,7 @@

Bug Tracker

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

+feedback.

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

@@ -453,7 +453,7 @@

Maintainers

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

-

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

+

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_key/tests/test_common.py b/project_key/tests/test_common.py index a24ab0c0dc..08c3fd528e 100644 --- a/project_key/tests/test_common.py +++ b/project_key/tests/test_common.py @@ -1,7 +1,7 @@ # Copyright 2017 - 2018 Modoolar # License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). -from odoo.tests.common import HttpCase, SavepointCase +from odoo.tests.common import HttpCase, TransactionCase class TestMixin(object): @@ -40,7 +40,7 @@ def get_project_url(self, project): return self.get_record_url(project, project._name, self.project_action.id) -class TestCommon(SavepointCase, TestMixin): +class TestCommon(TransactionCase, TestMixin): @classmethod def setUpClass(cls): super().setUpClass() diff --git a/project_key/views/project_key_views.xml b/project_key/views/project_key_views.xml index 17cfaa93d3..26f94c5da4 100644 --- a/project_key/views/project_key_views.xml +++ b/project_key/views/project_key_views.xml @@ -79,7 +79,7 @@