25 lines
984 B
XML
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>
|