コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
9142 ビュー

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
6340
0
2月 19
3508
1
6月 23
50781
1
2月 23
1748