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

Filter product by company in odoo 9

By
shameem@aχoncoms
on 9/4/16, 5:39 AM 253 views

Hi community,

In multi company, I want hide products of other companies to  the user of one company.

I expect like this

            [('company_id', 'in',user.company_ids)]


Thanks in advance



0
shameem@aχoncoms
On 9/4/16, 7:31 AM

I found the answer

There already is a product.product multicompany rule (but it is inactive by default): "Product multi-company"
xml id: product.product_comp_rule
You can active it by going to settings => general settings. Check "manage multi company", then uncheck "share product to all companies"


    from 

    http://stackoverflow.com/questions/37500668/limit-products-to-company-assigned-to-user-in-multi-company-odoo-9

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: 9/4/16, 5:39 AM
Seen: 253 times
Last updated: 9/4/16, 7:32 AM