Odoo Help

0

How to Disable Delete Access For Attachment?

By
Mckayla Michelle
on 10/7/14, 3:55 AM 1,779 views

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

0
ahmad
On 10/7/14, 5:51 AM

you should play with the record rules.

0
Prakash
On 10/7/14, 6:14 AM

What if I allow upload attachment but disallow delete?

Mckayla Michelle
on 10/7/14, 6:18 AM

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

Prakash
on 10/7/14, 6:32 AM

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

Mckayla Michelle
on 10/7/14, 9:37 AM

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.

Prakash
on 10/8/14, 1:37 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)

Stats

Asked: 10/7/14, 3:55 AM
Seen: 1779 times
Last updated: 3/16/15, 8:10 AM