summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorBarad Mahendra <mba@openerp.com>2017-12-06 12:35:50 +0000
committerMohammed Shekha <msh@openerp.com>2019-05-15 09:11:54 +0000
commit894b9f53dcef5182d371974d8d5ee52738684254 (patch)
treea6ef4c8d1790daacfa4894e62112d8214bdb11ce /addons/web/static/src/js/fields/basic_fields.js
parentb0e715764c7de237d866bec493b04ccf4121cc01 (diff)
[IMP] web: editable list view when no access rights
Currently, an editable list view (`editable` set) makes its cells editable. However, if the attribute `edit=false` is set (from context key or from access right restriction. See _postprocess_access_rights method of `ir.ui.view` for more details), the list view should not be editable, but is still. This commit makes the 'editable' property of the listview checking the `edit` attribute and provides some tests. Task-32612 closes odoo/odoo#21613 Signed-off-by: Jérome Maes (jem) <jem@openerp.com> Co-authored-by: Mohammed Shekha <msh@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions