~johnb-ca/openerp-canada/l10n_ca_on_hr_payroll

« back to all changes in this revision

Viewing changes to l10n_ca_on_hr_payroll_data.xml

  • Committer: John B
  • Date: 2012-10-26 15:46:07 UTC
  • Revision ID: justbe.john@gmail.com-20121026154607-y7xfm7smp26wungi
Extra Tax Deductions should be a CALC, not a DED

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
            <field name="name">Extra Tax Deductions Requested(L)</field>
169
169
            <field name="sequence" eval="50"/>
170
170
            <field name="code">L</field>
171
 
            <field name="category_id" ref="hr_payroll.DED"/>
 
171
            <field name="category_id" ref="CALC"/>
172
172
            <field name="condition_select">none</field>
173
173
            <field name="amount_select">code</field>
174
174
            <field name="amount_python_compute">result = (employee.l + inputs.L.amount) if I else 0.0</field>