Review: Needs Fixing
use this instead of inheritency of InputLine:
+        categories_dict = {}
+        categories_obj = BrowsableObject(self.pool, cr, uid, 
payslip.employee_id.id, categories_dict)



Then for the renaming of the variable localdict into categories_dict: i didn't 
test but are you sure the localdict where we evaluate the python will contain 
the last value computed for the categories?


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

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

Reply via email to