I have my class hrms.employee having a char field 'field_of_study' i need to relate it to co-model hrms.employee.education
class HrmsEmployee(models.Model):
_name = "hrms.employee"
_description = "Employee model for hrms module"
emp_id = fields.Many2one('hrms.employee')
field = fields.Char(string="Field of Study",
Code you have written seems to be correct. What problem you're facing?
Field 'Field Of Study' from employee has the value but 'Field Of Study' from education model doesnt show anything.
Same happens to me. Idk what to do. I got the code exactly like you and i've been wondering the same for the past 8 hours at work.