Review: Needs Fixing
correct the license of the file.

help on register_id on rule should be improve.

+ for key, value in result.iteritems():
142     + for line in payslip_line.browse(self.cr, self.uid, value):
143     + res.append({
144     + 'payslip_name': payslip_obj.browse(self.cr, self.uid, [key])[0].name,
 ....

remove browse from for loop...and you can merge both the for loop so optimize 
the code.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-payroll-contribution-report-psi/+merge/61374
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-payroll.

_______________________________________________
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