mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 03:52:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
46
odoo-bringout-oca-queue-queue_job_subscribe/README.md
Normal file
46
odoo-bringout-oca-queue-queue_job_subscribe/README.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Queue Job Subscribe
|
||||
|
||||
Odoo addon: queue_job_subscribe
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-queue-queue_job_subscribe
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- queue_job
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Queue Job Subscribe
|
||||
- **Version**: 16.0.1.1.0
|
||||
- **Category**: Generic Modules
|
||||
- **License**: AGPL-3
|
||||
- **Installable**: True
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/queue](https://github.com/OCA/queue) branch 16.0, addon `queue_job_subscribe`.
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original AGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Reports: doc/REPORTS.md
|
||||
- Security: doc/SECURITY.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
# Architecture
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
U[Users] -->|HTTP| V[Views and QWeb Templates]
|
||||
V --> C[Controllers]
|
||||
V --> W[Wizards – Transient Models]
|
||||
C --> M[Models and ORM]
|
||||
W --> M
|
||||
M --> R[Reports]
|
||||
DX[Data XML] --> M
|
||||
S[Security – ACLs and Groups] -. enforces .-> M
|
||||
|
||||
subgraph Queue_job_subscribe Module - queue_job_subscribe
|
||||
direction LR
|
||||
M:::layer
|
||||
W:::layer
|
||||
C:::layer
|
||||
V:::layer
|
||||
R:::layer
|
||||
S:::layer
|
||||
DX:::layer
|
||||
end
|
||||
|
||||
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
|
||||
```
|
||||
|
||||
Notes
|
||||
- Views include tree/form/kanban templates and report templates.
|
||||
- Controllers provide website/portal routes when present.
|
||||
- Wizards are UI flows implemented with `models.TransientModel`.
|
||||
- Data XML loads data/demo records; Security defines groups and access.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for queue_job_subscribe. Configure related models, access rights, and options as needed.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- [queue_job](../../odoo-bringout-oca-queue-queue_job)
|
||||
4
odoo-bringout-oca-queue-queue_job_subscribe/doc/FAQ.md
Normal file
4
odoo-bringout-oca-queue-queue_job_subscribe/doc/FAQ.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# FAQ
|
||||
|
||||
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
|
||||
- Q: How to enable? A: Start server with --addon queue_job_subscribe or install in UI.
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-queue-queue_job_subscribe"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-queue-queue_job_subscribe"
|
||||
```
|
||||
13
odoo-bringout-oca-queue-queue_job_subscribe/doc/MODELS.md
Normal file
13
odoo-bringout-oca-queue-queue_job_subscribe/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in queue_job_subscribe.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class queue_job
|
||||
class res_users
|
||||
```
|
||||
|
||||
Notes
|
||||
- Classes show model technical names; fields omitted for brevity.
|
||||
- Items listed under _inherit are extensions of existing models.
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: queue_job_subscribe. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon queue_job_subscribe
|
||||
- License: LGPL-3
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Reports
|
||||
|
||||
This module does not define custom reports.
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Security
|
||||
|
||||
This module does not define custom security rules or access controls beyond Odoo defaults.
|
||||
|
||||
Default Odoo security applies:
|
||||
- Base user access through standard groups
|
||||
- Model access inherited from dependencies
|
||||
- No custom row-level security rules
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Troubleshooting
|
||||
|
||||
- Ensure Python and Odoo environment matches repo guidance.
|
||||
- Check database connectivity and logs if startup fails.
|
||||
- Validate that dependent addons listed in DEPENDENCIES.md are installed.
|
||||
7
odoo-bringout-oca-queue-queue_job_subscribe/doc/USAGE.md
Normal file
7
odoo-bringout-oca-queue-queue_job_subscribe/doc/USAGE.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Usage
|
||||
|
||||
Start Odoo including this addon (from repo root):
|
||||
|
||||
```bash
|
||||
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon queue_job_subscribe
|
||||
```
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
42
odoo-bringout-oca-queue-queue_job_subscribe/pyproject.toml
Normal file
42
odoo-bringout-oca-queue-queue_job_subscribe/pyproject.toml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-queue-queue_job_subscribe"
|
||||
version = "16.0.0"
|
||||
description = "Queue Job Subscribe - Control which users are subscribed to queue job notifications"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-queue-queue_job>=16.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">= 3.11"
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://github.com/bringout/0"
|
||||
repository = "https://github.com/bringout/0"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["queue_job_subscribe"]
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = [
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:target: http://www.gnu.org/licenses/agpl
|
||||
:alt: License: AGPL-3
|
||||
|
||||
Queue Job Suscription
|
||||
=====================
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/230/10.0
|
||||
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/queue/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Images
|
||||
------
|
||||
|
||||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Cédric Pigeon <cedric.pigeon@acsone.eu>
|
||||
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
|
||||
|
||||
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 https://odoo-community.org.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Copyright 2016 Cédric Pigeon
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from . import models
|
||||
|
|
@ -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": "16.0.1.1.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,
|
||||
}
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "المستخدمون"
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# Kaloyan Naumov <kaloyan@lumnus.net>, 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 <kaloyan@lumnus.net>, 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 ""
|
||||
|
|
@ -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 16.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 "Priključci"
|
||||
|
||||
#. 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 "Obavještenja o poslu"
|
||||
|
||||
#. module: queue_job_subscribe
|
||||
#: model:ir.model,name:queue_job_subscribe.model_queue_job
|
||||
msgid "Queue Job"
|
||||
msgstr "Red poslova"
|
||||
|
||||
#. module: queue_job_subscribe
|
||||
#: model:ir.model,name:queue_job_subscribe.model_res_users
|
||||
msgid "User"
|
||||
msgstr "Korisnik"
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <noelestudilloviera@gmail.com>\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"
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Rudolf Schnapka <rs@techno-flex.de>, 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 <didier.donze@camptocamp.com>\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"
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "Χρήστες"
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <informatica@totmaterial.es>\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"
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <didier.donze@camptocamp.com>\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"
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 ""
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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-01-11 09:34+0000\n"
|
||||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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"
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Rodrigo de Almeida Sottomaior Macedo <rmsolucoeseminformatic4@gmail.com>, 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-05-22 02:53+0000\n"
|
||||
"Last-Translator: Rodrigo Macedo <sottomaiormacedotec@users.noreply."
|
||||
"translation.odoo-community.org>\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 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 ""
|
||||
"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"
|
||||
|
|
@ -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 16.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 ""
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Matjaž Mozetič <m.mozetic@matmoz.si>, 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č <m.mozetic@matmoz.si>, 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."
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * connector_job_subscribe
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 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: 2019-12-13 09:05+0000\n"
|
||||
"Last-Translator: 黎伟杰 <674416404@qq.com>\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 3.9.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 "用户"
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
# 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,
|
||||
)
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
|
|
@ -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
|
||||
|
|
@ -0,0 +1,87 @@
|
|||
# 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()
|
||||
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"].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(self):
|
||||
"""
|
||||
When a job is created, all user of group
|
||||
queue_job.group_queue_job_manager are automatically set as
|
||||
follower except if the flag subscribe_job is not set
|
||||
"""
|
||||
|
||||
#################################
|
||||
# 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)
|
||||
|
||||
###########################################
|
||||
# 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)
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="view_user_connector_form" model="ir.ui.view">
|
||||
<field name="name">res.user.connector.form</field>
|
||||
<field name="model">res.users</field>
|
||||
<field name="inherit_id" ref="base.view_users_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="/form/sheet/notebook" position="inside">
|
||||
<page string="Connectors" name="connector">
|
||||
<group>
|
||||
<field name="subscribe_job" />
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue