mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 23:12:01 +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_batch/README.md
Normal file
46
odoo-bringout-oca-queue-queue_job_batch/README.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Job Queue Batch
|
||||
|
||||
Odoo addon: queue_job_batch
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-queue-queue_job_batch
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- queue_job
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Job Queue Batch
|
||||
- **Version**: 16.0.1.0.1
|
||||
- **Category**: Generic Modules
|
||||
- **License**: AGPL-3
|
||||
- **Installable**: False
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/queue](https://github.com/OCA/queue) branch 16.0, addon `queue_job_batch`.
|
||||
|
||||
## 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
|
||||
32
odoo-bringout-oca-queue-queue_job_batch/doc/ARCHITECTURE.md
Normal file
32
odoo-bringout-oca-queue-queue_job_batch/doc/ARCHITECTURE.md
Normal file
|
|
@ -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_batch Module - queue_job_batch
|
||||
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_batch. 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_batch/doc/FAQ.md
Normal file
4
odoo-bringout-oca-queue-queue_job_batch/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_batch or install in UI.
|
||||
7
odoo-bringout-oca-queue-queue_job_batch/doc/INSTALL.md
Normal file
7
odoo-bringout-oca-queue-queue_job_batch/doc/INSTALL.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-queue-queue_job_batch"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-queue-queue_job_batch"
|
||||
```
|
||||
13
odoo-bringout-oca-queue-queue_job_batch/doc/MODELS.md
Normal file
13
odoo-bringout-oca-queue-queue_job_batch/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in queue_job_batch.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class queue_job_batch
|
||||
class queue_job
|
||||
```
|
||||
|
||||
Notes
|
||||
- Classes show model technical names; fields omitted for brevity.
|
||||
- Items listed under _inherit are extensions of existing models.
|
||||
6
odoo-bringout-oca-queue-queue_job_batch/doc/OVERVIEW.md
Normal file
6
odoo-bringout-oca-queue-queue_job_batch/doc/OVERVIEW.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: queue_job_batch. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon queue_job_batch
|
||||
- License: LGPL-3
|
||||
3
odoo-bringout-oca-queue-queue_job_batch/doc/REPORTS.md
Normal file
3
odoo-bringout-oca-queue-queue_job_batch/doc/REPORTS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Reports
|
||||
|
||||
This module does not define custom reports.
|
||||
42
odoo-bringout-oca-queue-queue_job_batch/doc/SECURITY.md
Normal file
42
odoo-bringout-oca-queue-queue_job_batch/doc/SECURITY.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Security
|
||||
|
||||
Access control and security definitions in queue_job_batch.
|
||||
|
||||
## Access Control Lists (ACLs)
|
||||
|
||||
Model access permissions defined in:
|
||||
- **[ir.model.access.csv](../queue_job_batch/security/ir.model.access.csv)**
|
||||
- 3 model access rules
|
||||
|
||||
## Record Rules
|
||||
|
||||
Row-level security rules defined in:
|
||||
|
||||
## Security Groups & Configuration
|
||||
|
||||
Security groups and permissions defined in:
|
||||
- **[security.xml](../queue_job_batch/security/security.xml)**
|
||||
- 2 security groups defined
|
||||
|
||||
```mermaid
|
||||
graph TB
|
||||
subgraph "Security Layers"
|
||||
A[Users] --> B[Groups]
|
||||
B --> C[Access Control Lists]
|
||||
C --> D[Models]
|
||||
B --> E[Record Rules]
|
||||
E --> F[Individual Records]
|
||||
end
|
||||
```
|
||||
|
||||
Security files overview:
|
||||
- **[ir.model.access.csv](../queue_job_batch/security/ir.model.access.csv)**
|
||||
- Model access permissions (CRUD rights)
|
||||
- **[security.xml](../queue_job_batch/security/security.xml)**
|
||||
- Security groups, categories, and XML-based rules
|
||||
|
||||
Notes
|
||||
- Access Control Lists define which groups can access which models
|
||||
- Record Rules provide row-level security (filter records by user/group)
|
||||
- Security groups organize users and define permission sets
|
||||
- All security is enforced at the ORM level by Odoo
|
||||
|
|
@ -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_batch/doc/USAGE.md
Normal file
7
odoo-bringout-oca-queue-queue_job_batch/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_batch
|
||||
```
|
||||
3
odoo-bringout-oca-queue-queue_job_batch/doc/WIZARDS.md
Normal file
3
odoo-bringout-oca-queue-queue_job_batch/doc/WIZARDS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
42
odoo-bringout-oca-queue-queue_job_batch/pyproject.toml
Normal file
42
odoo-bringout-oca-queue-queue_job_batch/pyproject.toml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-queue-queue_job_batch"
|
||||
version = "16.0.0"
|
||||
description = "Job Queue Batch - Odoo addon"
|
||||
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_batch"]
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = [
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
|
|
@ -0,0 +1,131 @@
|
|||
===============
|
||||
Job Queue Batch
|
||||
===============
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:7eceb569ec18547f2b64717734aecc66c0db338d51e13d6f1324785c6c2f8407
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |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/16.0/queue_job_batch
|
||||
:alt: OCA/queue
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-queue_job_batch
|
||||
: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=16.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This addon adds an a grouper for queue jobs.
|
||||
|
||||
It allows to show your jobs in a batched form in order to know better the
|
||||
results.
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from odoo import models, fields, api
|
||||
from odoo.addons.queue_job.job import job
|
||||
|
||||
class MyModel(models.Model):
|
||||
_name = 'my.model'
|
||||
|
||||
@api.multi
|
||||
@job
|
||||
def my_method(self, a, k=None):
|
||||
_logger.info('executed with a: %s and k: %s', a, k)
|
||||
|
||||
|
||||
class MyOtherModel(models.Model):
|
||||
_name = 'my.other.model'
|
||||
|
||||
@api.multi
|
||||
def button_do_stuff(self):
|
||||
batch = self.env['queue.job.batch'].get_new_batch('Group')
|
||||
for i in range(1, 100):
|
||||
self.env['my.model'].with_context(
|
||||
job_batch=batch
|
||||
).with_delay().my_method('a', k=i)
|
||||
batch.enqueue()
|
||||
|
||||
|
||||
In the snippet of code above, when we call ``button_do_stuff``, 100 jobs
|
||||
capturing the method and arguments will be postponed. It will be executed as
|
||||
soon as the Jobrunner has a free bucket, which can be instantaneous if no other
|
||||
job is running.
|
||||
|
||||
Once all the jobs have finished, the grouper will be marked as finished.
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
You can manage your batch jobs from the Systray. A new button will be shown
|
||||
with your currently executing job batches and the recently finished job groups.
|
||||
|
||||
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 to smash it by providing a detailed and welcomed
|
||||
`feedback <https://github.com/OCA/queue/issues/new?body=module:%20queue_job_batch%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Authors
|
||||
~~~~~~~
|
||||
|
||||
* Creu Blanca
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* Enric Tobella <etobella@creublanca.es>
|
||||
* `Trobz <https://trobz.com>`_:
|
||||
* Hoang Diep <hoang@trobz.com>
|
||||
* `ForgeFlow <https://forgeflow.com>`_:
|
||||
* Lois Rilo <lois.rilo@forgeflow.com>
|
||||
* Jasmin Solanki <jasmin.solanki@forgeflow.com>
|
||||
|
||||
Other credits
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
The migration of this module from 12.0 to 14.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 <https://github.com/OCA/queue/tree/16.0/queue_job_batch>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
|
@ -0,0 +1 @@
|
|||
from . import models
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright 2019 Creu Blanca
|
||||
# Copyright 2023 ForgeFlow S.L. (http://www.forgeflow.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
||||
|
||||
{
|
||||
"name": "Job Queue Batch",
|
||||
"version": "16.0.1.0.1",
|
||||
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/queue",
|
||||
"license": "AGPL-3",
|
||||
"category": "Generic Modules",
|
||||
"depends": [
|
||||
"queue_job",
|
||||
],
|
||||
"data": [
|
||||
# data
|
||||
"data/queue_job_channel_data.xml",
|
||||
"data/queue_job_function_data.xml",
|
||||
# security
|
||||
"security/security.xml",
|
||||
"security/ir.model.access.csv",
|
||||
# views
|
||||
"views/queue_job_views.xml",
|
||||
"views/queue_job_batch_views.xml",
|
||||
],
|
||||
"assets": {
|
||||
"web.assets_backend": [
|
||||
"queue_job_batch/static/src/js/*.js",
|
||||
"queue_job_batch/static/src/scss/systray.scss",
|
||||
"queue_job_batch/static/src/xml/*.xml",
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<odoo noupdate="1">
|
||||
<record model="queue.job.channel" id="channel_queue_job_batch">
|
||||
<field name="name">queue.job.batch</field>
|
||||
<field name="parent_id" ref="queue_job.channel_root" />
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<odoo noupdate="1">
|
||||
<record id="job_function_queue_job_check_state" model="queue.job.function">
|
||||
<field name="model_id" ref="queue_job_batch.model_queue_job_batch" />
|
||||
<field name="channel_id" ref="queue_job_batch.channel_queue_job_batch" />
|
||||
<field name="method">check_state</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * queue_job_batch
|
||||
#
|
||||
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_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "Action Needed"
|
||||
msgstr "Potrebna akcija"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_ids
|
||||
msgid "Activities"
|
||||
msgstr "Aktivnosti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Activity Exception Decoration"
|
||||
msgstr "Dekoracija iznimke aktivnosti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid "Activity State"
|
||||
msgstr "Status aktivnosti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Activity Type Icon"
|
||||
msgstr "Ikona tipa aktivnosti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_attachment_count
|
||||
msgid "Attachment Count"
|
||||
msgstr "Broj priloga"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job_batch
|
||||
msgid "Batch of jobs"
|
||||
msgstr "Paket poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__company_id
|
||||
msgid "Company"
|
||||
msgstr "Preduzeće"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__completeness
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_tree
|
||||
msgid "Completeness"
|
||||
msgstr "Dovršeno"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Prikazani naziv"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__draft
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Draft"
|
||||
msgstr "U pripremi"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__enqueued
|
||||
msgid "Enqueued"
|
||||
msgstr "Stavljen u red"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_job_count
|
||||
msgid "Failed Job Count"
|
||||
msgstr "Broj neuspješnih poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_percentage
|
||||
msgid "Failed Percentage"
|
||||
msgstr "Postotak neuspješnih"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__finished
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Finished"
|
||||
msgstr "Završeno"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__finished_job_count
|
||||
msgid "Finished Job Count"
|
||||
msgstr "Broj završenih poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_follower_ids
|
||||
msgid "Followers"
|
||||
msgstr "Pratioci"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_partner_ids
|
||||
msgid "Followers (Partners)"
|
||||
msgstr "Pratioci (Partneri)"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Font awesome icon e.g. fa-tasks"
|
||||
msgstr "Font awesome ikona npr. fa-tasks"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Group By"
|
||||
msgstr "Grupiši po"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__has_message
|
||||
msgid "Has Message"
|
||||
msgstr "Ima poruku"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon"
|
||||
msgstr "Ikona"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon to indicate an exception activity."
|
||||
msgstr "Ikona za prikaz iznimki."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr "Ako je zakačeno, nove poruke će zahtjevati vašu pažnju"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr "Ako je označeno neke poruke mogu imati grešku u dostavi."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__progress
|
||||
msgid "In Progress"
|
||||
msgstr "U Toku"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "In progress"
|
||||
msgstr "U tijeku"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_is_follower
|
||||
msgid "Is Follower"
|
||||
msgstr "Pratilac"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__is_read
|
||||
msgid "Is Read"
|
||||
msgstr "Pročitano"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_ids
|
||||
msgid "Job"
|
||||
msgstr "Zadatak"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Job\n"
|
||||
" Batches"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job__job_batch_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Job Batch"
|
||||
msgstr "Paket poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_count
|
||||
msgid "Job Count"
|
||||
msgstr "Broj poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:res.groups,name:queue_job_batch.group_queue_job_batch_user
|
||||
msgid "Job Queue Batch User"
|
||||
msgstr "Korisnik paketa reda poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_view_your_queue_job_batch
|
||||
#: model:ir.ui.menu,name:queue_job_batch.menu_queue_job_batch
|
||||
#, python-format
|
||||
msgid "Job batches"
|
||||
msgstr "Paketi poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_related
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Jobs"
|
||||
msgstr "Zadaci"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "Zadnje mijenjano"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_main_attachment_id
|
||||
msgid "Main Attachment"
|
||||
msgstr "Glavna zakačka"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "Mark as Read"
|
||||
msgstr "Označi kao pročitano"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "Message Delivery error"
|
||||
msgstr "Greška pri isporuci poruke"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_ids
|
||||
msgid "Messages"
|
||||
msgstr "Poruke"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__my_activity_date_deadline
|
||||
msgid "My Activity Deadline"
|
||||
msgstr "Rok za moju aktivnost"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__name
|
||||
msgid "Name"
|
||||
msgstr "Naziv:"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_date_deadline
|
||||
msgid "Next Activity Deadline"
|
||||
msgstr "Krajnji rok za sljedeću aktivnost"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_summary
|
||||
msgid "Next Activity Summary"
|
||||
msgstr "Pregled sljedeće aktivnosti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_id
|
||||
msgid "Next Activity Type"
|
||||
msgstr "Tip sljedeće aktivnosti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "No jobs to view."
|
||||
msgstr "Nema poslova za prikaz."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of Actions"
|
||||
msgstr "Broj akcija"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of errors"
|
||||
msgstr "Broj grešaka"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of messages requiring action"
|
||||
msgstr "Broj poruka koje zahtijevaju aktivnost"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of messages with delivery error"
|
||||
msgstr "Broj poruka sa greškama pri isporuci"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job
|
||||
msgid "Queue Job"
|
||||
msgstr "Red poslova"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_user_id
|
||||
msgid "Responsible User"
|
||||
msgstr "Odgovorni korisnik"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__state
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "State"
|
||||
msgstr "Status"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid ""
|
||||
"Status based on activities\n"
|
||||
"Overdue: Due date is already passed\n"
|
||||
"Today: Activity date is today\n"
|
||||
"Planned: Future activities."
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Type of the exception activity on record."
|
||||
msgstr "Vrsta aktivnosti iznimke na zapisu."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__user_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "User"
|
||||
msgstr "Korisnik"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "View All"
|
||||
msgstr "Prikaži sve"
|
||||
|
|
@ -0,0 +1,346 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * queue_job_batch
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2023-12-01 19:35+0000\n"
|
||||
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
|
||||
"Language-Team: none\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_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "Action Needed"
|
||||
msgstr "Acción Necesaria"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_ids
|
||||
msgid "Activities"
|
||||
msgstr "Actividades"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Activity Exception Decoration"
|
||||
msgstr "Decoración de Actividad de Excepción"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid "Activity State"
|
||||
msgstr "Estado de la Actividad"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Activity Type Icon"
|
||||
msgstr "Icono Tipo de Actividad"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_attachment_count
|
||||
msgid "Attachment Count"
|
||||
msgstr "Recuento de Archivos Adjuntos"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job_batch
|
||||
msgid "Batch of jobs"
|
||||
msgstr "Lote de trabajos"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__company_id
|
||||
msgid "Company"
|
||||
msgstr "Companía"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__completeness
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_tree
|
||||
msgid "Completeness"
|
||||
msgstr "Integridad"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Mostrar Nombre"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__draft
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Draft"
|
||||
msgstr "Borrador"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__enqueued
|
||||
msgid "Enqueued"
|
||||
msgstr "En Cola"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_job_count
|
||||
msgid "Failed Job Count"
|
||||
msgstr "Recuento de Trabajos Fallidos"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_percentage
|
||||
msgid "Failed Percentage"
|
||||
msgstr "Porcentaje Fallado"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__finished
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__finished_job_count
|
||||
msgid "Finished Job Count"
|
||||
msgstr "Recuento de Trabajos Terminados"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_follower_ids
|
||||
msgid "Followers"
|
||||
msgstr "Seguidores/as"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_partner_ids
|
||||
msgid "Followers (Partners)"
|
||||
msgstr "Seguidores (socios)"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Font awesome icon e.g. fa-tasks"
|
||||
msgstr "Icono de fuente impresionante, por ejemplo fa-tasks"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Group By"
|
||||
msgstr "Grupo por"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__has_message
|
||||
msgid "Has Message"
|
||||
msgstr "Tiene Mensaje"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon"
|
||||
msgstr "Icono"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon to indicate an exception activity."
|
||||
msgstr "Icono para indicar la excepción de la actividad."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr "si está marcada, mensajes nuevos requieren su atención."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr "Si está seleccionado, algunos mensajes tienen un error de entrega."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__progress
|
||||
msgid "In Progress"
|
||||
msgstr "En Progreso"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "In progress"
|
||||
msgstr "En progreso"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_is_follower
|
||||
msgid "Is Follower"
|
||||
msgstr "es Seguidor/a"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__is_read
|
||||
msgid "Is Read"
|
||||
msgstr "Leído"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_ids
|
||||
msgid "Job"
|
||||
msgstr "Trabajo"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Job\n"
|
||||
" Batches"
|
||||
msgstr ""
|
||||
"Trabajo\n"
|
||||
" Lotes"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job__job_batch_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Job Batch"
|
||||
msgstr "Lote de Trabajos"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_count
|
||||
msgid "Job Count"
|
||||
msgstr "Conteo de Trabajos"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:res.groups,name:queue_job_batch.group_queue_job_batch_user
|
||||
msgid "Job Queue Batch User"
|
||||
msgstr "Usuario de la Cola de Trabajos por Lotes"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_view_your_queue_job_batch
|
||||
#: model:ir.ui.menu,name:queue_job_batch.menu_queue_job_batch
|
||||
#, python-format
|
||||
msgid "Job batches"
|
||||
msgstr "Lotes de trabajo"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_related
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Jobs"
|
||||
msgstr "Trabajos"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "Última Modificación el"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_main_attachment_id
|
||||
msgid "Main Attachment"
|
||||
msgstr "Archivo adjunto principal"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "Mark as Read"
|
||||
msgstr "Marcar como Leído"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "Message Delivery error"
|
||||
msgstr "Error en Entrega de Mensaje"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_ids
|
||||
msgid "Messages"
|
||||
msgstr "Mensajes"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__my_activity_date_deadline
|
||||
msgid "My Activity Deadline"
|
||||
msgstr "Mi fecha límite de la actividad"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__name
|
||||
msgid "Name"
|
||||
msgstr "Nombre"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_date_deadline
|
||||
msgid "Next Activity Deadline"
|
||||
msgstr "Fecha limite proxima actividad"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_summary
|
||||
msgid "Next Activity Summary"
|
||||
msgstr "Resumen de próxima actividad"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_id
|
||||
msgid "Next Activity Type"
|
||||
msgstr "Tipo de siguiente actividad"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "No jobs to view."
|
||||
msgstr "Sin trabajos a visualizar."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of Actions"
|
||||
msgstr "Número de Acciones"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of errors"
|
||||
msgstr "Número de errores"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of messages requiring action"
|
||||
msgstr "Número de mensajes que requieren una acción"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of messages with delivery error"
|
||||
msgstr "Número de mensajes con un error de entrega"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job
|
||||
msgid "Queue Job"
|
||||
msgstr "Cola de Trabajo"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_user_id
|
||||
msgid "Responsible User"
|
||||
msgstr "Usuario Responsable"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__state
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "State"
|
||||
msgstr "Estado"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid ""
|
||||
"Status based on activities\n"
|
||||
"Overdue: Due date is already passed\n"
|
||||
"Today: Activity date is today\n"
|
||||
"Planned: Future activities."
|
||||
msgstr ""
|
||||
"Estado basado en actividades\n"
|
||||
"Atrasado: La fecha ya ha pasado\n"
|
||||
"Hoy: La actividad es para hoy\n"
|
||||
"Planeada: Actividades futuras."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Type of the exception activity on record."
|
||||
msgstr "Tipo de actividad excepcional registrada."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__user_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "User"
|
||||
msgstr "Usuario"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "View All"
|
||||
msgstr "Ver todos"
|
||||
|
|
@ -0,0 +1,349 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * queue_job_batch
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2020-11-20 16:54+0000\n"
|
||||
"Last-Translator: Yann Papouin <y.papouin@dec-industrie.com>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 3.10\n"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "Action Needed"
|
||||
msgstr "Action requise"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_ids
|
||||
msgid "Activities"
|
||||
msgstr "Activités"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid "Activity State"
|
||||
msgstr "Statut de l'activité"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_attachment_count
|
||||
msgid "Attachment Count"
|
||||
msgstr "Compteur de pièce jointe"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job_batch
|
||||
msgid "Batch of jobs"
|
||||
msgstr "Lot de travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__company_id
|
||||
msgid "Company"
|
||||
msgstr "Société"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__completeness
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_tree
|
||||
msgid "Completeness"
|
||||
msgstr "Achèvement"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Nom affiché"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
#: selection:queue.job.batch,state:0
|
||||
msgid "Draft"
|
||||
msgstr "Brouillon"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: selection:queue.job.batch,state:0
|
||||
msgid "Enqueued"
|
||||
msgstr "Mis en file d'attente"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_job_count
|
||||
msgid "Failed Job Count"
|
||||
msgstr "Nombre de travaux échoués"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_percentage
|
||||
msgid "Failed Percentage"
|
||||
msgstr "Pourcentage d'échec"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
#: selection:queue.job.batch,state:0
|
||||
msgid "Finished"
|
||||
msgstr "Terminés"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__finished_job_count
|
||||
msgid "Finished Job Count"
|
||||
msgstr "Nombre de travaux terminés"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_follower_ids
|
||||
msgid "Followers"
|
||||
msgstr "Abonnés"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_channel_ids
|
||||
msgid "Followers (Channels)"
|
||||
msgstr "Abonnés (Canaux)"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_partner_ids
|
||||
msgid "Followers (Partners)"
|
||||
msgstr "Abonnés (Partenaires)"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Group By"
|
||||
msgstr "Regrouper par"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_unread
|
||||
msgid "If checked new messages require your attention."
|
||||
msgstr "Si coché, de nouveaux messages requièrent votre attention."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr "Si coché, de nouveaux messages requièrent votre attention."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr "Si coché, des messages n'ont pas pu être livré."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: selection:queue.job.batch,state:0
|
||||
msgid "In Progress"
|
||||
msgstr "En cours"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "In progress"
|
||||
msgstr "En cours"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_is_follower
|
||||
msgid "Is Follower"
|
||||
msgstr "Est abonné"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__is_read
|
||||
msgid "Is Read"
|
||||
msgstr "Est lu"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_ids
|
||||
msgid "Job"
|
||||
msgstr "Poste"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job__job_batch_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Job Batch"
|
||||
msgstr "Lot de travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_tree
|
||||
msgid "Job Batches"
|
||||
msgstr "Lots de travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_count
|
||||
msgid "Job Count"
|
||||
msgstr "Nombre de travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:res.groups,name:queue_job_batch.group_queue_job_batch_user
|
||||
msgid "Job Queue Batch User"
|
||||
msgstr "Utilisateur des lots de file d'attente de travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. openerp-web
|
||||
#: code:addons/queue_job_batch/static/src/xml/systray.xml:7
|
||||
#: code:addons/queue_job_batch/static/src/xml/systray.xml:14
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_view_your_queue_job_batch
|
||||
#: model:ir.ui.menu,name:queue_job_batch.menu_queue_job_batch
|
||||
#, python-format
|
||||
msgid "Job batches"
|
||||
msgstr "Lots de travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_related
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Jobs"
|
||||
msgstr "Travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "Dernière modification le"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_main_attachment_id
|
||||
msgid "Main Attachment"
|
||||
msgstr "Pièce jointe principale"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. openerp-web
|
||||
#: code:addons/queue_job_batch/static/src/xml/systray.xml:53
|
||||
#, python-format
|
||||
msgid "Mark as Read"
|
||||
msgstr "Marquer comme lu"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "Message Delivery error"
|
||||
msgstr "Erreur lors de livraison du message"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_ids
|
||||
msgid "Messages"
|
||||
msgstr "Messages"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__name
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_date_deadline
|
||||
msgid "Next Activity Deadline"
|
||||
msgstr "Échéance de la prochaine activité"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_summary
|
||||
msgid "Next Activity Summary"
|
||||
msgstr "Résumé de la prochaine activité"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_id
|
||||
msgid "Next Activity Type"
|
||||
msgstr "Type de la prochaine activité"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. openerp-web
|
||||
#: code:addons/queue_job_batch/static/src/xml/systray.xml:26
|
||||
#, python-format
|
||||
msgid "No jobs to view."
|
||||
msgstr "Aucun travail à voir."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of Actions"
|
||||
msgstr "Nombre d'activités"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of error"
|
||||
msgstr "Nombre d'erreurs"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of messages which requires an action"
|
||||
msgstr "Nombre de messages qui nécessitent une action"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of messages with delivery error"
|
||||
msgstr "Nombre de messages avec erreur de livraison"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_unread_counter
|
||||
msgid "Number of unread messages"
|
||||
msgstr "Nombre de messages non lus"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: selection:queue.job.batch,activity_state:0
|
||||
msgid "Overdue"
|
||||
msgstr "Dû"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: selection:queue.job.batch,activity_state:0
|
||||
msgid "Planned"
|
||||
msgstr "Planifié"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job
|
||||
msgid "Queue Job"
|
||||
msgstr "File d'attente des travaux"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_user_id
|
||||
msgid "Responsible User"
|
||||
msgstr "Responsable"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__state
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "State"
|
||||
msgstr "État"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid "Status based on activities\n"
|
||||
"Overdue: Due date is already passed\n"
|
||||
"Today: Activity date is today\n"
|
||||
"Planned: Future activities."
|
||||
msgstr ""
|
||||
"Statut basé sur les activités\n"
|
||||
"En retard : La date d'échéance est déjà dépassée\n"
|
||||
"Aujourd'hui : L'activité est planifiée pour aujourd'hui\n"
|
||||
"Planifiées : activités futures."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: selection:queue.job.batch,activity_state:0
|
||||
msgid "Today"
|
||||
msgstr "Aujourd'hui"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_unread
|
||||
msgid "Unread Messages"
|
||||
msgstr "Messages non lus"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_unread_counter
|
||||
msgid "Unread Messages Counter"
|
||||
msgstr "Compteur de messages non-lus"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__user_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "User"
|
||||
msgstr "Utilisateur"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. openerp-web
|
||||
#: code:addons/queue_job_batch/static/src/xml/systray.xml:16
|
||||
#, python-format
|
||||
msgid "View All"
|
||||
msgstr "Voir tout"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__website_message_ids
|
||||
msgid "Website Messages"
|
||||
msgstr "Messages du sites web"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__website_message_ids
|
||||
msgid "Website communication history"
|
||||
msgstr "Historique de la communication du site web"
|
||||
|
|
@ -0,0 +1,346 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * queue_job_batch
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2024-01-11 13:35+0000\n"
|
||||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
||||
"Language-Team: none\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_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "Action Needed"
|
||||
msgstr "Azione richiesta"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_ids
|
||||
msgid "Activities"
|
||||
msgstr "Attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Activity Exception Decoration"
|
||||
msgstr "Decorazione eccezione attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid "Activity State"
|
||||
msgstr "Stato attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Activity Type Icon"
|
||||
msgstr "Icona tipo attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_attachment_count
|
||||
msgid "Attachment Count"
|
||||
msgstr "Conteggio allegati"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job_batch
|
||||
msgid "Batch of jobs"
|
||||
msgstr "Gruppo di lavori"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__company_id
|
||||
msgid "Company"
|
||||
msgstr "Azienda"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__completeness
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_tree
|
||||
msgid "Completeness"
|
||||
msgstr "Completezza"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Nome visualizzato"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__draft
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Draft"
|
||||
msgstr "Bozza"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__enqueued
|
||||
msgid "Enqueued"
|
||||
msgstr "In coda"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_job_count
|
||||
msgid "Failed Job Count"
|
||||
msgstr "Conteggio lavori falliti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_percentage
|
||||
msgid "Failed Percentage"
|
||||
msgstr "Percentuale falliti"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__finished
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Finished"
|
||||
msgstr "Completato"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__finished_job_count
|
||||
msgid "Finished Job Count"
|
||||
msgstr "Conteggio lavori completati"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_follower_ids
|
||||
msgid "Followers"
|
||||
msgstr "Seguito da"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_partner_ids
|
||||
msgid "Followers (Partners)"
|
||||
msgstr "Seguito da (partner)"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Font awesome icon e.g. fa-tasks"
|
||||
msgstr "Icona Font Awesome es. fa-tasks"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Group By"
|
||||
msgstr "Raggruppa per"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__has_message
|
||||
msgid "Has Message"
|
||||
msgstr "Ha un messaggio"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon"
|
||||
msgstr "Icona"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon to indicate an exception activity."
|
||||
msgstr "Icona per indicare un'attività eccezione."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr "Se selezionata, nuovi messaggi richiedono attenzione."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr "Se selezionata, alcuni messaggi hanno un errore di consegna."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__progress
|
||||
msgid "In Progress"
|
||||
msgstr "In corso"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "In progress"
|
||||
msgstr "In corso"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_is_follower
|
||||
msgid "Is Follower"
|
||||
msgstr "Segue"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__is_read
|
||||
msgid "Is Read"
|
||||
msgstr "È letto"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_ids
|
||||
msgid "Job"
|
||||
msgstr "Lavoro"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Job\n"
|
||||
" Batches"
|
||||
msgstr ""
|
||||
"Gruppi\n"
|
||||
" lavoro"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job__job_batch_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Job Batch"
|
||||
msgstr "Gruppo lavoro"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_count
|
||||
msgid "Job Count"
|
||||
msgstr "Conteggio lavori"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:res.groups,name:queue_job_batch.group_queue_job_batch_user
|
||||
msgid "Job Queue Batch User"
|
||||
msgstr "Utente gruppo lavoro coda lavoro"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_view_your_queue_job_batch
|
||||
#: model:ir.ui.menu,name:queue_job_batch.menu_queue_job_batch
|
||||
#, python-format
|
||||
msgid "Job batches"
|
||||
msgstr "Gruppi lavoro"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_related
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Jobs"
|
||||
msgstr "Lavori"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "Ultima modifica il"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_main_attachment_id
|
||||
msgid "Main Attachment"
|
||||
msgstr "Allegato principale"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "Mark as Read"
|
||||
msgstr "Segna come letto"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "Message Delivery error"
|
||||
msgstr "Errore di consegna messaggio"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_ids
|
||||
msgid "Messages"
|
||||
msgstr "Messaggi"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__my_activity_date_deadline
|
||||
msgid "My Activity Deadline"
|
||||
msgstr "Scadenza mia attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__name
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_date_deadline
|
||||
msgid "Next Activity Deadline"
|
||||
msgstr "Scadenza prossima attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_summary
|
||||
msgid "Next Activity Summary"
|
||||
msgstr "Riepilogo prossima attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_id
|
||||
msgid "Next Activity Type"
|
||||
msgstr "Tipo prossima attività"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "No jobs to view."
|
||||
msgstr "Nssun lavoro da visualizzare."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of Actions"
|
||||
msgstr "Numero di azioni"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of errors"
|
||||
msgstr "Numero di errori"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of messages requiring action"
|
||||
msgstr "Numero di messaggi che richiedono un'azione"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of messages with delivery error"
|
||||
msgstr "Numero di messaggi con errore di consegna"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job
|
||||
msgid "Queue Job"
|
||||
msgstr "Lavoro in coda"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_user_id
|
||||
msgid "Responsible User"
|
||||
msgstr "Utente responsabile"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__state
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "State"
|
||||
msgstr "Stato"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid ""
|
||||
"Status based on activities\n"
|
||||
"Overdue: Due date is already passed\n"
|
||||
"Today: Activity date is today\n"
|
||||
"Planned: Future activities."
|
||||
msgstr ""
|
||||
"Stato in base alle attività\n"
|
||||
"Scaduto: la data richiesta è trascorsa\n"
|
||||
"Oggi: la data attività è oggi\n"
|
||||
"Pianificato: attività future."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Type of the exception activity on record."
|
||||
msgstr "Tipo di attività eccezione sul record."
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__user_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "User"
|
||||
msgstr "Utente"
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "View All"
|
||||
msgstr "Visualizza tutto"
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * queue_job_batch
|
||||
#
|
||||
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_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "Action Needed"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_ids
|
||||
msgid "Activities"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Activity Exception Decoration"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid "Activity State"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Activity Type Icon"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_attachment_count
|
||||
msgid "Attachment Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job_batch
|
||||
msgid "Batch of jobs"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__company_id
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__completeness
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_tree
|
||||
msgid "Completeness"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__draft
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__enqueued
|
||||
msgid "Enqueued"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_job_count
|
||||
msgid "Failed Job Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__failed_percentage
|
||||
msgid "Failed Percentage"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__finished
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Finished"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__finished_job_count
|
||||
msgid "Finished Job Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_follower_ids
|
||||
msgid "Followers"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_partner_ids
|
||||
msgid "Followers (Partners)"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_type_icon
|
||||
msgid "Font awesome icon e.g. fa-tasks"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "Group By"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__has_message
|
||||
msgid "Has Message"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_icon
|
||||
msgid "Icon to indicate an exception activity."
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields.selection,name:queue_job_batch.selection__queue_job_batch__state__progress
|
||||
msgid "In Progress"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "In progress"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_is_follower
|
||||
msgid "Is Follower"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__is_read
|
||||
msgid "Is Read"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_ids
|
||||
msgid "Job"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Job\n"
|
||||
" Batches"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job__job_batch_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Job Batch"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__job_count
|
||||
msgid "Job Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:res.groups,name:queue_job_batch.group_queue_job_batch_user
|
||||
msgid "Job Queue Batch User"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_view_your_queue_job_batch
|
||||
#: model:ir.ui.menu,name:queue_job_batch.menu_queue_job_batch
|
||||
#, python-format
|
||||
msgid "Job batches"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.actions.act_window,name:queue_job_batch.action_queue_job_related
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_form
|
||||
msgid "Jobs"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_main_attachment_id
|
||||
msgid "Main Attachment"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "Mark as Read"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error
|
||||
msgid "Message Delivery error"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_ids
|
||||
msgid "Messages"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__my_activity_date_deadline
|
||||
msgid "My Activity Deadline"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__name
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_date_deadline
|
||||
msgid "Next Activity Deadline"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_summary
|
||||
msgid "Next Activity Summary"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_type_id
|
||||
msgid "Next Activity Type"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "No jobs to view."
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of Actions"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of errors"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_needaction_counter
|
||||
msgid "Number of messages requiring action"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__message_has_error_counter
|
||||
msgid "Number of messages with delivery error"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model,name:queue_job_batch.model_queue_job
|
||||
msgid "Queue Job"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__activity_user_id
|
||||
msgid "Responsible User"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__state
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_state
|
||||
msgid ""
|
||||
"Status based on activities\n"
|
||||
"Overdue: Due date is already passed\n"
|
||||
"Today: Activity date is today\n"
|
||||
"Planned: Future activities."
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,help:queue_job_batch.field_queue_job_batch__activity_exception_decoration
|
||||
msgid "Type of the exception activity on record."
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#: model:ir.model.fields,field_description:queue_job_batch.field_queue_job_batch__user_id
|
||||
#: model_terms:ir.ui.view,arch_db:queue_job_batch.view_queue_job_batch_search
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
#. module: queue_job_batch
|
||||
#. odoo-javascript
|
||||
#: code:addons/queue_job_batch/static/src/xml/queue_job_batch_menu.xml:0
|
||||
#, python-format
|
||||
msgid "View All"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1 @@
|
|||
from . import queue_job, queue_job_batch
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 2019 Creu Blanca
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class QueueJob(models.Model):
|
||||
_inherit = "queue.job"
|
||||
|
||||
job_batch_id = fields.Many2one("queue.job.batch")
|
||||
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
batch = self.env.context.get("job_batch")
|
||||
if batch and isinstance(batch, models.Model) and batch.state == "draft":
|
||||
vals.update({"job_batch_id": batch.id})
|
||||
return super().create(vals)
|
||||
|
||||
def write(self, vals):
|
||||
batches = self.env["queue.job.batch"]
|
||||
for record in self:
|
||||
if (
|
||||
record.job_batch_id
|
||||
and record.state != "done"
|
||||
and vals.get("state", "") == "done"
|
||||
):
|
||||
batches |= record.job_batch_id
|
||||
for batch in batches:
|
||||
# We need to make it with delay in order to prevent two jobs
|
||||
# to work with the same batch
|
||||
batch.with_delay().check_state()
|
||||
return super().write(vals)
|
||||
|
|
@ -0,0 +1,123 @@
|
|||
# Copyright 2019 Creu Blanca
|
||||
# Copyright 2023 ForgeFlow S.L. (http://www.forgeflow.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class QueueJobBatch(models.Model):
|
||||
_name = "queue.job.batch"
|
||||
_inherit = ["mail.thread", "mail.activity.mixin"]
|
||||
_description = "Batch of jobs"
|
||||
_log_access = False
|
||||
|
||||
name = fields.Char(
|
||||
required=True,
|
||||
readonly=True,
|
||||
tracking=True,
|
||||
)
|
||||
job_ids = fields.One2many(
|
||||
"queue.job",
|
||||
inverse_name="job_batch_id",
|
||||
readonly=True,
|
||||
)
|
||||
job_count = fields.Integer(
|
||||
compute="_compute_job_count",
|
||||
)
|
||||
user_id = fields.Many2one(
|
||||
"res.users",
|
||||
required=True,
|
||||
readonly=True,
|
||||
tracking=True,
|
||||
)
|
||||
state = fields.Selection(
|
||||
[
|
||||
("draft", "Draft"),
|
||||
("enqueued", "Enqueued"),
|
||||
("progress", "In Progress"),
|
||||
("finished", "Finished"),
|
||||
],
|
||||
default="draft",
|
||||
required=True,
|
||||
readonly=True,
|
||||
tracking=True,
|
||||
)
|
||||
finished_job_count = fields.Float(
|
||||
compute="_compute_job_count",
|
||||
)
|
||||
failed_job_count = fields.Float(
|
||||
compute="_compute_job_count",
|
||||
)
|
||||
company_id = fields.Many2one(
|
||||
"res.company",
|
||||
readonly=True,
|
||||
)
|
||||
is_read = fields.Boolean(default=True)
|
||||
completeness = fields.Float(
|
||||
compute="_compute_job_count",
|
||||
)
|
||||
failed_percentage = fields.Float(
|
||||
compute="_compute_job_count",
|
||||
)
|
||||
|
||||
def enqueue(self):
|
||||
self.filtered(lambda r: r.state == "draft").write({"state": "enqueued"})
|
||||
for record in self:
|
||||
record.check_state()
|
||||
|
||||
def check_state(self):
|
||||
self.ensure_one()
|
||||
if self.state == "enqueued" and any(
|
||||
job.state not in ["pending", "enqueued"] for job in self.job_ids
|
||||
):
|
||||
self.write({"state": "progress"})
|
||||
if self.state != "progress":
|
||||
return True
|
||||
if all(job.state == "done" for job in self.job_ids):
|
||||
self.write(
|
||||
{
|
||||
"state": "finished",
|
||||
"is_read": False,
|
||||
}
|
||||
)
|
||||
return True
|
||||
|
||||
def set_read(self):
|
||||
res = self.write({"is_read": True})
|
||||
notifications = []
|
||||
channel = "queue.job.batch/updated"
|
||||
notifications.append([self.env.user.partner_id, channel, {}])
|
||||
self.env["bus.bus"]._sendmany(notifications)
|
||||
return res
|
||||
|
||||
@api.model
|
||||
def get_new_batch(self, name, **kwargs):
|
||||
vals = kwargs.copy()
|
||||
company_id = self.env.user.company_id.id
|
||||
|
||||
if "company_id" in self.env.context:
|
||||
company_id = self.env.context["company_id"]
|
||||
|
||||
vals.update(
|
||||
{
|
||||
"user_id": self.env.uid,
|
||||
"name": name,
|
||||
"state": "draft",
|
||||
"company_id": company_id,
|
||||
}
|
||||
)
|
||||
return self.sudo().create(vals).with_user(self.env.uid)
|
||||
|
||||
@api.depends("job_ids")
|
||||
def _compute_job_count(self):
|
||||
for record in self:
|
||||
job_count = len(record.job_ids)
|
||||
failed_job_count = len(
|
||||
record.job_ids.filtered(lambda r: r.state == "failed")
|
||||
)
|
||||
done_job_count = len(record.job_ids.filtered(lambda r: r.state == "done"))
|
||||
record.job_count = job_count
|
||||
record.finished_job_count = done_job_count
|
||||
record.failed_job_count = failed_job_count
|
||||
record.completeness = done_job_count / max(1, job_count)
|
||||
record.failed_percentage = failed_job_count / max(1, job_count)
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
* Enric Tobella <etobella@creublanca.es>
|
||||
* `Trobz <https://trobz.com>`_:
|
||||
* Hoang Diep <hoang@trobz.com>
|
||||
* `ForgeFlow <https://forgeflow.com>`_:
|
||||
* Lois Rilo <lois.rilo@forgeflow.com>
|
||||
* Jasmin Solanki <jasmin.solanki@forgeflow.com>
|
||||
|
|
@ -0,0 +1 @@
|
|||
The migration of this module from 12.0 to 14.0 was financially supported by Camptocamp
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
This addon adds an a grouper for queue jobs.
|
||||
|
||||
It allows to show your jobs in a batched form in order to know better the
|
||||
results.
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from odoo import models, fields, api
|
||||
from odoo.addons.queue_job.job import job
|
||||
|
||||
class MyModel(models.Model):
|
||||
_name = 'my.model'
|
||||
|
||||
@api.multi
|
||||
@job
|
||||
def my_method(self, a, k=None):
|
||||
_logger.info('executed with a: %s and k: %s', a, k)
|
||||
|
||||
|
||||
class MyOtherModel(models.Model):
|
||||
_name = 'my.other.model'
|
||||
|
||||
@api.multi
|
||||
def button_do_stuff(self):
|
||||
batch = self.env['queue.job.batch'].get_new_batch('Group')
|
||||
for i in range(1, 100):
|
||||
self.env['my.model'].with_context(
|
||||
job_batch=batch
|
||||
).with_delay().my_method('a', k=i)
|
||||
batch.enqueue()
|
||||
|
||||
|
||||
In the snippet of code above, when we call ``button_do_stuff``, 100 jobs
|
||||
capturing the method and arguments will be postponed. It will be executed as
|
||||
soon as the Jobrunner has a free bucket, which can be instantaneous if no other
|
||||
job is running.
|
||||
|
||||
Once all the jobs have finished, the grouper will be marked as finished.
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
You can manage your batch jobs from the Systray. A new button will be shown
|
||||
with your currently executing job batches and the recently finished job groups.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_queue_job_batch_user,queue job manager,model_queue_job_batch,group_queue_job_batch_user,1,1,0,0
|
||||
access_queue_job_batch_manager,queue job manager,model_queue_job_batch,queue_job.group_queue_job_manager,1,1,1,1
|
||||
access_queue_job_queue_job_batch_user,queue job manager,queue_job.model_queue_job,group_queue_job_batch_user,1,0,0,0
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<record id="group_queue_job_batch_user" model="res.groups">
|
||||
<field name="name">Job Queue Batch User</field>
|
||||
<field name="category_id" ref="queue_job.module_category_queue_job" />
|
||||
</record>
|
||||
<record id="queue_job.group_queue_job_manager" model="res.groups">
|
||||
<field
|
||||
name="implied_ids"
|
||||
eval="[(4, ref('queue_job_batch.group_queue_job_batch_user'))]"
|
||||
/>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
<data noupdate="1">
|
||||
|
||||
<record id="queue_job_batch_comp_rule" model="ir.rule">
|
||||
<field name="name">Job Queue batch multi-company</field>
|
||||
<field name="model_id" ref="model_queue_job_batch" />
|
||||
<field name="global" eval="True" />
|
||||
<field
|
||||
name="domain_force"
|
||||
>['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
||||
</record>
|
||||
|
||||
<record id="queue_job_batch_user_rule" model="ir.rule">
|
||||
<field name="name">Job Queue batch user filter</field>
|
||||
<field name="model_id" ref="model_queue_job_batch" />
|
||||
<field
|
||||
name="groups"
|
||||
eval="[(4, ref('queue_job_batch.group_queue_job_batch_user'))]"
|
||||
/>
|
||||
<field name="domain_force">[('user_id', '=', user.id)]</field>
|
||||
</record>
|
||||
|
||||
<record id="queue_job_batch_manager_rule" model="ir.rule">
|
||||
<field name="name">Job Queue batch manager</field>
|
||||
<field name="model_id" ref="model_queue_job_batch" />
|
||||
<field
|
||||
name="groups"
|
||||
eval="[(4, ref('queue_job.group_queue_job_manager'))]"
|
||||
/>
|
||||
<field name="domain_force">[(1, '=', 1)]</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
|
|
@ -0,0 +1,127 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
width="60"
|
||||
height="60"
|
||||
viewBox="0 0 60 60"
|
||||
sodipodi:docname="icon.svg"
|
||||
inkscape:export-filename="icon.png"
|
||||
inkscape:export-xdpi="192"
|
||||
inkscape:export-ydpi="192">
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1855"
|
||||
inkscape:window-height="1176"
|
||||
id="namedview4"
|
||||
showgrid="false"
|
||||
inkscape:zoom="8"
|
||||
inkscape:cx="50.171984"
|
||||
inkscape:cy="32.60344"
|
||||
inkscape:window-x="65"
|
||||
inkscape:window-y="24"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true">
|
||||
<sodipodi:guide
|
||||
position="4.140625,50.300781"
|
||||
orientation="-0.70710678,0.70710678"
|
||||
id="guide3348" />
|
||||
<sodipodi:guide
|
||||
position="56.476562,43.945312"
|
||||
orientation="-0.70710678,0.70710678"
|
||||
id="guide3350" />
|
||||
<sodipodi:guide
|
||||
position="0,41.75"
|
||||
orientation="1,0"
|
||||
id="guide3360" />
|
||||
<sodipodi:guide
|
||||
position="60,60.074219"
|
||||
orientation="1,0"
|
||||
id="guide3362" />
|
||||
<sodipodi:guide
|
||||
position="0.17578125,60"
|
||||
orientation="0,1"
|
||||
id="guide3364" />
|
||||
<sodipodi:guide
|
||||
position="58.71196,-0.0055242717"
|
||||
orientation="0,1"
|
||||
id="guide3366" />
|
||||
<sodipodi:guide
|
||||
position="15.558594,50.5"
|
||||
orientation="-0.70710678,0.70710678"
|
||||
id="guide3345" />
|
||||
<sodipodi:guide
|
||||
position="56.101563,32.363281"
|
||||
orientation="-0.70710678,0.70710678"
|
||||
id="guide3347" />
|
||||
<sodipodi:guide
|
||||
position="55.972656,21.027344"
|
||||
orientation="-0.70710678,0.70710678"
|
||||
id="guide3349" />
|
||||
<sodipodi:guide
|
||||
position="55.863281,9.6914063"
|
||||
orientation="-0.70710678,0.70710678"
|
||||
id="guide3351" />
|
||||
</sodipodi:namedview>
|
||||
<rect
|
||||
style="opacity:1;fill:#e74c3c;fill-opacity:1"
|
||||
id="rect4147"
|
||||
width="60"
|
||||
height="60"
|
||||
x="0"
|
||||
y="0" />
|
||||
<path
|
||||
style="opacity:1;fill:#000000;fill-opacity:0.39215686"
|
||||
d="M 4.1318557,9.7144566 0.0078125,13.824141 0,60 l 46.171301,0.0088 9.791208,-9.800508 -4.088791,-7.131947 4.086426,-4.114418 -4.058547,-7.106958 4.016339,-4.017997 -4.036551,-7.171615 4.058726,-4.069362 -40.612885,-6.8632798 -4.011838,4.0145788 z"
|
||||
id="rect4171"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccccccccc" />
|
||||
<g
|
||||
id="g4169"
|
||||
transform="matrix(0.3061173,0,0,0.3061173,-1.0360053,-1.0457906)"
|
||||
style="fill:#ffffff;stroke:none" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:52.32963562px;line-height:125%;font-family:FontAwesome;-inkscape-font-specification:FontAwesome;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
x="3.8388314"
|
||||
y="50.558071"
|
||||
id="text3352"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3354"
|
||||
x="3.8388314"
|
||||
y="50.558071"></tspan></text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4 KiB |
|
|
@ -0,0 +1,481 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||
<title>Job Queue Batch</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
/* used to remove borders from tables and images */
|
||||
.borderless, table.borderless td, table.borderless th {
|
||||
border: 0 }
|
||||
|
||||
table.borderless td, table.borderless th {
|
||||
/* Override padding for "table.docutils td" with "! important".
|
||||
The right padding separates the table cells. */
|
||||
padding: 0 0.5em 0 0 ! important }
|
||||
|
||||
.first {
|
||||
/* Override more specific margin styles with "! important". */
|
||||
margin-top: 0 ! important }
|
||||
|
||||
.last, .with-subtitle {
|
||||
margin-bottom: 0 ! important }
|
||||
|
||||
.hidden {
|
||||
display: none }
|
||||
|
||||
.subscript {
|
||||
vertical-align: sub;
|
||||
font-size: smaller }
|
||||
|
||||
.superscript {
|
||||
vertical-align: super;
|
||||
font-size: smaller }
|
||||
|
||||
a.toc-backref {
|
||||
text-decoration: none ;
|
||||
color: black }
|
||||
|
||||
blockquote.epigraph {
|
||||
margin: 2em 5em ; }
|
||||
|
||||
dl.docutils dd {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||
dl.docutils dt {
|
||||
font-weight: bold }
|
||||
*/
|
||||
|
||||
div.abstract {
|
||||
margin: 2em 5em }
|
||||
|
||||
div.abstract p.topic-title {
|
||||
font-weight: bold ;
|
||||
text-align: center }
|
||||
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||
div.hint, div.important, div.note, div.tip, div.warning {
|
||||
margin: 2em ;
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||
div.important p.admonition-title, div.note p.admonition-title,
|
||||
div.tip p.admonition-title {
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||
div.danger p.admonition-title, div.error p.admonition-title,
|
||||
div.warning p.admonition-title, .code .error {
|
||||
color: red ;
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||
compound paragraphs.
|
||||
div.compound .compound-first, div.compound .compound-middle {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
div.compound .compound-last, div.compound .compound-middle {
|
||||
margin-top: 0.5em }
|
||||
*/
|
||||
|
||||
div.dedication {
|
||||
margin: 2em 5em ;
|
||||
text-align: center ;
|
||||
font-style: italic }
|
||||
|
||||
div.dedication p.topic-title {
|
||||
font-weight: bold ;
|
||||
font-style: normal }
|
||||
|
||||
div.figure {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
div.footer, div.header {
|
||||
clear: both;
|
||||
font-size: smaller }
|
||||
|
||||
div.line-block {
|
||||
display: block ;
|
||||
margin-top: 1em ;
|
||||
margin-bottom: 1em }
|
||||
|
||||
div.line-block div.line-block {
|
||||
margin-top: 0 ;
|
||||
margin-bottom: 0 ;
|
||||
margin-left: 1.5em }
|
||||
|
||||
div.sidebar {
|
||||
margin: 0 0 0.5em 1em ;
|
||||
border: medium outset ;
|
||||
padding: 1em ;
|
||||
background-color: #ffffee ;
|
||||
width: 40% ;
|
||||
float: right ;
|
||||
clear: right }
|
||||
|
||||
div.sidebar p.rubric {
|
||||
font-family: sans-serif ;
|
||||
font-size: medium }
|
||||
|
||||
div.system-messages {
|
||||
margin: 5em }
|
||||
|
||||
div.system-messages h1 {
|
||||
color: red }
|
||||
|
||||
div.system-message {
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.system-message p.system-message-title {
|
||||
color: red ;
|
||||
font-weight: bold }
|
||||
|
||||
div.topic {
|
||||
margin: 2em }
|
||||
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||
margin-top: 0.4em }
|
||||
|
||||
h1.title {
|
||||
text-align: center }
|
||||
|
||||
h2.subtitle {
|
||||
text-align: center }
|
||||
|
||||
hr.docutils {
|
||||
width: 75% }
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||
clear: left ;
|
||||
float: left ;
|
||||
margin-right: 1em }
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||
clear: right ;
|
||||
float: right ;
|
||||
margin-left: 1em }
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.align-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left }
|
||||
|
||||
.align-center {
|
||||
clear: both ;
|
||||
text-align: center }
|
||||
|
||||
.align-right {
|
||||
text-align: right }
|
||||
|
||||
/* reset inner alignment in figures */
|
||||
div.align-right {
|
||||
text-align: inherit }
|
||||
|
||||
/* div.align-center * { */
|
||||
/* text-align: left } */
|
||||
|
||||
.align-top {
|
||||
vertical-align: top }
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle }
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom }
|
||||
|
||||
ol.simple, ul.simple {
|
||||
margin-bottom: 1em }
|
||||
|
||||
ol.arabic {
|
||||
list-style: decimal }
|
||||
|
||||
ol.loweralpha {
|
||||
list-style: lower-alpha }
|
||||
|
||||
ol.upperalpha {
|
||||
list-style: upper-alpha }
|
||||
|
||||
ol.lowerroman {
|
||||
list-style: lower-roman }
|
||||
|
||||
ol.upperroman {
|
||||
list-style: upper-roman }
|
||||
|
||||
p.attribution {
|
||||
text-align: right ;
|
||||
margin-left: 50% }
|
||||
|
||||
p.caption {
|
||||
font-style: italic }
|
||||
|
||||
p.credits {
|
||||
font-style: italic ;
|
||||
font-size: smaller }
|
||||
|
||||
p.label {
|
||||
white-space: nowrap }
|
||||
|
||||
p.rubric {
|
||||
font-weight: bold ;
|
||||
font-size: larger ;
|
||||
color: maroon ;
|
||||
text-align: center }
|
||||
|
||||
p.sidebar-title {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold ;
|
||||
font-size: larger }
|
||||
|
||||
p.sidebar-subtitle {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
p.topic-title {
|
||||
font-weight: bold }
|
||||
|
||||
pre.address {
|
||||
margin-bottom: 0 ;
|
||||
margin-top: 0 ;
|
||||
font: inherit }
|
||||
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: grey; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||
|
||||
span.classifier {
|
||||
font-family: sans-serif ;
|
||||
font-style: oblique }
|
||||
|
||||
span.classifier-delimiter {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
span.interpreted {
|
||||
font-family: sans-serif }
|
||||
|
||||
span.option {
|
||||
white-space: nowrap }
|
||||
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
/* font-size relative to parent (h1..h6 element) */
|
||||
font-size: 80% }
|
||||
|
||||
table.citation {
|
||||
border-left: solid 1px gray;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docinfo {
|
||||
margin: 2em 4em }
|
||||
|
||||
table.docutils {
|
||||
margin-top: 0.5em ;
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
table.footnote {
|
||||
border-left: solid 1px black;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docutils td, table.docutils th,
|
||||
table.docinfo td, table.docinfo th {
|
||||
padding-left: 0.5em ;
|
||||
padding-right: 0.5em ;
|
||||
vertical-align: top }
|
||||
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||
font-weight: bold ;
|
||||
text-align: left ;
|
||||
white-space: nowrap ;
|
||||
padding-left: 0 }
|
||||
|
||||
/* "booktabs" style (no vertical lines) */
|
||||
table.docutils.booktabs {
|
||||
border: 0px;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.docutils.booktabs * {
|
||||
border: 0px;
|
||||
}
|
||||
table.docutils.booktabs th {
|
||||
border-bottom: thin solid;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||
font-size: 100% }
|
||||
|
||||
ul.auto-toc {
|
||||
list-style-type: none }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="job-queue-batch">
|
||||
<h1 class="title">Job Queue Batch</h1>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:7eceb569ec18547f2b64717734aecc66c0db338d51e13d6f1324785c6c2f8407
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/queue/tree/16.0/queue_job_batch"><img alt="OCA/queue" src="https://img.shields.io/badge/github-OCA%2Fqueue-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-queue_job_batch"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/queue&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This addon adds an a grouper for queue jobs.</p>
|
||||
<p>It allows to show your jobs in a batched form in order to know better the
|
||||
results.</p>
|
||||
<p>Example:</p>
|
||||
<pre class="code python literal-block">
|
||||
<span class="kn">from</span> <span class="nn">odoo</span> <span class="kn">import</span> <span class="n">models</span><span class="p">,</span> <span class="n">fields</span><span class="p">,</span> <span class="n">api</span><span class="w">
|
||||
</span><span class="kn">from</span> <span class="nn">odoo.addons.queue_job.job</span> <span class="kn">import</span> <span class="n">job</span><span class="w">
|
||||
|
||||
</span><span class="k">class</span> <span class="nc">MyModel</span><span class="p">(</span><span class="n">models</span><span class="o">.</span><span class="n">Model</span><span class="p">):</span><span class="w">
|
||||
</span> <span class="n">_name</span> <span class="o">=</span> <span class="s1">'my.model'</span><span class="w">
|
||||
|
||||
</span> <span class="nd">@api</span><span class="o">.</span><span class="n">multi</span><span class="w">
|
||||
</span> <span class="nd">@job</span><span class="w">
|
||||
</span> <span class="k">def</span> <span class="nf">my_method</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">a</span><span class="p">,</span> <span class="n">k</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span><span class="w">
|
||||
</span> <span class="n">_logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s1">'executed with a: </span><span class="si">%s</span><span class="s1"> and k: </span><span class="si">%s</span><span class="s1">'</span><span class="p">,</span> <span class="n">a</span><span class="p">,</span> <span class="n">k</span><span class="p">)</span><span class="w">
|
||||
|
||||
|
||||
</span><span class="k">class</span> <span class="nc">MyOtherModel</span><span class="p">(</span><span class="n">models</span><span class="o">.</span><span class="n">Model</span><span class="p">):</span><span class="w">
|
||||
</span> <span class="n">_name</span> <span class="o">=</span> <span class="s1">'my.other.model'</span><span class="w">
|
||||
|
||||
</span> <span class="nd">@api</span><span class="o">.</span><span class="n">multi</span><span class="w">
|
||||
</span> <span class="k">def</span> <span class="nf">button_do_stuff</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span><span class="w">
|
||||
</span> <span class="n">batch</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'queue.job.batch'</span><span class="p">]</span><span class="o">.</span><span class="n">get_new_batch</span><span class="p">(</span><span class="s1">'Group'</span><span class="p">)</span><span class="w">
|
||||
</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">100</span><span class="p">):</span><span class="w">
|
||||
</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'my.model'</span><span class="p">]</span><span class="o">.</span><span class="n">with_context</span><span class="p">(</span><span class="w">
|
||||
</span> <span class="n">job_batch</span><span class="o">=</span><span class="n">batch</span><span class="w">
|
||||
</span> <span class="p">)</span><span class="o">.</span><span class="n">with_delay</span><span class="p">()</span><span class="o">.</span><span class="n">my_method</span><span class="p">(</span><span class="s1">'a'</span><span class="p">,</span> <span class="n">k</span><span class="o">=</span><span class="n">i</span><span class="p">)</span><span class="w">
|
||||
</span> <span class="n">batch</span><span class="o">.</span><span class="n">enqueue</span><span class="p">()</span>
|
||||
</pre>
|
||||
<p>In the snippet of code above, when we call <tt class="docutils literal">button_do_stuff</tt>, 100 jobs
|
||||
capturing the method and arguments will be postponed. It will be executed as
|
||||
soon as the Jobrunner has a free bucket, which can be instantaneous if no other
|
||||
job is running.</p>
|
||||
<p>Once all the jobs have finished, the grouper will be marked as finished.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#other-credits" id="toc-entry-6">Other credits</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
|
||||
<p>You can manage your batch jobs from the Systray. A new button will be shown
|
||||
with your currently executing job batches and the recently finished job groups.</p>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/queue/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/queue/issues/new?body=module:%20queue_job_batch%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Creu Blanca</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Enric Tobella <<a class="reference external" href="mailto:etobella@creublanca.es">etobella@creublanca.es</a>></li>
|
||||
<li><dl class="first docutils">
|
||||
<dt><a class="reference external" href="https://trobz.com">Trobz</a>:</dt>
|
||||
<dd><ul class="first last">
|
||||
<li>Hoang Diep <<a class="reference external" href="mailto:hoang@trobz.com">hoang@trobz.com</a>></li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<li><dl class="first docutils">
|
||||
<dt><a class="reference external" href="https://forgeflow.com">ForgeFlow</a>:</dt>
|
||||
<dd><ul class="first last">
|
||||
<li>Lois Rilo <<a class="reference external" href="mailto:lois.rilo@forgeflow.com">lois.rilo@forgeflow.com</a>></li>
|
||||
<li>Jasmin Solanki <<a class="reference external" href="mailto:jasmin.solanki@forgeflow.com">jasmin.solanki@forgeflow.com</a>></li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="other-credits">
|
||||
<h2><a class="toc-backref" href="#toc-entry-6">Other credits</a></h2>
|
||||
<p>The migration of this module from 12.0 to 14.0 was financially supported by Camptocamp</p>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<p>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.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/queue/tree/16.0/queue_job_batch">OCA/queue</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
import {one} from "@mail/model/model_field";
|
||||
import {registerModel} from "@mail/model/model_core";
|
||||
import session from "web.session";
|
||||
const {Component} = owl;
|
||||
|
||||
registerModel({
|
||||
name: "QueueJobBatch",
|
||||
modelMethods: {
|
||||
convertData(data) {
|
||||
return {
|
||||
irModel: {
|
||||
id: data.id,
|
||||
name: data.name,
|
||||
job_count: data.job_count,
|
||||
completeness: data.completeness,
|
||||
failed_percentage: data.failed_percentage,
|
||||
finished_job_count: data.finished_job_count,
|
||||
failed_job_count: data.failed_job_count,
|
||||
state: data.state,
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
recordMethods: {
|
||||
_hideJobBatch: function () {
|
||||
var res_id = this.irModel.id;
|
||||
this.queueJobBatchMenuView.close();
|
||||
this.delete();
|
||||
Component.env.services.rpc({
|
||||
model: "queue.job.batch",
|
||||
method: "set_read",
|
||||
args: [res_id],
|
||||
kwargs: {
|
||||
context: session.user_context,
|
||||
},
|
||||
});
|
||||
},
|
||||
_onQueueJobBatchClick: function () {
|
||||
var res_id = this.irModel.id;
|
||||
this._hideJobBatch();
|
||||
this.env.services.action.doAction({
|
||||
type: "ir.actions.act_window",
|
||||
name: "Job batches",
|
||||
res_model: "queue.job.batch",
|
||||
views: [[false, "form"]],
|
||||
res_id: res_id,
|
||||
});
|
||||
},
|
||||
},
|
||||
fields: {
|
||||
queueJobBatchMenuView: one("QueueJobBatchMenuView", {
|
||||
identifying: true,
|
||||
inverse: "queueJobBatches",
|
||||
}),
|
||||
irModel: one("ir.model.queuejobbatch", {
|
||||
identifying: true,
|
||||
inverse: "queueJobBatch",
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
// ensure components are registered beforehand.
|
||||
import "./batch_menu_view.esm";
|
||||
import {getMessagingComponent} from "@mail/utils/messaging_component";
|
||||
|
||||
const {Component} = owl;
|
||||
|
||||
export class QueueJobBatchMenuContainer extends Component {
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
setup() {
|
||||
super.setup();
|
||||
this.env.services.messaging.modelManager.messagingCreatedPromise.then(() => {
|
||||
this.queueJobBatchMenuView =
|
||||
this.env.services.messaging.modelManager.messaging.models.QueueJobBatchMenuView.insert();
|
||||
this.render();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Object.assign(QueueJobBatchMenuContainer, {
|
||||
components: {QueueJobBatchMenuView: getMessagingComponent("QueueJobBatchMenuView")},
|
||||
template: "queue_job_batch.QueueJobBatchMenuContainer",
|
||||
});
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
import {attr, many} from "@mail/model/model_field";
|
||||
import {registerModel} from "@mail/model/model_core";
|
||||
|
||||
import session from "web.session";
|
||||
|
||||
registerModel({
|
||||
name: "QueueJobBatchMenuView",
|
||||
lifecycleHooks: {
|
||||
_created() {
|
||||
this.fetchData();
|
||||
document.addEventListener("click", this._onClickCaptureGlobal, true);
|
||||
},
|
||||
_willDelete() {
|
||||
document.removeEventListener("click", this._onClickCaptureGlobal, true);
|
||||
},
|
||||
},
|
||||
recordMethods: {
|
||||
close() {
|
||||
this.update({isOpen: false});
|
||||
},
|
||||
async fetchData() {
|
||||
const data = await this.messaging.rpc({
|
||||
model: "queue.job.batch",
|
||||
method: "search_read",
|
||||
args: [
|
||||
[
|
||||
["user_id", "=", session.uid],
|
||||
"|",
|
||||
["state", "in", ["draft", "progress"]],
|
||||
["is_read", "=", false],
|
||||
],
|
||||
[
|
||||
"name",
|
||||
"job_count",
|
||||
"completeness",
|
||||
"failed_percentage",
|
||||
"finished_job_count",
|
||||
"failed_job_count",
|
||||
"state",
|
||||
],
|
||||
],
|
||||
kwargs: {context: session.user_context},
|
||||
});
|
||||
this.update({
|
||||
queueJobBatches: data.map((vals) =>
|
||||
this.messaging.models.QueueJobBatch.convertData(vals)
|
||||
),
|
||||
});
|
||||
},
|
||||
/**
|
||||
* @param {MouseEvent} ev
|
||||
*/
|
||||
onClickDropdownToggle(ev) {
|
||||
ev.preventDefault();
|
||||
if (this.isOpen) {
|
||||
this.update({isOpen: false});
|
||||
} else {
|
||||
this.update({isOpen: true});
|
||||
this.fetchData();
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Closes the menu when clicking outside, if appropriate.
|
||||
*
|
||||
* @private
|
||||
* @param {MouseEvent} ev
|
||||
*/
|
||||
_onClickCaptureGlobal(ev) {
|
||||
if (!this.exists()) {
|
||||
return;
|
||||
}
|
||||
if (!this.component || !this.component.root.el) {
|
||||
return;
|
||||
}
|
||||
if (this.component.root.el.contains(ev.target)) {
|
||||
return;
|
||||
}
|
||||
this.close();
|
||||
},
|
||||
_viewAllQueueJobBatches: function () {
|
||||
this.close();
|
||||
this.env.services.action.doAction(
|
||||
"queue_job_batch.action_view_your_queue_job_batch"
|
||||
);
|
||||
},
|
||||
},
|
||||
fields: {
|
||||
queueJobBatches: many("QueueJobBatch", {
|
||||
sort: [["greater-first", "irModel.id"]],
|
||||
inverse: "queueJobBatchMenuView",
|
||||
}),
|
||||
component: attr(),
|
||||
counter: attr({
|
||||
compute() {
|
||||
return this.queueJobBatches.length;
|
||||
},
|
||||
}),
|
||||
isOpen: attr({
|
||||
default: false,
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
import {registerMessagingComponent} from "@mail/utils/messaging_component";
|
||||
import {useComponentToModel} from "@mail/component_hooks/use_component_to_model";
|
||||
|
||||
const {Component} = owl;
|
||||
|
||||
export class QueueJobBatchMenuView extends Component {
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
setup() {
|
||||
super.setup();
|
||||
useComponentToModel({fieldName: "component"});
|
||||
}
|
||||
/**
|
||||
* @returns {QueueJobBatchMenuView}
|
||||
*/
|
||||
get queueJobBatchMenuView() {
|
||||
return this.props.record;
|
||||
}
|
||||
}
|
||||
|
||||
Object.assign(QueueJobBatchMenuView, {
|
||||
props: {record: Object},
|
||||
template: "queue_job_batch.QueueJobBatchMenuView",
|
||||
});
|
||||
|
||||
registerMessagingComponent(QueueJobBatchMenuView);
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
import {attr, one} from "@mail/model/model_field";
|
||||
import {registerModel} from "@mail/model/model_core";
|
||||
|
||||
registerModel({
|
||||
name: "ir.model.queuejobbatch",
|
||||
fields: {
|
||||
/**
|
||||
* Determines the name of the views that are available for this model.
|
||||
*/
|
||||
availableWebViews: attr({
|
||||
compute() {
|
||||
return ["kanban", "list", "form", "activity"];
|
||||
},
|
||||
}),
|
||||
queueJobBatch: one("QueueJobBatch", {
|
||||
inverse: "irModel",
|
||||
}),
|
||||
id: attr({
|
||||
identifying: true,
|
||||
}),
|
||||
name: attr(),
|
||||
job_count: attr(),
|
||||
completeness: attr(),
|
||||
failed_percentage: attr(),
|
||||
finished_job_count: attr(),
|
||||
failed_job_count: attr(),
|
||||
state: attr(),
|
||||
},
|
||||
});
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
import {QueueJobBatchMenuContainer} from "./batch_menu_container_view.esm";
|
||||
import {registry} from "@web/core/registry";
|
||||
import session from "web.session";
|
||||
|
||||
const systrayRegistry = registry.category("systray");
|
||||
|
||||
export const systrayService = {
|
||||
start() {
|
||||
session
|
||||
.user_has_group("queue_job_batch.group_queue_job_batch_user")
|
||||
.then(function (has_group) {
|
||||
if (has_group) {
|
||||
systrayRegistry.add(
|
||||
"queue_job_batch.QueueJobBatchMenu",
|
||||
{Component: QueueJobBatchMenuContainer},
|
||||
{sequence: 99}
|
||||
);
|
||||
}
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
const serviceRegistry = registry.category("services");
|
||||
serviceRegistry.add("queuebatch_systray_service", systrayService);
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
.o_job_batch_navbar_item {
|
||||
.o_notification_counter {
|
||||
margin-top: -0.8rem;
|
||||
margin-right: 0;
|
||||
margin-left: -0.6rem;
|
||||
background: $o-enterprise-primary-color;
|
||||
color: white;
|
||||
vertical-align: super;
|
||||
font-size: 0.7em;
|
||||
}
|
||||
.o_job_batch_navbar_dropdown {
|
||||
width: 350px;
|
||||
padding: 0;
|
||||
}
|
||||
.o_view_all_batch_jobs {
|
||||
padding: 5px;
|
||||
}
|
||||
.o_job_queue_failed {
|
||||
color: red;
|
||||
}
|
||||
.o_job_queue_finished {
|
||||
color: green;
|
||||
}
|
||||
.o_job_queue_progress {
|
||||
color: gray;
|
||||
}
|
||||
.o_progressbar_complete {
|
||||
&.o_queue_job_finished_progressbar {
|
||||
background-color: green;
|
||||
float: left;
|
||||
}
|
||||
|
||||
&.o_queue_job_failed_progressbar {
|
||||
background-color: red;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,124 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates>
|
||||
|
||||
<t t-name="queue_job_batch.QueueJobBatchMenuView" owl="1">
|
||||
<div class="o_ActivityMenuView dropdown o_job_batch_navbar_item" t-ref="root">
|
||||
<a
|
||||
class="o_ActivityMenuView_dropdownToggle dropdown-toggle o-no-caret o-dropdown--narrow"
|
||||
title="Job batches"
|
||||
t-att-aria-expanded="queueJobBatchMenuView.isOpen ? 'true' : 'false'"
|
||||
href="#"
|
||||
role="button"
|
||||
t-on-click="queueJobBatchMenuView.onClickDropdownToggle"
|
||||
>
|
||||
<i class="fa fa-list" role="img" aria-label="Job batches" />
|
||||
<span
|
||||
t-if="queueJobBatchMenuView.counter > 0"
|
||||
class="o_ActivityMenuView_counter badge"
|
||||
t-esc="queueJobBatchMenuView.counter"
|
||||
/>
|
||||
</a>
|
||||
<div
|
||||
t-if="queueJobBatchMenuView.isOpen"
|
||||
class="o_ActivityMenuView_dropdownMenu o-dropdown-menu dropdown-menu-end show bg-view"
|
||||
role="menu"
|
||||
>
|
||||
<div
|
||||
class="border-bottom d-flex flex-shrink-0"
|
||||
bis_skin_checked="1"
|
||||
t-if="queueJobBatchMenuView.counter > 0"
|
||||
>
|
||||
<button
|
||||
class="o-desktop btn btn-link o-active fw-bolder"
|
||||
type="button"
|
||||
>Job
|
||||
Batches</button>
|
||||
<div class="flex-grow-1" bis_skin_checked="1" />
|
||||
<button
|
||||
class="btn btn-link"
|
||||
type="button"
|
||||
t-on-click="queueJobBatchMenuView._viewAllQueueJobBatches"
|
||||
>View All</button>
|
||||
</div>
|
||||
<t t-if="queueJobBatchMenuView.queueJobBatches.length === 0">
|
||||
<div class="o_ActivityMenuView_activityGroups">
|
||||
<div
|
||||
class="o_ActivityMenuView_noActivity dropdown-item-text text-center d-flex justify-content-center"
|
||||
>
|
||||
<span>No jobs to view.</span>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
<div
|
||||
t-if="queueJobBatchMenuView.queueJobBatches.length > 0"
|
||||
class="row"
|
||||
style="width:100%"
|
||||
>
|
||||
<t
|
||||
t-foreach="queueJobBatchMenuView.queueJobBatches"
|
||||
t-as="queueJobBatch"
|
||||
t-key="queueJobBatch.localId"
|
||||
name="activityGroupLoop"
|
||||
>
|
||||
<div
|
||||
class="col-2 m-2"
|
||||
t-on-click="queueJobBatch._onQueueJobBatchClick"
|
||||
>
|
||||
<span
|
||||
class="fa fa-list fa-3x o_job_queue_failed"
|
||||
t-if="queueJobBatch.irModel.failed_job_count > 0"
|
||||
/>
|
||||
<span
|
||||
class="fa fa-list fa-3x o_job_queue_finished"
|
||||
t-if="queueJobBatch.irModel.failed_job_count == 0 and queueJobBatch.irModel.finished_job_count == queueJobBatch.irModel.job_count"
|
||||
/>
|
||||
<span
|
||||
class="fa fa-list fa-3x o_job_queue_progress"
|
||||
t-if="queueJobBatch.irModel.failed_job_count == 0 and queueJobBatch.irModel.finished_job_count != queueJobBatch.irModel.job_count"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
class="col-8"
|
||||
t-on-click="queueJobBatch._onQueueJobBatchClick"
|
||||
>
|
||||
<strong
|
||||
class="o_NotificationListItem_name o_NotificationGroup_name text-truncate"
|
||||
>
|
||||
<t t-esc="queueJobBatch.irModel.name" />
|
||||
</strong>
|
||||
<div class="progress">
|
||||
<div
|
||||
class="progress-bar o_queue_job_finished_progressbar"
|
||||
role="progressbar"
|
||||
t-att-style="'width: '+ (100 * queueJobBatch.irModel.completeness) + '%'"
|
||||
t-att-aria-valuenow="100 * queueJobBatch.irModel.completeness"
|
||||
/>
|
||||
<div
|
||||
class="progress-bar o_queue_job_failed_progressbar"
|
||||
role="progressbar"
|
||||
t-att-style="'width: '+ (100 * queueJobBatch.irModel.failed_percentage) + '%'"
|
||||
t-att-aria-valuenow="100 * queueJobBatch.irModel.failed_percentage"
|
||||
/>
|
||||
</div>
|
||||
<span
|
||||
t-out="queueJobBatch.irModel.finished_job_count + '/' + queueJobBatch.irModel.failed_job_count + '/' + queueJobBatch.irModel.job_count"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
class="col-1 mt-3"
|
||||
t-on-click="queueJobBatch._hideJobBatch"
|
||||
>
|
||||
<span
|
||||
title="Mark as Read"
|
||||
class="fa fa-check"
|
||||
t-if="queueJobBatch.irModel.state === 'finished'"
|
||||
t-att-data-job-batch-id="queueJobBatch.irModel.id"
|
||||
/>
|
||||
</div>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="queue_job_batch.QueueJobBatchMenuContainer" owl="1">
|
||||
<t t-if="queueJobBatchMenuView">
|
||||
<QueueJobBatchMenuView record="queueJobBatchMenuView" />
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="view_queue_job_batch_tree" model="ir.ui.view">
|
||||
<field name="name">queue.job.batch.tree</field>
|
||||
<field name="model">queue.job.batch</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree create="false" delete="false">
|
||||
<field name="name" />
|
||||
<field name="job_count" invisible="1" />
|
||||
<field
|
||||
name="finished_job_count"
|
||||
widget="progressbar"
|
||||
string="Completeness"
|
||||
options="{'current_value': 'finished_job_count', 'max_value': 'job_count'}"
|
||||
/>
|
||||
<field name="state" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_queue_job_batch_form" model="ir.ui.view">
|
||||
<field name="name">queue.job.batch.form</field>
|
||||
<field name="model">queue.job.batch</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Job Batch" create="false" delete="false" edit="false">
|
||||
<header>
|
||||
<field name="state" widget="statusbar" />
|
||||
</header>
|
||||
<sheet>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button
|
||||
type="action"
|
||||
name="%(queue_job_batch.action_queue_job_related)s"
|
||||
icon="fa-list"
|
||||
>
|
||||
<field string="Jobs" name="job_count" widget="statinfo" />
|
||||
</button>
|
||||
</div>
|
||||
<h1>
|
||||
<field name="name" class="oe_inline" />
|
||||
</h1>
|
||||
<group>
|
||||
<field name="user_id" />
|
||||
<field
|
||||
name="finished_job_count"
|
||||
widget="progressbar"
|
||||
string="Completeness"
|
||||
options="{'current_value': 'finished_job_count', 'max_value': 'job_count'}"
|
||||
/>
|
||||
<field name="company_id" groups="base.group_multi_company" />
|
||||
</group>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_follower_ids" widget="mail_followers" />
|
||||
<field name="activity_ids" widget="mail_activity" />
|
||||
<field name="message_ids" widget="mail_thread" />
|
||||
</div>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_queue_job_batch_search" model="ir.ui.view">
|
||||
<field name="name">queue.job.batch.search</field>
|
||||
<field name="model">queue.job.batch</field>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="name" />
|
||||
<field name="state" />
|
||||
<field name="user_id" />
|
||||
<field
|
||||
name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
widget="selection"
|
||||
/>
|
||||
<filter
|
||||
name="draft"
|
||||
string="Draft"
|
||||
domain="[('state', '=', 'draft')]"
|
||||
/>
|
||||
<filter
|
||||
name="progress"
|
||||
string="In progress"
|
||||
domain="[('state', '=', 'progress')]"
|
||||
/>
|
||||
<filter
|
||||
name="finished"
|
||||
string="Finished"
|
||||
domain="[('state', '=', 'finished')]"
|
||||
/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter
|
||||
name="group_by_state"
|
||||
string="State"
|
||||
context="{'group_by': 'state'}"
|
||||
/>
|
||||
<filter
|
||||
name="group_by_user"
|
||||
string="User"
|
||||
context="{'group_by': 'user_id'}"
|
||||
/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_queue_job_batch" model="ir.actions.act_window">
|
||||
<field name="name">Job batches</field>
|
||||
<field name="res_model">queue.job.batch</field>
|
||||
<field name="context">{'search_default_draft': 1,
|
||||
'search_default_progress': 1,}</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<record id="action_view_your_queue_job_batch" model="ir.actions.act_window">
|
||||
<field name="name">Job batches</field>
|
||||
<field name="res_model">queue.job.batch</field>
|
||||
<field
|
||||
name="domain"
|
||||
>[('user_id', '=', uid), '|', ('state', 'in', ['draft', 'progress']), ('is_read', '=', False)]</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_queue_job_batch"
|
||||
action="action_queue_job_batch"
|
||||
sequence="11"
|
||||
parent="queue_job.menu_queue"
|
||||
/>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_queue_job_form" model="ir.ui.view">
|
||||
<field name="name">queue.job.form</field>
|
||||
<field name="model">queue.job</field>
|
||||
<field name="inherit_id" ref="queue_job.view_queue_job_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="channel" position="after">
|
||||
<field
|
||||
name="job_batch_id"
|
||||
attrs="{'invisible': [('job_batch_id', '=', False)]}"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_queue_job_search" model="ir.ui.view">
|
||||
<field name="name">queue.job.search</field>
|
||||
<field name="model">queue.job</field>
|
||||
<field name="inherit_id" ref="queue_job.view_queue_job_search" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="channel" position="after">
|
||||
<field name="job_batch_id" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="action_queue_job_related" model="ir.actions.act_window">
|
||||
<field name="name">Jobs</field>
|
||||
<field name="res_model">queue.job</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('job_batch_id', '=', active_id)]</field>
|
||||
<field name="view_id" ref="queue_job.view_queue_job_tree" />
|
||||
<field name="search_view_id" ref="queue_job.view_queue_job_search" />
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue