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  | 2698 | ||
|  | 4 1월 20  | 7153 | ||
|  | 0 2월 19  | 4088 | ||
|  | 1 6월 23  | 51504 | ||
|  | 1 2월 23  | 2446 | 
Look into odoo tips: learnopenerp.blogspot.com