Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
9156 Prikazi

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
Opusti

Look into odoo tips: learnopenerp.blogspot.com

Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
feb. 24
2060
4
jan. 20
6346
0
feb. 19
3517
1
jun. 23
50791
1
feb. 23
1764