Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3958 Vizualizări

hello

am using multi companies and i have problem, my vendors are not shown to all companies i should add them one by one to each company

do you have any way to set them public as products ?

i want to add Vendors in parent company

and lett all other companies to see them ?


Imagine profil
Abandonează
Cel mai bun răspuns

Probably the solutions is to create ir.rule on res.partner like (all partners):

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

or  strongly (only vendors):

[('supplier','=',1), ('parent_id', '=', False), '|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]

and set field company_id = False if vendor sholud be visible for all.

Imagine profil
Abandonează
Autor

unfortunately its not working

when i apply this role it gives me 500 internal error

Related Posts Răspunsuri Vizualizări Activitate
1
dec. 22
2509
2
feb. 24
2026
1
oct. 22
3323
1
sept. 21
2734
2
dec. 20
3698