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.
17 lines
711 B
17 lines
711 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<data>
|
|
<!--New Salary Rule for loan deduction-->
|
|
<record id="hr_payslip_rule_insurance" model="hr.salary.rule">
|
|
<field name="code">INSUR</field>
|
|
<field name="name">Insurance Amount</field>
|
|
<field name="category_id" ref="hr_payroll.DED"/>
|
|
<field name="amount_select">code</field>
|
|
<field name="amount_python_compute">result = -(employee.deduced_amount_per_month) </field>
|
|
<field name="appears_on_payslip" eval="True"/>
|
|
<field name="sequence" eval="190"/>
|
|
<field name="struct_id" ref="hr_payroll.structure_002"/>
|
|
</record>
|
|
</data>
|
|
</odoo>
|
|
|
|
|