diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-08-11 08:46:11 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-08-11 10:28:12 +0200 |
| commit | 870aa81ad9ef26b88bff8190a71e8c805fe33beb (patch) | |
| tree | f97cbe1e7d197ac96152c96e0d760293744f9f4f /addons/web/static/src/js/widgets/data_export.js | |
| parent | 3b7fb9934d795ff6971727089e6bbe0a77c06476 (diff) | |
[FIX] web: BasicModel: default_get: handle false value for o2m
The value for one2many fields returned by default_get may be a
list of commands, or directly a list of ids. These cases were
correctly handled. However, it seems that the value can also be
false, and when this happened, it crashed. For instance, go to
Sales > Leads (must be activated in the Settings) > in the list
view, check several leads > in 'Action', click on 'Convert to
Opportunities' > crash.
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
0 files changed, 0 insertions, 0 deletions
