diff --git a/addons/website_hr/models/hr_employee.py b/addons/website_hr/models/hr_employee.py index 3f7cd154..db5af91d 100644 --- a/addons/website_hr/models/hr_employee.py +++ b/addons/website_hr/models/hr_employee.py @@ -8,6 +8,10 @@ class HrEmployee(models.Model): _inherit = ['hr.employee', 'website.published.mixin'] public_info = fields.Char(string='Public Info') + website_ids = fields.Many2many('website', 'website_hr_emp_pub_rel', + 'website_id', 'emp_id', + string='Websites', copy=False, + help='List of websites in which Employee is published.') @api.multi def _compute_website_url(self): diff --git a/addons/website_hr/views/hr_employee_views.xml b/addons/website_hr/views/hr_employee_views.xml index 7d21e8b7..d34c5a6e 100644 --- a/addons/website_hr/views/hr_employee_views.xml +++ b/addons/website_hr/views/hr_employee_views.xml @@ -15,6 +15,7 @@ + diff --git a/addons/website_hr/views/website_hr_templates.xml b/addons/website_hr/views/website_hr_templates.xml index 9b152946..a80d234f 100644 --- a/addons/website_hr/views/website_hr_templates.xml +++ b/addons/website_hr/views/website_hr_templates.xml @@ -11,7 +11,7 @@
- +

Our Team

@@ -22,12 +22,14 @@
- -
- +
+ +
+ +
+
+
-
-