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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lut 24
|
2058 | ||
|
4
sty 20
|
6339 | ||
|
0
lut 19
|
3507 | ||
obtain the id of a self (onchange) odoo
Rozwiązane
|
|
1
cze 23
|
50779 | |
|
1
lut 23
|
1746 |
Look into odoo tips: learnopenerp.blogspot.com