flectra/addons/website_hr/views/hr_employee_views.xml
2018-01-16 02:34:37 -08:00

24 lines
912 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="hr_employee_form_view_website_published" model="ir.ui.view">
<field name="name">hr.employee.form.inherit</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<button name="toggle_active" position="before">
<button class="oe_stat_button" name="website_publish_button"
type="object" icon="fa-globe" groups="hr.group_hr_user">
<field name="website_published" widget="website_button"/>
</button>
</button>
<xpath expr="//page[@name='public']/group" position="inside">
<group>
<field name="public_info"/>
</group>
</xpath>
</field>
</record>
</flectra>