Hi everyone, I have a model with Many2one to recover records according with an id record, and works fine, but if I try with Many2many, the tree view it´s ok and I can add many records, but the issue begins when I try to save, I get the NotImplementedError.
here is a part of my code:
py file:
x_id_empleado = fields.Many2many('hr.employee', string="Seleccione empleado")
xml file:
<field name="x_id_empleado" required="1" placeholder="Nombre Empleado" widget="many2many_list"/>
The same code for Many2one works, but it does not using Many2many, the list show errors in several .py files, so I think there is the problem, in my .py file. I tried adding an 'id' after the 'hr.employee' but it does not work.
( x_id_empleado = fields.Many2many('hr.employee', 'id', string="Seleccione empleado")
Thanks in advance
can you please put your code?