trytonpsk-staff_payroll/employee.xml

37 lines
1.5 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="staff_mandatory_wage_view_tree">
<field name="model">staff.payroll.mandatory_wage</field>
<field name="type">tree</field>
<field name="name">mandatory_wage_tree</field>
</record>
<record model="ir.ui.view" id="staff_mandatory_wage_view_form">
<field name="model">staff.payroll.mandatory_wage</field>
<field name="type">form</field>
<field name="name">mandatory_wage_form</field>
</record>
<record model="ir.ui.view" id="employee_view_form">
<field name="model">company.employee</field>
<field name="inherit" ref="company.employee_view_form"/>
<field name="name">employee_form</field>
</record>
<record model="ir.action.wizard" id="act_create_mandatory_wages">
<field name="name">Create Mandatory Wages</field>
<field name="wiz_name">staff.payroll.create_mandatory_wages</field>
</record>
<record model="ir.action.keyword"
id="action_create_create_mandatory_wages_keyword">
<field name="keyword">form_action</field>
<field name="model">company.employee,-1</field>
<field name="action" ref="act_create_mandatory_wages"/>
</record>
</data>
</tryton>