summaryrefslogtreecommitdiff
path: root/addons/web/doc/module/static/src/css/web_example.css.1.diff
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-06-29 12:53:25 +0200
committerXavier Morel <xmo@openerp.com>2012-06-29 12:53:25 +0200
commite979565c682e46f8ea75b27cbf4a1bf6783511ae (patch)
tree38cefc01e7a47203293d7d51896c9483cb82285a /addons/web/doc/module/static/src/css/web_example.css.1.diff
parent6f22caee304a1b99085e6559dc61220cb6fe4567 (diff)
[FIX] action-type button from a list row being edited in an o2m
Issue 575065 Flow for a button[@type=action] requires going through multiple RPC calls to execute action. Due to reloading behavior of o2m-list on actions (saves containing form then executes action then reloads row), internal form view gets removed while e.g. server action is being fetched (in Views#do_execute_action). Problem: there is guard on ``rpc`` call which drops response to stopped widget (Widget#rpc) => action/load call never returns successfully because linked form is dead. Solution: instead of calling View#do_execute_action via the formview, call it via the listview (do_execute_action was already partially overridden to change the ``on_close`` callback, override it further). => widget still lives, and rpc requests execute correctly leading to all actions being correctly called (mostly). bzr revid: xmo@openerp.com-20120629105325-vmwpyi7w3pc33sg9
Diffstat (limited to 'addons/web/doc/module/static/src/css/web_example.css.1.diff')
0 files changed, 0 insertions, 0 deletions