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
2月 24
|
2924 | |||
|
4
1月 20
|
7455 | |||
|
0
2月 19
|
4364 | |||
|
1
6月 23
|
51789 | |||
|
1
2月 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