diff --git a/queue_job_subscribe/README.rst b/queue_job_subscribe/README.rst new file mode 100644 index 0000000000..1d1aa653f6 --- /dev/null +++ b/queue_job_subscribe/README.rst @@ -0,0 +1,96 @@ +=================== +Queue Job Subscribe +=================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:dad459b8a0a33d0be9cba5350c77a9ae1c891c880940d16d0103f18545601ab2 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fqueue-lightgray.png?logo=github + :target: https://github.com/OCA/queue/tree/18.0/queue_job_subscribe + :alt: OCA/queue +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/queue-18-0/queue-18-0-queue_job_subscribe + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/queue&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows users to be member of group Job Queue Manager without +becoming follower of failed jobs. This can avoid for some users to +receive a lot of emails in case of failing jobs. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +On the user configuration form, there is new Job Notifications checkbox. + +If checked, the user becomes follower of failed jobs if he/she is part +of the Job Queue Manager group. + +If not checked, the user does not become follower of failed jobs. + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Acsone SA/NV + +Contributors +------------ + +- Cédric Pigeon +- Stéphane Bidoul +- Tran Quoc Duong + +Other credits +------------- + +The migration of this module from 17.0 to 18.0 was financially supported +by Camptocamp. + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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/queue `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/queue_job_subscribe/__init__.py b/queue_job_subscribe/__init__.py new file mode 100644 index 0000000000..6a125affcd --- /dev/null +++ b/queue_job_subscribe/__init__.py @@ -0,0 +1,3 @@ +# Copyright 2016 Cédric Pigeon +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from . import models diff --git a/queue_job_subscribe/__manifest__.py b/queue_job_subscribe/__manifest__.py new file mode 100644 index 0000000000..e6ab4081eb --- /dev/null +++ b/queue_job_subscribe/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2016 Cédric Pigeon +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Queue Job Subscribe", + "version": "18.0.1.0.0", + "author": "Acsone SA/NV, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/queue", + "summary": "Control which users are subscribed to queue job notifications", + "license": "AGPL-3", + "category": "Generic Modules", + "depends": ["queue_job"], + "data": ["views/res_users_view.xml"], + "installable": True, +} diff --git a/queue_job_subscribe/i18n/ar.po b/queue_job_subscribe/i18n/ar.po new file mode 100644 index 0000000000..cd2e4cef66 --- /dev/null +++ b/queue_job_subscribe/i18n/ar.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "المستخدمون" diff --git a/queue_job_subscribe/i18n/bg.po b/queue_job_subscribe/i18n/bg.po new file mode 100644 index 0000000000..92a910d0e9 --- /dev/null +++ b/queue_job_subscribe/i18n/bg.po @@ -0,0 +1,46 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# Kaloyan Naumov , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: Kaloyan Naumov , 2017\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Конектори" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" diff --git a/queue_job_subscribe/i18n/ca.po b/queue_job_subscribe/i18n/ca.po new file mode 100644 index 0000000000..ed4753f186 --- /dev/null +++ b/queue_job_subscribe/i18n/ca.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2022-04-13 14:05+0000\n" +"Last-Translator: Noel estudillo \n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Connectors" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" +"Si aquesta marca està marcada i l'usuari és Connector Manager, rebrà " +"notificacions de feina." + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "Notificacions de feina" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Tasca de Cua" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Usuaris" diff --git a/queue_job_subscribe/i18n/da.po b/queue_job_subscribe/i18n/da.po new file mode 100644 index 0000000000..47146df0b4 --- /dev/null +++ b/queue_job_subscribe/i18n/da.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Brugere" diff --git a/queue_job_subscribe/i18n/de.po b/queue_job_subscribe/i18n/de.po new file mode 100644 index 0000000000..19160a653e --- /dev/null +++ b/queue_job_subscribe/i18n/de.po @@ -0,0 +1,63 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +# Rudolf Schnapka , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 00:51+0000\n" +"PO-Revision-Date: 2020-07-22 12:20+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Connector" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" +"Wenn dieses Kennzeichen gesetzt ist und der Benutzer ist Verbindungsmanager, " +"dann wird er Job-Hinweise erhalten." + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "Job Benachrichtigungen" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Warteschlange Job" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Benutzer" + +#~ msgid "Sale Pricelist" +#~ msgstr "Verkaufspreisliste" + +#~ msgid "" +#~ "This pricelist will be used, instead of the default one, for sales to the " +#~ "current partner" +#~ msgstr "" +#~ "Diese Preisliste wird anstelle der Vorgabe bei Verkäufen an diesen " +#~ "Partner verwendet" diff --git a/queue_job_subscribe/i18n/el_GR.po b/queue_job_subscribe/i18n/el_GR.po new file mode 100644 index 0000000000..eded39a248 --- /dev/null +++ b/queue_job_subscribe/i18n/el_GR.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Χρήστες" diff --git a/queue_job_subscribe/i18n/es.po b/queue_job_subscribe/i18n/es.po new file mode 100644 index 0000000000..67c6e10713 --- /dev/null +++ b/queue_job_subscribe/i18n/es.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2023-10-15 18:36+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Conectores" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" +"Si esta bandera está marcada y el usuario es Connector Manager, recibirá " +"notificaciones de trabajo." + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "Notificaciones de trabajos" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Trabajo de Cola" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "Usuario" + +#~ msgid "Users" +#~ msgstr "Usuarios" diff --git a/queue_job_subscribe/i18n/es_ES.po b/queue_job_subscribe/i18n/es_ES.po new file mode 100644 index 0000000000..e19cd06e84 --- /dev/null +++ b/queue_job_subscribe/i18n/es_ES.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: es_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Usuarios" diff --git a/queue_job_subscribe/i18n/fi.po b/queue_job_subscribe/i18n/fi.po new file mode 100644 index 0000000000..b5ecad2df3 --- /dev/null +++ b/queue_job_subscribe/i18n/fi.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Käyttäjät" diff --git a/queue_job_subscribe/i18n/fr.po b/queue_job_subscribe/i18n/fr.po new file mode 100644 index 0000000000..905d96668e --- /dev/null +++ b/queue_job_subscribe/i18n/fr.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2020-07-22 12:20+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Connecteurs" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" +"Si cette case est cochée et que l'utilisateur est Administrateur Connecteur, " +"il recevra les notifications des jobs." + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "Notifications des jobs" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Queue de jobs" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Utilisateurs" diff --git a/queue_job_subscribe/i18n/fr_CH.po b/queue_job_subscribe/i18n/fr_CH.po new file mode 100644 index 0000000000..67554b4ce9 --- /dev/null +++ b/queue_job_subscribe/i18n/fr_CH.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Utilisateurs" diff --git a/queue_job_subscribe/i18n/hr.po b/queue_job_subscribe/i18n/hr.po new file mode 100644 index 0000000000..476a376910 --- /dev/null +++ b/queue_job_subscribe/i18n/hr.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Korisnici" diff --git a/queue_job_subscribe/i18n/hr_HR.po b/queue_job_subscribe/i18n/hr_HR.po new file mode 100644 index 0000000000..decf6a1185 --- /dev/null +++ b/queue_job_subscribe/i18n/hr_HR.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Korisnici" diff --git a/queue_job_subscribe/i18n/hu.po b/queue_job_subscribe/i18n/hu.po new file mode 100644 index 0000000000..c593c729ea --- /dev/null +++ b/queue_job_subscribe/i18n/hu.po @@ -0,0 +1,46 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Csatolók" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Sorbanálló feladatok" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" diff --git a/queue_job_subscribe/i18n/it.po b/queue_job_subscribe/i18n/it.po new file mode 100644 index 0000000000..2170939927 --- /dev/null +++ b/queue_job_subscribe/i18n/it.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2024-02-05 00:26+0000\n" +"Last-Translator: mymage \n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Connettori" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" +"Se questa selezione è attiva e l'utente è un responsabile connettore, " +"riceverà le notifiche di lavoro." + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "Notifiche lavoro" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Lavoro in coda" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "Utente" + +#~ msgid "Users" +#~ msgstr "Utenti" diff --git a/queue_job_subscribe/i18n/nl.po b/queue_job_subscribe/i18n/nl.po new file mode 100644 index 0000000000..4931468dcc --- /dev/null +++ b/queue_job_subscribe/i18n/nl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Connectors" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Geplande taken" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Gebruikers" diff --git a/queue_job_subscribe/i18n/pt_BR.po b/queue_job_subscribe/i18n/pt_BR.po new file mode 100644 index 0000000000..4724945f45 --- /dev/null +++ b/queue_job_subscribe/i18n/pt_BR.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +# Rodrigo de Almeida Sottomaior Macedo , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 16:11+0000\n" +"PO-Revision-Date: 2024-07-06 20:58+0000\n" +"Last-Translator: Rodrigo Sottomaior Macedo " +"\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" +"23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Conectores" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" +"Se este sinalizador estiver marcado e o usuário for Connector Manager, ele " +"receberá notificações de tarefa." + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "Notificações de trabalho" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Fila de tarefas" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "Usuário" + +#~ msgid "Users" +#~ msgstr "Usuários" + +#~ msgid "Sale Pricelist" +#~ msgstr "Lista de Preços de Venda" diff --git a/queue_job_subscribe/i18n/queue_job_subscribe.pot b/queue_job_subscribe/i18n/queue_job_subscribe.pot new file mode 100644 index 0000000000..a7d909e534 --- /dev/null +++ b/queue_job_subscribe/i18n/queue_job_subscribe.pot @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * queue_job_subscribe +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.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: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" diff --git a/queue_job_subscribe/i18n/sl.po b/queue_job_subscribe/i18n/sl.po new file mode 100644 index 0000000000..48be7811cb --- /dev/null +++ b/queue_job_subscribe/i18n/sl.po @@ -0,0 +1,63 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +# Matjaž Mozetič , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: Matjaž Mozetič , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "Povezovalniki" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" +"Če označeno, bo uporabnik, ki je upravitelj povezovalnikov prejemal " +"obvestila o delu." + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +#, fuzzy +msgid "Job Notifications" +msgstr "Obvestila o delu" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "Delo čakalne vrste" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Uporabniki" + +#~ msgid "Sale Pricelist" +#~ msgstr "Prodajni cenik" + +#~ msgid "" +#~ "This pricelist will be used, instead of the default one, for sales to the " +#~ "current partner" +#~ msgstr "" +#~ "Ta cenik bo uporabljen namesto privzetega za prodajo trenutnemu partnerju." diff --git a/queue_job_subscribe/i18n/tr.po b/queue_job_subscribe/i18n/tr.po new file mode 100644 index 0000000000..a706101b69 --- /dev/null +++ b/queue_job_subscribe/i18n/tr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Kullanıcılar" diff --git a/queue_job_subscribe/i18n/tr_TR.po b/queue_job_subscribe/i18n/tr_TR.po new file mode 100644 index 0000000000..dc9d103a5c --- /dev/null +++ b/queue_job_subscribe/i18n/tr_TR.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2017-04-05 00:42+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Kullanıcılar" diff --git a/queue_job_subscribe/i18n/zh_CN.po b/queue_job_subscribe/i18n/zh_CN.po new file mode 100644 index 0000000000..cd6e587143 --- /dev/null +++ b/queue_job_subscribe/i18n/zh_CN.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * connector_job_subscribe +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-05 00:42+0000\n" +"PO-Revision-Date: 2024-07-02 09:47+0000\n" +"Last-Translator: xtanuiha \n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.17\n" + +#. module: queue_job_subscribe +#: model_terms:ir.ui.view,arch_db:queue_job_subscribe.view_user_connector_form +msgid "Connectors" +msgstr "连接器" + +#. module: queue_job_subscribe +#: model:ir.model.fields,help:queue_job_subscribe.field_res_users__subscribe_job +msgid "" +"If this flag is checked and the user is Connector Manager, he will receive " +"job notifications." +msgstr "如果选中此标志并且用户是连接器管理,则他将收到作业通知。" + +#. module: queue_job_subscribe +#: model:ir.model.fields,field_description:queue_job_subscribe.field_res_users__subscribe_job +msgid "Job Notifications" +msgstr "作业通知" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_queue_job +msgid "Queue Job" +msgstr "队列中作业" + +#. module: queue_job_subscribe +#: model:ir.model,name:queue_job_subscribe.model_res_users +msgid "User" +msgstr "用户" + +#~ msgid "Users" +#~ msgstr "用户" diff --git a/queue_job_subscribe/models/__init__.py b/queue_job_subscribe/models/__init__.py new file mode 100644 index 0000000000..b5dc1e9f81 --- /dev/null +++ b/queue_job_subscribe/models/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2016 Cédric Pigeon +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import queue_job +from . import res_users diff --git a/queue_job_subscribe/models/queue_job.py b/queue_job_subscribe/models/queue_job.py new file mode 100644 index 0000000000..9b82516f2c --- /dev/null +++ b/queue_job_subscribe/models/queue_job.py @@ -0,0 +1,13 @@ +# Copyright 2016 Cédric Pigeon +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class QueueJob(models.Model): + _inherit = "queue.job" + + def _subscribe_users_domain(self): + domain = super()._subscribe_users_domain() + domain.append(("subscribe_job", "=", True)) + return domain diff --git a/queue_job_subscribe/models/res_users.py b/queue_job_subscribe/models/res_users.py new file mode 100644 index 0000000000..8afc3d3673 --- /dev/null +++ b/queue_job_subscribe/models/res_users.py @@ -0,0 +1,17 @@ +# Copyright 2016 Cédric Pigeon +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResUsers(models.Model): + _inherit = "res.users" + + subscribe_job = fields.Boolean( + "Job Notifications", + default=True, + help="If this flag is checked and the " + "user is Connector Manager, he will " + "receive job notifications.", + index=True, + ) diff --git a/queue_job_subscribe/pyproject.toml b/queue_job_subscribe/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/queue_job_subscribe/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/queue_job_subscribe/readme/CONTRIBUTORS.md b/queue_job_subscribe/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..85798bdf39 --- /dev/null +++ b/queue_job_subscribe/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Cédric Pigeon \<\> +- Stéphane Bidoul \<\> +- Tran Quoc Duong \<\> diff --git a/queue_job_subscribe/readme/CREDITS.md b/queue_job_subscribe/readme/CREDITS.md new file mode 100644 index 0000000000..83b3ec91f7 --- /dev/null +++ b/queue_job_subscribe/readme/CREDITS.md @@ -0,0 +1 @@ +The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp. diff --git a/queue_job_subscribe/readme/DESCRIPTION.md b/queue_job_subscribe/readme/DESCRIPTION.md new file mode 100644 index 0000000000..534b131f5b --- /dev/null +++ b/queue_job_subscribe/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module allows users to be member of group Job Queue Manager without becoming follower of failed jobs. +This can avoid for some users to receive a lot of emails in case of failing jobs. diff --git a/queue_job_subscribe/readme/USAGE.md b/queue_job_subscribe/readme/USAGE.md new file mode 100644 index 0000000000..ff15032678 --- /dev/null +++ b/queue_job_subscribe/readme/USAGE.md @@ -0,0 +1,5 @@ +On the user configuration form, there is new Job Notifications checkbox. + +If checked, the user becomes follower of failed jobs if he/she is part of the Job Queue Manager group. + +If not checked, the user does not become follower of failed jobs. diff --git a/queue_job_subscribe/static/description/icon.png b/queue_job_subscribe/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/queue_job_subscribe/static/description/icon.png differ diff --git a/queue_job_subscribe/static/description/index.html b/queue_job_subscribe/static/description/index.html new file mode 100644 index 0000000000..a68b9af873 --- /dev/null +++ b/queue_job_subscribe/static/description/index.html @@ -0,0 +1,441 @@ + + + + + +Queue Job Subscribe + + + +
+

Queue Job Subscribe

+ + +

Beta License: AGPL-3 OCA/queue Translate me on Weblate Try me on Runboat

+

This module allows users to be member of group Job Queue Manager without +becoming follower of failed jobs. This can avoid for some users to +receive a lot of emails in case of failing jobs.

+

Table of contents

+ +
+

Usage

+

On the user configuration form, there is new Job Notifications checkbox.

+

If checked, the user becomes follower of failed jobs if he/she is part +of the Job Queue Manager group.

+

If not checked, the user does not become follower of failed jobs.

+
+
+

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 to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Acsone SA/NV
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The migration of this module from 17.0 to 18.0 was financially supported +by Camptocamp.

+
+
+

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

+

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

+
+
+
+ + diff --git a/queue_job_subscribe/tests/__init__.py b/queue_job_subscribe/tests/__init__.py new file mode 100644 index 0000000000..292a860ce5 --- /dev/null +++ b/queue_job_subscribe/tests/__init__.py @@ -0,0 +1,4 @@ +# Copyright 2016 Cédric Pigeon +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_job_subscribe diff --git a/queue_job_subscribe/tests/test_job_subscribe.py b/queue_job_subscribe/tests/test_job_subscribe.py new file mode 100644 index 0000000000..a56efa0554 --- /dev/null +++ b/queue_job_subscribe/tests/test_job_subscribe.py @@ -0,0 +1,96 @@ +# Copyright 2016 Cédric Pigeon +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import odoo.tests.common as common + +from odoo.addons.queue_job.job import Job + + +class TestJobSubscribe(common.TransactionCase): + def setUp(self): + super().setUp() + self.env = self.env(context=dict(self.env.context, tracking_disable=True)) + grp_queue_job_manager = self.ref("queue_job.group_queue_job_manager") + self.other_partner_a = self.env["res.partner"].create( + {"name": "My Company a", "is_company": True, "email": "test@tes.ttest"} + ) + self.other_user_a = ( + self.env["res.users"] + .with_context(no_reset_password=True) + .create( + { + "partner_id": self.other_partner_a.id, + "login": "my_login a", + "name": "my user", + "groups_id": [(4, grp_queue_job_manager)], + } + ) + ) + self.other_partner_b = self.env["res.partner"].create( + {"name": "My Company b", "is_company": True, "email": "test@tes.ttest"} + ) + self.other_user_b = self.env["res.users"].create( + { + "partner_id": self.other_partner_b.id, + "login": "my_login_b", + "name": "my user 1", + "groups_id": [(4, grp_queue_job_manager)], + } + ) + + def _create_failed_job(self): + method = self.env["res.users"].with_user(self.other_user_a).mapped + test_job = Job(method) + test_job.store() + test_job_record = self.env["queue.job"].search([("uuid", "=", test_job.uuid)]) + test_job_record.write({"state": "failed"}) + return test_job_record + + def test_job_subscription_all_follow(self): + """ + When a job is created, all user of group + queue_job.group_queue_job_manager are automatically set as + follower + """ + + ################################# + # Test 1: All users are followers + ################################# + stored = self._create_failed_job() + users = self.env["res.users"].search( + [("groups_id", "=", self.ref("queue_job.group_queue_job_manager"))] + ) + self.assertEqual(len(stored.message_follower_ids), len(users)) + expected_partners = [u.partner_id for u in users] + self.assertSetEqual( + set(stored.mapped("message_follower_ids.partner_id")), + set(expected_partners), + ) + followers_id = [f.id for f in stored.mapped("message_follower_ids.partner_id")] + self.assertIn(self.other_partner_a.id, followers_id) + self.assertIn(self.other_partner_b.id, followers_id) + + def test_job_subscription_not_follow(self): + """ + If the flag subscribe_job is not set as follower + """ + ########################################### + # Test 2: User b request to not be follower + ########################################### + self.other_user_b.write({"subscribe_job": False}) + stored = self._create_failed_job() + users = self.env["res.users"].search( + [ + ("groups_id", "=", self.ref("queue_job.group_queue_job_manager")), + ("subscribe_job", "=", True), + ] + ) + self.assertEqual(len(stored.message_follower_ids), len(users)) + expected_partners = [u.partner_id for u in users] + self.assertSetEqual( + set(stored.mapped("message_follower_ids.partner_id")), + set(expected_partners), + ) + followers_id = [f.id for f in stored.mapped("message_follower_ids.partner_id")] + self.assertIn(self.other_partner_a.id, followers_id) + self.assertNotIn(self.other_partner_b.id, followers_id) diff --git a/queue_job_subscribe/views/res_users_view.xml b/queue_job_subscribe/views/res_users_view.xml new file mode 100644 index 0000000000..009ec298e2 --- /dev/null +++ b/queue_job_subscribe/views/res_users_view.xml @@ -0,0 +1,17 @@ + + + + res.user.connector.form + res.users + + + + + + + + + + + +