[FIX] many2many_tags: the widget accept the required attribute
bzr revid: chm@openerp.com-20121119122413-plp6klbytyjuhwqt
This commit is contained in:
parent
09a2f24398
commit
c7e8142cae
|
@ -4026,9 +4026,11 @@ instance.web.form.FieldMany2ManyTags = instance.web.form.AbstractField.extend(in
|
|||
}
|
||||
this._super(value_);
|
||||
},
|
||||
is_false: function() {
|
||||
return _(this.get("value")).isEmpty();
|
||||
},
|
||||
get_value: function() {
|
||||
var tmp = [commands.replace_with(this.get("value"))];
|
||||
return tmp;
|
||||
return [commands.replace_with(this.get("value"))];
|
||||
},
|
||||
get_search_blacklist: function() {
|
||||
return this.get("value");
|
||||
|
|
Loading…
Reference in New Issue