Example :
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 :
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Example :
Hi,
Check this answer. you will get some idea about Many2many field writing.
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 |
Look into odoo tips: learnopenerp.blogspot.com