forked from OCA/queue
-
Notifications
You must be signed in to change notification settings - Fork 0
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
QuocDuong1306
wants to merge
50
commits into
18.0-dev
Choose a base branch
from
18.0-mig-queue_job_cron
base: 18.0-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
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
thienvh332
reviewed
Sep 27, 2024
<field name="run_as_queue_job" /> | ||
<field | ||
name="no_parallel_queue_job_run" | ||
attrs="{'invisible': [('run_as_queue_job', '=', False)]}" |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank a, updated
QuocDuong1306
force-pushed
the
18.0-mig-queue_job_cron
branch
from
September 27, 2024 13:06
da2c6cf
to
c5015ea
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ported PRs
#382
#625