diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-09-24 13:31:02 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-09-24 16:59:00 +0000 |
| commit | 14a5983dcaf5ce953ad6dbfa9662cca69813b4f9 (patch) | |
| tree | 53a9fa0be8d1f22782df7919b0efda376a367789 /addons/web/static/src/js/views/basic | |
| parent | 33f5fc7355115260fba122c96bea0ae965b96dc6 (diff) | |
[FIX] base_import: clear cache after a dry run
Test import of a file with xml ids.
At the first dry run, the xml id X is associated with id R for each such record.
If some records refer to X via a relational field, then in SQL it reduces
to a query using R as id; but R does not exist since it was a dry run.
As a result, subsequent runs fail.
The cache should be cleared after a dry run, since the xml ids are not reliable.
opw 2068446
closes odoo/odoo#37396
X-original-commit: 1b35294d7b8d07f373eca24977e2952b9cfb2c7d
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
