diff --git a/addons/website_hr/models/hr.py b/addons/website_hr/models/hr.py index d202331218c..3f60e298756 100644 --- a/addons/website_hr/models/hr.py +++ b/addons/website_hr/models/hr.py @@ -8,7 +8,7 @@ class hr_employee(osv.osv): _inherit = ['hr.employee', 'website.published.mixin'] _columns = { - 'public_info': fields.text('Public Info'), + 'public_info': fields.char('Public Info'), } def _website_url(self, cr, uid, ids, field_name, arg, context=None): diff --git a/addons/website_hr/static/description/index.html b/addons/website_hr/static/description/index.html new file mode 100644 index 00000000000..c8861eb8642 --- /dev/null +++ b/addons/website_hr/static/description/index.html @@ -0,0 +1,16 @@ + + + Our Team Page + Share your employees details on website + + + + + + + + Publish your employees public information on your "About Us" website page. + + + + diff --git a/addons/website_hr/static/description/team_page.png b/addons/website_hr/static/description/team_page.png new file mode 100644 index 00000000000..d21ea17d890 Binary files /dev/null and b/addons/website_hr/static/description/team_page.png differ diff --git a/addons/website_hr/static/src/less/website_hr.less b/addons/website_hr/static/src/less/website_hr.less new file mode 100644 index 00000000000..8259b54833e --- /dev/null +++ b/addons/website_hr/static/src/less/website_hr.less @@ -0,0 +1,4 @@ + +.o_avatar_info_container { + height: 250px; +} diff --git a/addons/website_hr/views/website_hr.xml b/addons/website_hr/views/website_hr.xml index 4d8be6e3b6e..db6ff086f26 100644 --- a/addons/website_hr/views/website_hr.xml +++ b/addons/website_hr/views/website_hr.xml @@ -2,6 +2,11 @@ + + + + + @@ -9,8 +14,8 @@ Our Team - - + + @@ -20,7 +25,7 @@ - + diff --git a/addons/website_hr/views/website_hr_view.xml b/addons/website_hr/views/website_hr_view.xml index 3abfb9d85b4..4d0b31cc1b9 100644 --- a/addons/website_hr/views/website_hr_view.xml +++ b/addons/website_hr/views/website_hr_view.xml @@ -13,6 +13,11 @@ + + + + +
+ Publish your employees public information on your "About Us" website page. +