summaryrefslogtreecommitdiff
path: root/addons/theme_default/data/theme_default_data.xml
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-08-31 13:47:54 +0200
committerAlexandre Kühn <aku@odoo.com>2018-08-31 14:31:01 +0200
commitde1631c7174de31542fc38e29dd64dd092230995 (patch)
tree7206dcda13feb69cb1842bb7ec6da89d1741337e /addons/theme_default/data/theme_default_data.xml
parent4bb0ea03e5f985b5c7a45ad680cdf63edc3e50ae (diff)
[FIX] web: call on_close handler from history_back
Revision on https://github.com/odoo/odoo/commit/3210f108272be89f1a7b01f4e1816b7f04ae0a3b Before this commit, when doing an action that opens a dialog (with `target: 'new'`), then triggering 'history_back', the `on_close` handler of the action was never called. This was not the correct behaviour, because the dialog closes without the `silent` option set. Indeed, when this option is not set, it should always call the `on_close` handler. The bug comes from closing the dialog without any options, and this case was not handled correctly in the commit above. This commit fixes the problem by ensuring that the `on_close` handler is called even when closing the dialog without any option.
Diffstat (limited to 'addons/theme_default/data/theme_default_data.xml')
0 files changed, 0 insertions, 0 deletions