Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] queue_job_cron: Migration to 16.0 #6

Open
wants to merge 50 commits into
base: 18.0-dev
Choose a base branch
from

Conversation

QuocDuong1306
Copy link
Owner

Ported PRs

  • #382
  • #625

Cédric Pigeon and others added 30 commits September 24, 2024 15:37
Currently translated at 100.0% (4 of 4 strings)

Translation: queue-12.0/queue-12.0-queue_job_cron
Translate-URL: https://translation.odoo-community.org/projects/queue-12-0/queue-12-0-queue_job_cron/de/
Currently translated at 100.0% (4 of 4 strings)

Translation: queue-12.0/queue-12.0-queue_job_cron
Translate-URL: https://translation.odoo-community.org/projects/queue-12-0/queue-12-0-queue_job_cron/zh_Hans/
The channel must be 'root.ir_cron', not 'ir_cron'.
- set module uninstallable
- add new .dot file config for v14
JoanMForgeFlow and others added 19 commits September 24, 2024 15:37
Currently translated at 100.0% (4 of 4 strings)

Translation: queue-16.0/queue-16.0-queue_job_cron
Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-queue_job_cron/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: queue-16.0/queue-16.0-queue_job_cron
Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-queue_job_cron/
Currently translated at 100.0% (4 of 4 strings)

Translation: queue-17.0/queue-17.0-queue_job_cron
Translate-URL: https://translation.odoo-community.org/projects/queue-17-0/queue-17-0-queue_job_cron/it/
Otherwise, you cannot use any channel other than default (
root.ir_cron)
By default, odoo never runs the same cron job in parallel. This commit uses the identity key mechanism to enforce this mechanism when a cron job is run as a queue job. This behaviour can be controlled by a new setting on the cron definition but is activated by default to keep the original behaviour
<field name="run_as_queue_job" />
<field
name="no_parallel_queue_job_run"
attrs="{'invisible': [('run_as_queue_job', '=', False)]}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about that?

Suggested change
attrs="{'invisible': [('run_as_queue_job', '=', False)]}"
invisible="run_as_queue_job == False"

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank a, updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.