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
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
فبراير 24
|
2064 | ||
|
4
يناير 20
|
6348 | ||
|
0
فبراير 19
|
3519 | ||
|
1
يونيو 23
|
50792 | ||
|
1
فبراير 23
|
1778 |
Look into odoo tips: learnopenerp.blogspot.com