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
|
2924 | |||
|
4
jan. 20
|
7453 | |||
|
0
fev. 19
|
4364 | |||
|
obtain the id of a self (onchange) odoo
Resolvido
|
1
jun. 23
|
51786 | ||
|
1
fev. 23
|
2677 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Look into odoo tips: learnopenerp.blogspot.com