diff options
| author | Khoi Nguyen <bng@odoo.com> | 2017-09-29 14:54:48 +0200 |
|---|---|---|
| committer | Khoi Nguyen <bng@odoo.com> | 2017-09-29 18:01:16 +0200 |
| commit | 33aa89ed05b8e011e47c67cf73d545b334a7034b (patch) | |
| tree | 842d8cff92cb629299e7b9a605832a36e6b81b7e /doc/reference | |
| parent | c01c620681b367400197c439602428ed327c065d (diff) | |
[FIX] web: discarding a new record in a modal closes the modal
Discarding a new record triggers the 'history_back' action. This makes
sense if the record was discarded from a normal form view, but not so
much when in a modal, where the expected behaviour is to close the
dialog.
This commit overrides the function in the action manager which handles
the switch to the previous view. It checks whether a dialog window is
open, in which case it simply closes it.
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
