diff options
| author | Adrian Torres <adt@odoo.com> | 2020-03-13 14:03:15 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-03-30 13:42:04 +0000 |
| commit | 96223568c445bc1d378fa4d8833f90d3dad8ec7e (patch) | |
| tree | c243eebd600089a940d0399b927710525c9ee0b1 /addons/mrp_subcontracting/models | |
| parent | 73dc42d6d598785e381305c30b6b5149cd4e9309 (diff) | |
[FIX] core: invalidate registry at the start of setup_models
This is necessary in order to create models on-the-fly within tests and
to test improper Model / Field creation: registry.reset_changes will
only perform the reset of the registry if it is invalidated, however if
the setup of models crashes before it is invalidated (as is the case of
a test), the reset_changes will not be triggered and thus the registry
will be left dirty for subsequent tests.
Diffstat (limited to 'addons/mrp_subcontracting/models')
0 files changed, 0 insertions, 0 deletions
