Commit Graph

12 Commits (3d91302f46aaee886fe60bc768a6d1e2e58d0b13)

Author SHA1 Message Date
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
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
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
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
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 35753cf76a tracking_manager: fix missing error when doing a write before an unlink 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
Kev-Roche 70e3e93a07 [14.0][ADD] tracking_manager 2024-01-02 15:38:26 +00:00