forked from uditagarwal/pay_roll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
employee.xml
50 lines (50 loc) · 1.87 KB
/
employee.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0"?>
<!-- This file contains the view in Employees model for the Salary -->
<tryton>
<data>
<record model="ir.ui.view" id="employee_sal_form">
<field name="model">company.employee</field>
<field name="type">form</field>
<field name="inherit" ref="company.employee_view_form2"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath
expr="/form/field[@name="company"]"
position="after">
<label name="basic_salary"/>
<field name="basic_salary"/>
<newline/>
<label name="hra"/>
<field name="hra"/>
<newline/>
<label name="da"/>
<field name="da"/>
<label name="total_sal"/>
<field name="total_sal"/>
</xpath>
</data>
]]>
</field>
</record>
<record model="ir.ui.view" id="employee_sal_tree">
<field name="model">company.employee</field>
<field name="type">tree</field>
<field name="inherit" ref="company.employee_view_tree"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath
expr="/tree/field[@name="name"]"
position="after">
<field name="basic_salary"/>
<field name="hra"/>
<field name="da"/>
<field name="total_sal"/>
</xpath>
</data>
]]>
</field>
</record>
</data>
</tryton>