콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Hello community!
I have my odoo configured with multicompany and shared all products,
The point is that I need to create a company but I don't want it to share the products.
How can I achieve it?
I also need to make a personalized shopping module for this company.
Thank you

아바타
취소

Does this mean that you want 2 companies to share the product catalog but the 3rd company should have it's own product catalog ?

작성자

Yes, it is exactly what I need ..

베스트 답변

Hi,

Following rule will help you to achieve this

<record id="product_template_rule" model="ir.rule">
<field name="name">Product Template</field>
<field name="model_id" ref="model_product_template"/>
<field name="domain_force">[('company_id', 'child_of', user.company_ids.ids)]</field>
</record>

Assign Company ID in Users and Products. Based on that you can do it.

Thanks.

아바타
취소
관련 게시물 답글 화면 활동
2
3월 19
9078
1
10월 23
2081
0
7월 23
1791
2
12월 20
3698
2
4월 19
3307