Khushboo Bhatt(openerp) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-942373-kbh into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-942373-kbh/+merge/111356

hello,
 
   hr_payroll_account : journal entry for salary rule  which is not in payslip 
lines are created.

Thank you,
KBH.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-942373-kbh/+merge/111356
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-942373-kbh.
=== modified file 'hr_payroll_account/hr_payroll_account.py'
--- hr_payroll_account/hr_payroll_account.py	2011-12-19 16:54:40 +0000
+++ hr_payroll_account/hr_payroll_account.py	2012-06-21 08:47:27 +0000
@@ -107,7 +107,7 @@
                 'journal_id': slip.journal_id.id,
                 'period_id': period_id,
             }
-            for line in slip.line_ids:
+            for line in slip.details_by_salary_rule_category:
                 amt = slip.credit_note and -line.total or line.total
                 partner_id = False
                 debit_account_id = line.salary_rule_id.account_debit.id

_______________________________________________
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