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
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
févr. 24
|
2042 | ||
|
4
janv. 20
|
6325 | ||
|
0
févr. 19
|
3499 | ||
|
1
juin 23
|
50769 | ||
|
1
févr. 23
|
1740 |
Look into odoo tips: learnopenerp.blogspot.com