[17.0][IMP] export_async_schedule: improve module ergonomy and functionnality#2
Open
StephaneMangin wants to merge 112 commits into17.0from
Open
[17.0][IMP] export_async_schedule: improve module ergonomy and functionnality#2StephaneMangin wants to merge 112 commits into17.0from
StephaneMangin wants to merge 112 commits into17.0from
Conversation
Without this fix, if db_replica_host is set, Odoo might pass a readonly database cursor and the FOR UPDATE in the method would fail.
It decreases memory footprint when there's thousands of jobs to prioritize.
this make a lot of open file descriptors that we got the limit while instentiate jobrunner from queue_job_cron_jobrunner in the current channel implementation OCA#750
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: queue-17.0/queue-17.0-queue_job Translate-URL: https://translation.odoo-community.org/projects/queue-17-0/queue-17-0-queue_job/
Currently translated at 100.0% (158 of 158 strings) Translation: queue-17.0/queue-17.0-queue_job Translate-URL: https://translation.odoo-community.org/projects/queue-17-0/queue-17-0-queue_job/it/
…ethod We add the `_subscribe_job_creator` method in `queue.job` which will return True for the cases where we want to subscribe the job creator, False otherwise.
Schedule exports based on an export list. Susbcribed users will receive an email at the configured interval.
Currently translated at 94.4% (17 of 18 strings) Translation: queue-12.0/queue-12.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-12-0/queue-12-0-base_export_async/pt/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: queue-15.0/queue-15.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-15-0/queue-15-0-base_export_async/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/it/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/it/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/fr/
As normal user only have read access to delay.export, we need sudo to chreate an attachment on this record Use user 6 (Marc Demo) in the tests, not admin (2)
…onnality What has been added: - New way to group exports in a single/multiple emails - Views ergonomy redux (increase readability and add chatter history) - light refactoring (addition of a mixin)
247da78 to
d937023
Compare
This file contains hidden or 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
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.
What has been added: