diff --git a/addons/base/static/src/js/form.js b/addons/base/static/src/js/form.js
index 42a59498fab..541341c51cd 100644
--- a/addons/base/static/src/js/form.js
+++ b/addons/base/static/src/js/form.js
@@ -1078,6 +1078,9 @@ openerp.base.form.FieldMany2One = openerp.base.form.Field.extend({
return false;
}
},
+ focus: function(e, ui) {
+ e.preventDefault();
+ },
html: true
});
},
@@ -1097,7 +1100,7 @@ openerp.base.form.FieldMany2One = openerp.base.form.Field.extend({
// additional selections, actions that open popup
if (values.length > self.limit) {
values = values.slice(0, self.limit);
- values.push({label: " More...", action: function() {
+ values.push({label: " Search More...", action: function() {
dataset.name_search(search_val, false, function(data) {
self._search_create_popup("search", data.result);
});
@@ -1109,7 +1112,7 @@ openerp.base.form.FieldMany2One = openerp.base.form.Field.extend({
self._search_create_popup("form");
}});
}
- values.push({label: " Create...", action: function() {
+ values.push({label: " Create and Edit...", action: function() {
self._search_create_popup("form");
}});