Ronald Rubi has proposed merging
lp:~rr.clearcorp/openerp-costa-rica/6.1-l10n_cr_hr_payroll into
lp:openerp-costa-rica.
Requested reviews:
CLEARCORP drivers (clearcorp-drivers)
For more details, see:
https://code.launchpad.net/~rr.clearcorp/openerp-costa-rica/6.1-l10n_cr_hr_payroll/+merge/142795
Fix calculation to ccss in payroll_report.py
--
https://code.launchpad.net/~rr.clearcorp/openerp-costa-rica/6.1-l10n_cr_hr_payroll/+merge/142795
Your team CLEARCORP development team is subscribed to branch
lp:openerp-costa-rica.
=== modified file 'l10n_cr_hr_payroll/report/payroll_report.py'
--- l10n_cr_hr_payroll/report/payroll_report.py 2012-09-03 19:15:27 +0000
+++ l10n_cr_hr_payroll/report/payroll_report.py 2013-01-10 22:11:24 +0000
@@ -133,13 +133,16 @@
def get_ccss(self,line_ids):
code = 'CCSS-EMP'
- code2 = 'Banco Popular-EMP'
+ code2 = 'CCSS-EMP-PEN'
+ code3 = 'Banco Popular-EMP'
res = 0
for line in line_ids:
if line.code == code:
res += line.total
elif line.code == code2:
res += line.total
+ elif line.code == code3:
+ res += line.total
return res
_______________________________________________
Mailing list: https://launchpad.net/~clearcorp
Post to : [email protected]
Unsubscribe : https://launchpad.net/~clearcorp
More help : https://help.launchpad.net/ListHelp