diff options
| author | Martin Trigaux <mat@odoo.com> | 2014-10-24 15:36:58 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2014-10-24 15:36:58 +0200 |
| commit | 7ec7f1ba4088525f3ad612557757deae294fc688 (patch) | |
| tree | c2c9230085bd696fa0a1495b998fb6ed1b9a082b /doc/reference/javascript.rst | |
| parent | cd8bd872e85bd07da58b886dbe0ad4c8a4e6714d (diff) | |
[FIX] web: avoid incoherent actual_mode after refresh
When accessing an existing record in form mode directly (enter the url or refresh a page), the daterecord has not been initialized yet. This means that the value of actual_mode will be set to 'edit' before loading the current record (method _actualize_mode() called from do_show()).
This was problematic for one2many fields that we loaded in edit mode, showing add/delete icons/buttons in readonly views. (opw 607910)
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
