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.

1

How to create record rule for res.partner?

By
Stephen Raj
on 10/8/14, 8:25 AM 1,470 views

Hi,

I would like to filter customers based on the users. so I've created following record rule:

['|',('create_uid','=',user.id),('create_uid','=',False)]

It works fine. But I could not create any customers after applying this record rule.

 

Error:

Access Denied

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Partner, Operation: read)

 

Please help me to create record rule for customers.

 

Thank you,

 

0

Drees Far

--Drees Far--
1130
| 5 2 6
Tunis, Tunisia
--Drees Far--
Drees Far
On 8/14/15, 5:08 AM

What i have understood is that your user that you are working with does not have the right to write. Here is allowed only to read.

(Document type: Partner, Operation: read)

Try to change the rules in your menu Groupe.

This capture may help you friend.

Regards.

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

2 follower(s)

Stats

Asked: 10/8/14, 8:25 AM
Seen: 1470 times
Last updated: 8/14/15, 5:08 AM