[FIX] hr_payroll: fixed NET rule in data

bzr revid: qdp-launchpad@openerp.com-20110411080624-okp70ykmmp4gqop1
This commit is contained in:
Quentin (OpenERP) 2011-04-11 10:06:24 +02:00
parent f41c989295
commit f9aa29d04d
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@
<field name="category_id" ref="hr_payroll.NET"/>
<field name="condition_select">none</field>
<field name="amount_select">code</field>
<field name="amount_python_compute">result = heads['BASIC'] + ('ALW' in heads and heads['ALW'] or 0.0) - ('DED' in heads and heads['DED'] or 0.0)</field>
<field name="amount_python_compute">result = heads['BASIC'] + ('ALW' in heads and heads['ALW'] or 0.0) + ('DED' in heads and heads['DED'] or 0.0)</field>
</record>