-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhr_labour_union_data.xml
24 lines (21 loc) · 1005 Bytes
/
hr_labour_union_data.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
<?xml version="1.0" encoding="utf-8" ?>
<openerp>
<data>
<!-- Payroll Register -->
<record id="hr_register_labour_union" model="hr.contribution.register">
<field name="name">Register for Labour Union Dues</field>
</record>
<record id="hr_payroll_rule_labour_union" model="hr.salary.rule">
<field name="code">LU</field>
<field name="name">Labour Union Contribution</field>
<field name="category_id" ref="hr_payroll.DED"/>
<field name="condition_select">python</field>
<field name="condition_python">result = contract.is_labour_union and categories.GROSS >= 0.01</field>
<field name="amount_select">fix</field>
<field eval="0" name="amount_fix"/>
<field name="register_id" ref="hr_register_labour_union"/>
<field name="sequence" eval="2200"/>
<field name="note"></field>
</record>
</data>
</openerp>