This question has been flagged
3504 Views

Hello,

at the moment I have a many2one field and there autocomplete works nicely. batchbook_employee_01': fields.many2one('hr.employee', 'Technician', select=False, ondelete='set null'

Now at times it can happen that the technician is not an employee so I have to change it into a text field. Is it possible to implement some kind of autocomplete for this text field that looks up employee names so one can select a name from the employees or imput a different name?

Chris

Avatar
Discard