diff options
| author | Yannick Tivisse <yti@odoo.com> | 2017-08-02 10:19:15 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-08-02 12:32:24 +0200 |
| commit | ee5ebbadabaedab09e05e3b0a0d03fb46fe5f919 (patch) | |
| tree | 98115306024c0f62da76a572578567f71e7f4c76 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a445548f07fbf8d883f4b02e18a35f4b324c6961 (diff) | |
[FIX] base/module: Use a correct env to load next action on install
Bug introduced in https://github.com/odoo/odoo/commit/c8601f4384e0c95abc92d1f0b3092cfe2cb2a79d
Purpose
=======
If a module installation is supposed to load an action (example: a wizard like in l10n_eu_service) and if the related action is defined in this module (example: l10n_eu_service.wizard), currently we're using the environment defined on self, which is not updated after the module install, and the key is not defined in the registry.
Specification
=============
Instead of using the environment on self, let's use the new environment created after the cursor commit.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
