I am creating a module for Employee Self Service . I want to achieve
1) Employee can only view his details . (out of which Employee can only edit Contact Information )
2) Disable Create that appears in fields dropdown in the form.
how can we achieve such restriction from python class
class hr_employee(osv.osv):
_name = "hr.employee"
_inherit = "hr.employee"
_description = "Employee"
hr_employee()