summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-05-20 11:05:11 +0200
committerDenis Ledoux <dle@odoo.com>2015-05-20 11:08:19 +0200
commitac92551406c333dc6829126e4c2fc6f0f1c613f9 (patch)
tree3abba95dcf306c1948e54cb259688dfa7159448b /addons/web/controllers/main.py
parent0fcb15c797fe3fba63640a2b792c57527d3a9b5d (diff)
[FIX] ir_attachment: hide Attachments > Add/Delete if not write access
To be able to see record attachments, you need to have read access to the record. To be able to add or delete attachment, you need to have write access to the record. The button add/delete were displayed as soon as you had the read access, but if you had not the write access, both buttons failed. This revision do not display the add/delete buttons of Attachment dropdown menu if you do not have the right to add / delete attachments to the record (you do not have write access to the record) opw-640242
Diffstat (limited to 'addons/web/controllers/main.py')
0 files changed, 0 insertions, 0 deletions