Files
odoo_source/addons/website_hr/views/website_hr_view.xml
T
David Monjoie b81d384c52 [IMP][REF] website_hr: add of published mixin, update of displayed
employees. Website publishers now see all employees + a publish button, like
for other website documents. Other people see the same published employees
as before.

The URL link for employees is not a specific url for each employee but the
about us page.
2015-01-20 17:34:33 +01:00

21 lines
724 B
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="hr_employee_form_view_website_published">
<field name="name">hr.employee.website.form</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='button_box']" position="inside">
<button class="oe_inline oe_stat_button" name="open_website_url"
type="object" icon="fa-globe">
<field name="website_published" widget="website_button"/>
</button>
</xpath>
</field>
</record>
</data>
</openerp>