e2fa66b05d
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
|
||
---|---|---|
.. | ||
boot.js | ||
chrome.js | ||
corelib.js | ||
coresetup.js | ||
data.js | ||
data_export.js | ||
dates.js | ||
formats.js | ||
pyeval.js | ||
search.js | ||
test_support.js | ||
testing.js | ||
view_form.js | ||
view_list.js | ||
view_list_editable.js | ||
view_tree.js | ||
views.js |