diff options
| author | Raphael Collet <rco@odoo.com> | 2020-04-02 13:59:21 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-04-02 23:54:32 +0000 |
| commit | 962412c309528785bcbaeadfe69eeee740932f85 (patch) | |
| tree | 7ecc05dec1e7156b3c9a68e34214f855305ce459 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 46b7fb598498dfe8673268e82944488b741f5caa (diff) | |
[FIX] test_website: upgrading inside a test is really not a good idea
Because: (1) the upgrade starts by committing the current cursor; then
(2) the upgrade instanciates a new registry to use for the database; and
(3) the test cleanup involves setting up the old registry, which creates
a new environment referring to the new registry!
The points (2) and (3) makes the field setup crash when it relies on
data stored on the registry itself: the field in the old registry tries
to set up with data stored on the old registry.
closes odoo/odoo#48920
X-original-commit: f5e5aba9e203b42b661cc3b503fd37051ec20f93
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
