diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-07-12 10:46:27 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-07-12 14:47:09 +0200 |
| commit | b9a9922b62d21ce1eed545937b2b90a5961dae11 (patch) | |
| tree | c478d37d5b57548af10536b2381db869baa83718 /addons/web/static/src/js/views/basic | |
| parent | 9ee00dd265457948e0cfc8bdcca2a34064191d0c (diff) | |
[FIX] web: execute action with null active_id instead of undefined
Indeed pyeval that evaluates the context explicitly handles null value
differently from undefined values. Let us therefore avoid crashes when
it manipulates the context.
Example of crash
* click on forecast in project kanban view without having already created
forecasts;
* click on 'Assign' to create a new forecast;
* selecting a task crashes because of the domain on task field that is
evaluated using pyeval with an undefined active_id in context that
pyeval cannot handle;
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
