summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2017-12-14 11:54:18 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2017-12-19 11:18:12 +0100
commitad8e1118c1a18c22555abecccfb8ee0eee387e5e (patch)
tree435b9bfcb65ccbd226328fd5a9fb2bc7277057ca /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parentf65f0659011413cc5df04f031c31ef72489e28c6 (diff)
[FIX] web: action url never call on_close method
On a tree view: - Add a button returning an `act_url` action; e.g.: ``` @api.multi def open_google(self): return { 'type': 'ir.actions.act_url', 'url': 'https://google.fr/', 'target': 'new', } ``` - Click on a button The action call works only once because the button is never re-enabled. The button is actually enabled only at view rendering. Therefore, we call `on_close` in order to reload the view. opw-784587
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions