跳至内容
菜单
此问题已终结
2 回复
8638 查看

Dear All,

I am new to openerp. Appreciate if someone could help me out how to disable the user for deleting the attachment?

https://dl.dropboxusercontent.com/u/42025188/attachment_delete.png

形象
丢弃
最佳答案

you should play with the record rules.

形象
丢弃
最佳答案

using attachment_size_limit module Block users to upload files.

Module: https://www.odoo.com/apps/7.0/attachment_size_limit/

http://openerpservice.in/define-size-limit-for-the-attachments-in-openerp7-0/

 

 

形象
丢弃
编写者

What if I allow upload attachment but disallow delete?

Then use Record rules set ir_attachment table set create, read, write check and delete options uncheck.

编写者

Hi prakash, I could not find any record for attachment. Kindly refer to the screenshot. https://dl.dropboxusercontent.com/u/42025188/could_not_find_attach_record.png

create new group ex: Attachment/User and in the Access Rights tab add new item object name ir.attachment and check access right read, write, create and uncheck delete and group assign to the user.

相关帖文 回复 查看 活动
5
5月 23
15241
2
12月 23
5209
1
5月 22
2444
0
4月 22
1916
2
3月 19
7598