[FIX] hr : hr_payroll_account error 6.1
lp bug: https://launchpad.net/bugs/837726 fixed bzr revid: bde@tinyerp.com-20110831132731-26dsntk9rphpqpca
This commit is contained in:
parent
0312e68bc3
commit
a3b678909d
|
@ -118,7 +118,7 @@ class hr_payslip(osv.osv):
|
|||
debit_sum += debit_line[2]['debit'] - debit_line[2]['credit']
|
||||
if credit_account_id:
|
||||
line_ids.append(credit_line)
|
||||
credit_sum += credit_line[2]['credit'] - credit_line['debit']
|
||||
credit_sum += credit_line[2]['credit'] - credit_line[2]['debit']
|
||||
|
||||
if debit_sum > credit_sum:
|
||||
adjust_credit = (0, 0, {
|
||||
|
|
Loading…
Reference in New Issue