← Back to team overview

openerp-dev-web team mailing list archive

Re: lp:~openerp-dev/openobject-addons/trunk-payroll-python-code-browse-using-dot-mtr into lp:~openerp-dev/openobject-addons/trunk-payroll

 

Review: Needs Fixing
categories_obj = Categories(self.pool, cr, uid, payslip.employee_id.id, categories_dict)  &
localdict['categories'] = categories_obj
 => i think no need to initialize this in for loop ...when your categories_dict is ready you can create object outside the for loop.

can you check.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-payroll-python-code-browse-using-dot-mtr/+merge/61506
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-payroll.


References