summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less
diff options
context:
space:
mode:
authorNikunj Ladava <nla@odoo.com>2018-01-31 16:51:13 +0530
committerAaron Bohy <aab@odoo.com>2018-02-15 17:25:00 +0100
commit4c186f30c3a77e661f0dfdd39fe2c1216ef1ac7b (patch)
treea3e0455cbf90f257f6ea7a74b5309bfc0402f583 /addons/web/static/src/less
parent8b9e854be4bfe3eda9a15368a864f7af606dee31 (diff)
[FIX] web: ActionManager: handle false actions
Server actions return an action to execute, or false. When they return false, an 'ir.actions.act_window_close' must be executed, such that the current dialog closes (if any) and mostly, the 'on_close' handler is executed, which ensures for example that the current view is reloaded. The case where server actions return false has been broken by rev. 32b8cec53. It produced tracebacks in several models, when clicking on some actions in the 'Action' dropdown. For instance, in lunch, go to Configuration > Products, open one in a form view, and click on 'Lunch: Archive/Restore products' in the Action dropdown.
Diffstat (limited to 'addons/web/static/src/less')
0 files changed, 0 insertions, 0 deletions