Commit Graph

13 Commits (1324d1e165b263abed9ee9d069bdab1ba5eb26f9)

Author SHA1 Message Date
Víctor Martínez 11546c3dfd [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:29:13 +01:00
Christopher Rogos 36410c75a8 [FIX] tracking_manager: m2m data was tracked as None->None 2024-10-09 14:08:41 +00:00
Víctor Martínez 80b4ae5b5a [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

[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-09 10:21:46 +02:00
Víctor Martínez 92b022e2a7 [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-26 17:28:32 +02:00
Christopher Rogos c906b3509a [MIG] tracking_manager: Migration to 17.0 2024-05-02 12:54:27 +00:00
Christopher Rogos 48fa0791ca [MIG] tracking_manager: Migration to 16.0 2024-05-02 12:47:20 +00:00
Christopher Rogos 40217601fc [MIG] tracking_manager: Migration to 15.0 2024-05-02 12:47:20 +00:00
Sébastien BEAU 4a8d86f3e3 tracking_manager: fix missing error when doing a write before an unlink 2024-05-02 12:47:20 +00:00
Sébastien BEAU be72996ec0 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-05-02 12:47:20 +00:00
Sébastien BEAU 572cab485d tracking_manager: refactor test 2024-05-02 12:47:20 +00:00
Sébastien BEAU e90772963b 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-05-02 12:47:20 +00:00
Sébastien BEAU be22968e91 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-05-02 12:47:20 +00:00
Kev-Roche 7650d3b9e4 [14.0][ADD] tracking_manager 2024-05-02 12:47:20 +00:00