flectra/addons/website_hr/views/hr_employee_views.xml
2018-01-17 12:10:36 +05:30

25 lines
984 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"/>
<field name="website_ids" widget="many2many_tags"/>
</group>
</xpath>
</field>
</record>
</flectra>