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
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
февр. 24
|
2939 | |||
|
4
янв. 20
|
7471 | |||
|
0
февр. 19
|
4370 | |||
|
1
июн. 23
|
51802 | |||
|
1
февр. 23
|
2682 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Look into odoo tips: learnopenerp.blogspot.com