[18.0][MIG] tracking_manager: Migration to 18.0 - #3138
Closed
BertVGroenendael wants to merge 44 commits into
Closed
BertVGroenendael wants to merge 44 commits into
BertVGroenendael wants to merge 44 commits into
Conversation
- 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-17.0/server-tools-17.0-tracking_manager Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-tracking_manager/
Currently translated at 100.0% (25 of 25 strings) Translation: server-tools-17.0/server-tools-17.0-tracking_manager Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-tracking_manager/it/
Currently translated at 100.0% (25 of 25 strings) Translation: server-tools-17.0/server-tools-17.0-tracking_manager Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-tracking_manager/zh_CN/
Previously the bank_ids field was used but account adds messages in partner when a related bank account is created/modified/deleted, causing tests to fail. The user_ids field of res.partner is now used to avoid the side effect in tests and the fake model is removed. TT50571
…subscribed to notes Example use case: - Enable custom tracking in project.project - Activate the task_ids field as custom tracking - Create a project and assign it to a user (different from ours) and make it a note follower - Create a task in the project - The project message of the task tracking task will not be sent to the note followers TT50676
…child_ids of res.partner) Example use case: - Define the child_ids field of res.partner as tracking. - Modify contact Brandon Freeman and leave parent_id empty (Azure Interior) - No error should be displayed TT51146
…ld that we do not have access Example use case: - Install hr_fleet - Set the employee_ids field of hr.employee as a tracking field - Modify the user to not have permissions in Fleet - Modify the name of an employee TT51160 [FIX] tracking_manager: Test compatibility Related to OCA@b41e7ae Do not set the child_ids field as tracking in the setup to avoid incorrect data in some cases TT51160
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-17.0/server-tools-17.0-tracking_manager Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-tracking_manager/
Related to odoo/odoo@cac20c5 Now it is necessary to have an ir.actions.act_window record
42 tasks
Contributor
Contributor
|
@BertVGroenendael could you add the changes of #3175 and squash the commit history according to https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate |
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.
No description provided.