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
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
1
fev. 24
|
2671 | ||
|
|
4
jan. 20
|
7134 | ||
|
|
0
fev. 19
|
4071 | ||
|
obtain the id of a self (onchange) odoo
Resolvido
|
|
1
jun. 23
|
51479 | |
|
|
1
fev. 23
|
2418 |
Look into odoo tips: learnopenerp.blogspot.com