[FIX] hr_payroll_account: do not create entries with amount at 0
authorMartin Trigaux <mat@openerp.com>
Tue, 30 Sep 2014 14:17:57 +0000 (16:17 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 30 Sep 2014 14:37:24 +0000 (16:37 +0200)
commit7201bc0250e460e13698d453018c2a83b75cbc5e
treeb405661565a2c00a1893f97bba32c18ba5694dd4
parent937fb4aa1105dac22fda231d68d51257171e9623
[FIX] hr_payroll_account: do not create entries with amount at 0

If the salary compuation gives a salary of zero, skip the creation of the account.move.line (not good to have lines at 0).
Fixes lp:1298116, opw 605816
addons/hr_payroll_account/hr_payroll_account.py