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

Suppliers vs Customers - Separate them or access control

By
Imaster
on 2/24/14, 12:07 AM 1,133 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?

Thanks!

0
a.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

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

1 follower(s)

Stats

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