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

Hello, I have Odoo8.

I have a model A which has a many2many field relation to model B. Is there any way to access to the many2many field from model B? Thanks!

Avatar
Buang
Jawaban Terbai

You create a similar many2many field in model B, which is based on the same relation object.

fields.many2many('other.object.name', 'relation object', 'actual.object.id', 'other.object.id', 'Field Name')

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Sep 17
10023
1
Mei 15
21870
1
Feb 24
1998
0
Jul 24
3031
2
Des 22
14773