Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
9162 Visninger

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
Kassér

Look into odoo tips: learnopenerp.blogspot.com

Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
feb. 24
2063
4
jan. 20
6348
0
feb. 19
3518
1
jun. 23
50791
1
feb. 23
1776