Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3947 Tampilan

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 ?


Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Penulis

unfortunately its not working

when i apply this role it gives me 500 internal error

Post Terkait Replies Tampilan Aktivitas
1
Des 22
2485
2
Feb 24
2014
1
Okt 22
3298
1
Sep 21
2717
2
Des 20
3698