Skip to Content
Menu
This question has been flagged
1 Atsakyti
9408 Rodiniai

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 : ​
Portretas
Atmesti

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
vas. 24
2354
4
saus. 20
6827
0
vas. 19
3784
1
birž. 23
51092
1
vas. 23
2077