diff options
| author | Tanguy Charlier <tac@odoo.com> | 2016-04-12 14:14:15 +0200 |
|---|---|---|
| committer | Tanguy Charlier <tac@odoo.com> | 2016-04-22 13:44:57 +0200 |
| commit | 67c7d45ea83164253534bbc31e9c744ac1a54ff5 (patch) | |
| tree | cd99d8ae64c6a32019cc56472e129a8aee398ce1 /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | d29ca90c7513014d323bc70ad21118212dc617ea (diff) | |
[FIX] project_timesheet: Missing 'fields' argument in search_read
* It is always better to restrict the read to the fields that are actually needed
* In this particular case, since _get_task is called during the create() of an an analytic line with task_id set,
it would result in reading the analytic line being created, which will overwrite the cache for stored computed fields with wrong empty values.
Restricting the fields to read means that computed fields are not read and keep their appropriate values
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
