跳至内容
菜单
此问题已终结
1 回复
9145 查看

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 : ​
形象
丢弃

Look into odoo tips: learnopenerp.blogspot.com

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
2月 24
2059
4
1月 20
6341
0
2月 19
3508
1
6月 23
50783
1
2月 23
1749