diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-01-02 14:26:16 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-01-03 09:06:22 +0000 |
| commit | c41487300325db5e708885187986d62f2084f732 (patch) | |
| tree | 4b82e34ea04d5341360332d3148bf9814c517888 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 189cc4405cbf4a745989dec6c0b2c41d07e42789 (diff) | |
[FIX] base_automation: do not reload registry at create
The original issue is described in #29528, and the commit was reverted
in eb19016ba35d4dc472.
The root cause of the issue was that the module `base.automation`
performs a `commit()` in `_update_registry`, which is called during a
`create`. This conflicts with the `savepoint` created in `load_demo`.
We postpone the registry reload after installing the demo data. Note
that we only do this in `base_automation`, to limit the potential side
effects.
opw-1920636
Co-authored-by: Raphael Collet <rco@odoo.com>
closes odoo/odoo#29863
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
