[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:
parent
3530eb8c7b
commit
2a640918c7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue