Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Plan(models.Model):
- _name="plan"
- subject_id=fields.Many2one("subject")
- name=fields.Char('name')
- class Employee(models.Model):
- _inherit="hr.employee"
- subject_ids=fields.Many2many("subject")
Add Comment
Please, Sign In to add comment