跳至内容
菜单
此问题已终结
3739 查看

i am having a model sales.bonus.configuration
it contain many two many field manager = fields.Many2many('hr.employee', relation='sales_bonus_configuration_manager', column1='sales_bonus_configuration_id',column2='hr_employee_id', string='Manager', required=True)


now i have a model sale.oder

manager_id = fields.Many2one('hr.employee', string='Manager')

now i want that record in many2many to be filled in many2 one based on some domain how can i achieve it


形象
丢弃
相关帖文 回复 查看 活动
3
12月 23
5989
2
3月 21
4807
3
4月 20
10875
2
2月 25
5912
1
12月 24
1463