[FIX] potential problem with create & edit in m2o, it should not set a default_name

bzr revid: nicolas.vanhoren@openerp.com-20120621111933-s9wmabv4bh8p7n1n
This commit is contained in:
niv-openerp 2012-06-21 13:19:33 +02:00
parent 3530eb8c7b
commit 2a640918c7
1 changed files with 1 additions and 1 deletions

View File

@ -2409,7 +2409,7 @@ instance.web.form.CompletionFieldMixin = {
}
// create...
values.push({label: _t("<em>   Create and Edit...</em>"), action: function() {
self._search_create_popup("form", undefined, {"default_name": search_val});
self._search_create_popup("form", undefined, {});
}});
return values;