Commit Graph

8 Commits (ae15c88c42d6ac40b79af73108b5ac50b3492105)

Author SHA1 Message Date
Laurent Mignon (ACSONE) bf775122c9 [IMP] base_exception: Improves performances
Before this change, the inverse relation from the exception to the records linked to the exception was read to determine if the rule should be added or removed from the rule detected for the current records. On large database with non blocking exceptions this lead to a performance issues since this issues a read of all the SO where the exception has been applied. With this change, we only read the information from the current records
2024-01-16 18:08:18 +00:00
CarlosRoca13 300ed3fcf1 [FIX] base_exception: Fix tests and add odoo_test_helper as dependency 2024-01-16 18:08:18 +00:00
Sébastien BEAU e41b48ffea [REF] Refactor test
use odoo-test-helper
split test so one test do one thing
2024-01-16 18:08:18 +00:00
Sébastien BEAU 91fb471ae0 [IMP] add method exception 2024-01-16 18:08:18 +00:00
Jared Kipe 7d48027fe8 [MIG] base_exception: Migration to 13.0 2024-01-16 18:08:18 +00:00
Jared Kipe 8bb03e4acb [IMP] base_exception: black, isort 2024-01-16 18:08:18 +00:00
Iván Todorovich c5c86408b8 [MIG] dict.iteritems() does not exist in Python3 2024-01-16 18:08:18 +00:00
Mourad 89161856db [FIX] temp model test access rule & fix OCA remarks 2024-01-16 18:08:18 +00:00