Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9150 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 24
2059
4
ม.ค. 20
6344
0
ก.พ. 19
3512
obtain the id of a self (onchange) odoo แก้ไขแล้ว
1
มิ.ย. 23
50783
1
ก.พ. 23
1749