Skip to content
Snippets Groups Projects
Commit 0fd3a640 authored by RomainLibert's avatar RomainLibert Committed by Yannick Tivisse
Browse files

[IMP] website_hr: Adapt module with new hr.employee.public model

parent 7158b5e6
No related branches found
No related tags found
No related merge requests found
......@@ -14,3 +14,10 @@ class HrEmployee(models.Model):
super(HrEmployee, self)._compute_website_url()
for employee in self:
employee.website_url = '/aboutus#team'
class HrEmployeePublic(models.Model):
_name = 'hr.employee.public'
_inherit = ['hr.employee.public', 'website.published.multi.mixin']
public_info = fields.Char(string='Public Info')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment