Odoo Help


Suppliers vs Customers - Separate them or access control

on 2/24/14, 12:07 AM 1,796 views

In OpenERP, in a partner you can mentioned via checkbox whether it is a supplier or a customer.

I need to provide following 1) Separate Links as "Suppliers" or "Customers" :- Clicking on it shows respective records only, rather then everything combined. 2) Access Control :- We have different set of employees handling the customer relationship and suppliers/vendor relationship. Is it possible to show the records based on user roles? 3) Different fields :- We have different fields for "Suppliers" vs "Customers". Is this possible? e.g. in case of Suppliers, there might be fields like "commission percentage", etc, which is totally irrelevant for "Customers"

What is the best method to separate out the two functionality?


André Schenkels
On 2/24/14, 2:52 AM

I don't think this can be done in the way you want.

It's possible to display only customers or suppliers through the use of menuitems with correct domain. But this isn't an access rule so there would be places in the OpenERP system where a user with create rights on the res_partner model should be able to create or change records.

The only possibility I see is to try and create an advanced access rule on the res_partner model with a check if customer or supplier == true

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.


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

1 follower(s)


Asked: 2/24/14, 12:07 AM
Seen: 1796 times
Last updated: 3/16/15, 8:10 AM