user_id = fields.Many2one('hr.employee', string='Employee', default=lambda self: self.env.user, tracking=True)i did not delet any record and its working on local but when i create create record on testing instance it give me above error.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
user_id = fields.Many2one('hr.employee', string='Employee', default=lambda self: self.env.user, tracking=True)i did not delet any record and its working on local but when i create create record on testing instance it give me above error.
Hello your field definition model is hr.employee while you have default=lambda self: self.env.user, i think this is not true at all
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up