[FIX] make m2o form fields focusable
bzr revid: xmo@openerp.com-20111006120425-z154ck3xez87ufbr
This commit is contained in:
parent
253467dfe2
commit
bcaac70b1b
|
@ -1785,6 +1785,9 @@ openerp.web.form.FieldMany2One = openerp.web.form.Field.extend({
|
|||
result.result.context = _.extend(result.result.context || {}, additional_context);
|
||||
self.do_action(result.result);
|
||||
});
|
||||
},
|
||||
focus: function () {
|
||||
this.$input.focus();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue