Bharat Devnani (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-837726-bde into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #837726 in OpenERP Addons: "hr_payroll_account error 6.1"
  https://bugs.launchpad.net/openobject-addons/+bug/837726

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-837726-bde/+merge/73529

Hello Sir,

I have applied the patch, given by Christopher Ormaza, and now its working as 
expected.

Thanks & Regards,
Devnani Bharat R.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-837726-bde/+merge/73529
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-837726-bde.
=== modified file 'hr_payroll_account/hr_payroll_account.py'
--- hr_payroll_account/hr_payroll_account.py	2011-07-11 22:40:10 +0000
+++ hr_payroll_account/hr_payroll_account.py	2011-08-31 13:32:42 +0000
@@ -118,7 +118,7 @@
                     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, {

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to