[imp] small refactoring to be able to use get_search_result in m2m
[imp] small refactoring to be able to use get_search_result in m2m

MarkusTeufelberger/openerp-web,splbio/openerp-web,gisce/openerp-web,gisce/openerp-web,MarkusTeufelberger/openerp-web,gisce/openerp-web,MarkusTeufelberger/openerp-web,splbio/openerp-web,splbio/openerp-web