If an employee is activated, his related records is updated as undefined. How to handle this in odoo
Suppose if we had created a custom field as many2one using hr.employee and if that employee is deactivated his related records is modified as undefined. I don't need that to modified as undefined