[FIX] ignore blur event on m2o input during autocompletion or if a sub-popup is open
[FIX] ignore blur event on m2o input during autocompletion or if a sub-popup is open

jquery.ui.autocomplete does quite a bit of focus-setting during and
around itself, leading to blur events being triggered outside
expectations (e.g. after an action has been selected and the dropdown
has been closed due to the action opening a popup whose content gets
focused somehow).

Really, the guy who implemented o2m's autosave-on-blur should be shot.

Wait, that would be me.


akretion/openerp-web,havt/openerp-web,havt/openerp-web,akretion/openerp-web,havt/openerp-web,akretion/openerp-web,havt/openerp-web,havt/openerp-web