Skip to Content
Menu
This question has been flagged
1 Reply
8006 Views

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
Discard

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
Discard
Related Posts Replies Views Activity
1
Feb 24
930
4
Jan 20
5146
0
Feb 19
2594
1
Jun 23
49007
1
Feb 23
796