Review: Needs Fixing

Hello Divyesh,

Why we need to call _get_childre() method from all other method.

chid_ids = self._get_children(account_id) ????

By doing this you are performing same action again and again!!! It would be 
better if you collect the value in some variable and get that from all other 
methods!!

Thanks,
Purnendu Singh
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-880844-mdi/+merge/83604
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-880844-mdi.

_______________________________________________
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