You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
861 B
21 lines
861 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!--Employee form view inherited for add the custom fields-->
|
|
<record id="view_employee_form" model="ir.ui.view">
|
|
<field name="name">hr.employee.form.legal</field>
|
|
<field name="model">hr.employee</field>
|
|
<field name="inherit_id" ref="hr.view_employee_form"/>
|
|
<field name="arch" type="xml">
|
|
<div class="oe_button_box" position="inside">
|
|
<button name="action_legal_view"
|
|
class="oe_stat_button"
|
|
invisible="legal_count == 0"
|
|
icon="fa-users"
|
|
type="object">
|
|
<field name="legal_count" widget="statinfo"
|
|
string="Legal Actions"/>
|
|
</button>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
</odoo>
|