[FIX] rectification de la dependance de l ONSS + ajout de la rule disabled spouse

bzr revid: osenda-20110509082605-ijnlwtn3324parj2
This commit is contained in:
Osenda
2011-05-09 10:26:05 +02:00
parent 364b098966
commit dd49fde201
2 changed files with 40 additions and 22 deletions
@@ -1411,24 +1411,24 @@
1408,"fix",7485,7500,,-3480.71,"Precompte Professionnel","Precompte Professionnel Bareme 2011",130,"P.P","hr_payroll_rules_baremeIII","range","rules['GROSS']",
1409,"fix",7500,7500,,-3488.73,"Precompte Professionnel","Precompte Professionnel Bareme 2011",130,"P.P","hr_payroll_rules_baremeIII","range","rules['GROSS']",
,,,,,,,,,,,,,
1410,"fix",1,1,,31,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1411,"fix",2,2,,85,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1412,"fix",3,3,,229,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1413,"fix",4,4,,418,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1414,"fix",5,5,,618,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1415,"fix",6,6,,817,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1416,"fix",7,7,,1016,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1417,"fix",8,8,,1231,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1418,"fix",9,9,,1452,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1419,"fix",10,10,,1673,"Child Allowance Belgium","Child Allowance Belgium",140,"Ch.A","hr_payroll_rules_child","range","employee.children",
1410,"fix",1,1,,31,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1411,"fix",2,2,,85,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1412,"fix",3,3,,229,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1413,"fix",4,4,,418,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1414,"fix",5,5,,618,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1415,"fix",6,6,,817,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1416,"fix",7,7,,1016,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1417,"fix",8,8,,1231,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1418,"fix",9,9,,1452,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
1419,"fix",10,10,,1673,"Child Allowance Belgium","Child Allowance Belgium",142,"Ch.A","hr_payroll_rules_child","range","employee.children",
,,,,,,,,,,,,,
1420,"fix",1,1,,85,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1421,"fix",2,2,,418,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1422,"fix",3,3,,817,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1423,"fix",4,4,,1231,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1424,"fix",5,5,,1673,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1425,"fix",6,6,,2115,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1426,"fix",7,7,,2557,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1427,"fix",8,8,,2999,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1428,"fix",9,9,,3441,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1429,"fix",10,10,,3883,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",141,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1420,"fix",1,1,,85,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1421,"fix",2,2,,418,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1422,"fix",3,3,,817,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1423,"fix",4,4,,1231,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1424,"fix",5,5,,1673,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1425,"fix",6,6,,2115,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1426,"fix",7,7,,2557,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1427,"fix",8,8,,2999,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1428,"fix",9,9,,3441,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1429,"fix",10,10,,3883,"Child Allowance for the Disabled Belgium","Child Allowance Belgium",144,"Ch.Handicap","hr_payroll_rules_child_handicap","range","employee.number_handicap",
1 id amount_select condition_range_min condition_range_max amount_percentage amount_fix name category_id sequence code parent_rule_id/id condition_select condition_range amount_percentage_base
1411 1408 fix 7485 7500 -3480.71 Precompte Professionnel Precompte Professionnel Bareme 2011 130 P.P hr_payroll_rules_baremeIII range rules['GROSS']
1412 1409 fix 7500 7500 -3488.73 Precompte Professionnel Precompte Professionnel Bareme 2011 130 P.P hr_payroll_rules_baremeIII range rules['GROSS']
1413
1414 1410 fix 1 1 31 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1415 1411 fix 2 2 85 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1416 1412 fix 3 3 229 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1417 1413 fix 4 4 418 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1418 1414 fix 5 5 618 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1419 1415 fix 6 6 817 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1420 1416 fix 7 7 1016 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1421 1417 fix 8 8 1231 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1422 1418 fix 9 9 1452 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1423 1419 fix 10 10 1673 Child Allowance Belgium Child Allowance Belgium 140 142 Ch.A hr_payroll_rules_child range employee.children
1424
1425 1420 fix 1 1 85 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1426 1421 fix 2 2 418 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1427 1422 fix 3 3 817 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1428 1423 fix 4 4 1231 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1429 1424 fix 5 5 1673 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1430 1425 fix 6 6 2115 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1431 1426 fix 7 7 2557 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1432 1427 fix 8 8 2999 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1433 1428 fix 9 9 3441 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
1434 1429 fix 10 10 3883 Child Allowance for the Disabled Belgium Child Allowance Belgium 141 144 Ch.Handicap hr_payroll_rules_child_handicap range employee.number_handicap
@@ -30,6 +30,13 @@
<field name="code">Ch.A</field>
<field name="parent_id" ref="hr_payroll.DED"/>
</record>
<record id="hr_payroll_head_spouse_handicap" model="hr.salary.head">
<field name="name">Disabled Spouse</field>
<field name="code">Sp.handicap</field>
<field name="parent_id" ref="hr_payroll.DED"/>
</record>
<!-- HR SALAR RULES-->
@@ -39,7 +46,7 @@
<field name="code">MAJ</field>
<field name="condition_select">none</field>
<field name="amount_select">percentage</field>
<field name="amount_percentage_base">contract.wage</field>
<field name="amount_percentage_base">rules['MAJ']</field>
<field name="amount_percentage">108.00</field>
</record>
@@ -137,7 +144,7 @@
<field name="name">Child Allowance for the Disabled Belgium</field>
<field name="code">Ch.Handicap</field>
<field name="amount_select">fix</field>
<field name="sequence">142</field>
<field name="sequence">143</field>
<field name="note">"Disabled child" means:
the child reaches at least 66% of failure or reduced physical or mental capacity
@@ -150,6 +157,17 @@
<field name="condition_python">result = bool(employee.number_handicap)</field>
</record>
<record id="hr_payroll_rules_spouse_handicap" model="hr.salary.rule">
<field name="category_id" ref="hr_payroll_head_spouse_handicap"/>
<field name="name">Disabled Spouse Allowance</field>
<field name="code">Sp.handicap</field>
<field name="amount_select">fix</field>
<field name="sequence">145</field>
<field name="amount_fix">31</field>
<field name="condition_select">python</field>
<field name="condition_python">result = employee.handicap==True</field>
</record>
<record id="hr_payroll_rules_company_car_parent" model="hr.salary.rule">
<field name="category_id" ref="hr_payroll_head_company_car"/>