Review: Needs Fixing
remove the any one of this b'z both are doing the same thing 

pref_ids = pref_obj.browse(cr, uid ,context.get('rec_id',False), 
context=context)
or 
obj_ids = pref_obj.browse(cr, uid ,context.get('res_id'), context=context)




-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-785673-dbr/+merge/65150
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-785673-dbr.

_______________________________________________
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