summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2014-10-24 15:36:58 +0200
committerDavid Monjoie <dmo@odoo.com>2015-02-26 13:55:48 +0100
commite2fa66b05df027c3d0977bccf6bb508f2cfc3669 (patch)
tree4f9fd297c5e1fd5081d5de9cd31db2b19f3846f5 /addons/analytic_user_function/analytic_user_function_view.xml
parente73a3c68980b4c3b6fb54425525ba4a6803c12b1 (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) Backport of 7ec7f1ba4088525f3ad612557757deae294fc688 for 7.0 and saas<6. (opw 627885)
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions