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

Example : 

class TableA(models.Model):
    a_ids = fields.Many2many('model.c', 'model_c_id')

 class TableB(models.Model):
    b_ids = fields.Many2many('model.c', 'model_c_id')

in table b i want to create function that pass value from a_ids field to b_ids field : ​
Avatar
Buang

Look into odoo tips: learnopenerp.blogspot.com

Jawaban Terbai

Hi,

Check this answer. you will get some idea about Many2many field writing.

https://stackoverflow.com/questions/54079315/how-to-add-update-and-delete-many2many-field-records-in-odoo-10

Thanks

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Feb 24
2069
4
Jan 20
6352
0
Feb 19
3520
1
Jun 23
50797
1
Feb 23
1782