diff options
| author | Raphael Collet <rco@odoo.com> | 2018-06-26 13:20:23 +0000 |
|---|---|---|
| committer | mreficent <miquel.raich@eficent.com> | 2018-09-26 17:49:30 +0000 |
| commit | 186b1c09ccd8092c8ec5c43ae1e70fa91caeb5e0 (patch) | |
| tree | e4a0d162392d9ce8412884e1f22d344a387d4e0f /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | b08aa26d8fd453f94b41307ac442489cf71e949a (diff) | |
[FIX] base: avoid prefetching all the fields when getting context
When getting the context of res_users, all the fields are read but if
the schema is being modified and the modifications are not yet commited
in the database, this leads to a bad query.
With this commit, a read is used to fetch only the needed fields.
Thanks to @RCO for finding this issue that only occurs in specific
planetary alignment.
closes odoo/odoo#27263
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
