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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
1
helmik. 24
|
2059 | ||
|
4
tammik. 20
|
6341 | ||
|
0
helmik. 19
|
3508 | ||
obtain the id of a self (onchange) odoo
Ratkaistu
|
|
1
kesäk. 23
|
50783 | |
|
1
helmik. 23
|
1749 |
Look into odoo tips: learnopenerp.blogspot.com