Commit Graph

44 Commits (16.0)

Author SHA1 Message Date
OCA-git-bot 7e59fd265b [BOT] post-merge updates 2025-01-24 13:54:46 +00:00
François Honoré c3fe07aeb8 [UPD] tracking_manager: specific O2M fields notify
In some case, we may have some unconventionals O2M like on ir.attachment. The O2M relation is done on res_id value.
This commit take them in consideration and avoid a traceback
2024-12-10 09:40:31 +01:00
OCA-git-bot cb2bf6f92c [BOT] post-merge updates 2024-11-07 12:21:06 +00:00
Víctor Martínez b761ddd918 [FIX] tracking_manager: Fix test related to ir.actions.act_window
Related to cac20c5f2f

Now it is necessary to have an ir.actions.act_window record
2024-11-07 13:07:29 +01:00
OCA-git-bot a68fadd576 [BOT] post-merge updates 2024-10-08 12:24:31 +00:00
Víctor Martínez 5b3fbcb4c2 [FIX] tracking_manager: Test compatibility
Related to b41e7ae2c7

Do not set the child_ids field as tracking in the setup to avoid incorrect data in some cases

TT51160
2024-10-08 12:22:44 +02:00
OCA-git-bot 33277135b4 [BOT] post-merge updates 2024-10-08 07:29:43 +00:00
Víctor Martínez b41e7ae2c7 [FIX] tracking_manager: Avoid error when accessing the value of a field 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
2024-10-08 09:02:49 +02:00
OCA-git-bot c6655c5aab [BOT] post-merge updates 2024-10-07 06:56:41 +00:00
Víctor Martínez aeb1f6b6d7 [FIX] tracking_manager: Avoid error if no record is linked (example: 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
2024-10-07 08:37:47 +02:00
OCA-git-bot 1bf94fe42d [BOT] post-merge updates 2024-09-05 07:09:28 +00:00
Víctor Martínez e2f7a51ed5 [FIX] tracking_manager: Avoid sending tracking o2m emails if you are 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
2024-09-04 12:05:22 +02:00
OCA-git-bot db9e502a34 [BOT] post-merge updates 2024-08-29 09:50:50 +00:00
OCA-git-bot fab7363317 Merge PR #3021 into 16.0
Signed-off-by pedrobaeza
2024-08-29 09:43:55 +00:00
Christopher Rogos d24b119ff0 [FIX] tracking_manager: prevent error on models without mail.thread mixin 2024-08-27 13:14:21 +00:00
OCA-git-bot 0be51397a7 [BOT] post-merge updates 2024-08-26 14:58:07 +00:00
Víctor Martínez d76bf649e2 [IMP] tracking_manager: Test compatibility
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
2024-08-23 12:50:22 +02:00
OCA-git-bot ed9c1bb12d [BOT] post-merge updates 2024-04-09 19:36:23 +00:00
Christopher Rogos 2beff64a14 [IMP] tracking_manager: allow tracking readonly fields 2024-04-09 17:03:03 +00:00
Ivorra78 d866df8718 Translated using Weblate (Spanish)
Currently translated at 100.0% (26 of 26 strings)

Translation: server-tools-16.0/server-tools-16.0-tracking_manager
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-tracking_manager/es/
2024-02-14 15:37:02 +00:00
Ivorra78 def60c54dc Added translation using Weblate (Spanish) 2024-02-14 12:40:24 +00:00
OCA-git-bot ff58db904c [BOT] post-merge updates 2024-02-02 11:12:25 +00:00
OCA-git-bot 1eb41c1872 Merge PR #2815 into 16.0
Signed-off-by thomaspaulb
2024-02-02 11:06:13 +00:00
Christopher Rogos 8417b242b2 [IMP] tracking_manager: Check records not empty 2024-01-25 14:48:35 +00:00
mymage 79bc308e14 Translated using Weblate (Italian)
Currently translated at 100.0% (26 of 26 strings)

Translation: server-tools-16.0/server-tools-16.0-tracking_manager
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-tracking_manager/it/
2024-01-18 09:35:59 +00:00
mymage 94180319f2 Added translation using Weblate (Italian) 2024-01-18 09:00:27 +00:00
Weblate d7b34af2e7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-tracking_manager
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-tracking_manager/
2024-01-17 01:05:43 +00:00
OCA-git-bot e363400be3 [BOT] post-merge updates 2024-01-16 22:14:26 +00:00
oca-ci d63edebc2f [UPD] Update tracking_manager.pot 2024-01-16 22:08:05 +00:00
Christopher Rogos b33e39f41c [MIG] tracking_manager: Migration to 16.0 2024-01-02 15:46:21 +00:00
Christopher Rogos 2537eacd94 [MIG] tracking_manager: Migration to 15.0 2024-01-02 15:38:27 +00:00
Sébastien BEAU d2428a7d9b tracking_manager: fix access right issue if sudo have been used 2024-01-02 15:38:27 +00:00
Kev-Roche 1c6924d949 minor fixes 2024-01-02 15:38:26 +00:00
Sébastien BEAU 35753cf76a tracking_manager: fix missing error when doing a write before an unlink 2024-01-02 15:38:26 +00:00
Sébastien BEAU 5117c9c367 tracking_manager: use sudo for posting message 2024-01-02 15:38:26 +00:00
Kévin Roche d9aa82b88c Update tracking_manager/readme/USAGE.rst
Co-authored-by: Yoshi Tashiro (Quartile) <tashiro@quartile.co>
2024-01-02 15:38:26 +00:00
Kev-Roche b79a9eca9e IMP readme and add filters 2024-01-02 15:38:26 +00:00
Sébastien BEAU a105a653cc tracking_manager: simplify code by using precommit feature
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)
2024-01-02 15:38:26 +00:00
Sébastien BEAU 636c6e49f5 tracking_manager: continue to refactor code
- 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
2024-01-02 15:38:26 +00:00
Sébastien BEAU a40c2d958e tracking_manager: refactor test 2024-01-02 15:38:26 +00:00
Sébastien BEAU 20c4babf64 tracking_manager: refactor code to track all o2m case
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
2024-01-02 15:38:26 +00:00
Sébastien BEAU f50ded6323 tracking_manager: refactor code, remove tracking_model
- remove tracking_model (less model, less code, less issue)
- add automatic rule for default config (this avoid missing tracked field
after module installation)
2024-01-02 15:38:26 +00:00
Sébastien BEAU 5bf66a9c69 tracking_manager: remove useless file 2024-01-02 15:38:26 +00:00
Kev-Roche 70e3e93a07 [14.0][ADD] tracking_manager 2024-01-02 15:38:26 +00:00