Odoo Help

Welcome!

This community 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.

0

How to Disable Delete Access For Attachment?

By
Mckayla Michelle
on 10/7/14, 3:55 AM 1,103 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

--Prakash--
3173
| 5 4 7
Bikaner, India
--Prakash--

OpenERP Devloper at SunARC Technology

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

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