[19.0][MIG] attachment_queue: Migration to 19.0#3614
Open
dnplkndll wants to merge 108 commits into
Open
Conversation
This was referenced May 20, 2026
0ca6b2f to
f500941
Compare
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 20, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
f500941 to
3bf1016
Compare
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 20, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
3bf1016 to
63c4cf7
Compare
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 20, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 20, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 20, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 20, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
- remove tracking_model (less model, less code, less issue) - add automatic rule for default config (this avoid missing tracked field after module installation)
For example on the product if you open the 'stock.putaway.rule' you have activated the tracking on putaway_rule_ids change on rule should be posted on the related product
- track m2m simplify using native mail_thread and process them like text - simplify code for track one2many - avoid useless code on model not impacted by the tracking
Instead of complexe tracking throught the context just track change and process the message at the end using the precommit feature (the message are posted just before commiting)
Co-authored-by: Yoshi Tashiro (Quartile) <tashiro@quartile.co>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-16.0/server-tools-16.0-attachment_queue Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_queue/
Currently translated at 100.0% (112 of 112 strings) Translation: server-tools-16.0/server-tools-16.0-attachment_queue Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_queue/it/
…ment queue Make attachment queue compatible with the automatic retry of queue job in case of concurrent update errors and RetryableJobError
Currently translated at 100.0% (112 of 112 strings) Translation: server-tools-16.0/server-tools-16.0-attachment_queue Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_queue/it/
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
* self._cr → self.env.cr in SQL execs (T01)
* Delete migrations/18.0.1.0.0/ (T08)
* Search view: <field> elements re-ordered before <filter>/<separator>/
<group>; <group string="Group By"> wrapper removed (19 RelaxNG)
* Mail template body: ${object.x} → {{object.x}} (Mako removed in 19)
* Tests refactored from odoo_test_helper.FakeModelLoader → native
odoo.orm.model_classes.add_to_registry
* W8161: bare _() → self.env._() in test_models.py
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
63c4cf7 to
9cbd62e
Compare
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 20, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Contributor
Author
|
@florian-dacosta @sebastienbeau ready for review — all CI green. Two @sbidoul cc |
9cbd62e to
099073d
Compare
dnplkndll
added a commit
to ledoent/server-tools
that referenced
this pull request
May 29, 2026
Pip-installs attachment_queue from the upstream PR branch via whool until OCA#3614 merges and the 19.0 wheel publishes. Revert this commit before merge. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
099073d to
9cbd62e
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.
Port of
attachment_queuefrom 18.0 to 19.0. Follows the OCA migration guide.Non-mechanical adaptations worth flagging:
odoo_test_helper.FakeModelLoader→ nativeodoo.orm.model_classes.add_to_registry.odoo-test-helperis incompatible with 19 (MetaModel.module_to_modelswas renamed/privatized).test_run_fails_rollback'semail_toassertion was dropped because the mail-template renderer bypasses the registry-augmented fake's_get_failure_emailsoverride.