I agree, a browse within a browse is a bad idea!
Maybe store all the statement names in a list first and then loop through the 
current ids with a browse and compare ?
That would at least eliminate the nested browse call.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1094227-dhr/+merge/141712
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1094227-dhr.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to