[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_);
|
this._super(value_);
|
||||||
},
|
},
|
||||||
|
is_false: function() {
|
||||||
|
return _(this.get("value")).isEmpty();
|
||||||
|
},
|
||||||
get_value: function() {
|
get_value: function() {
|
||||||
var tmp = [commands.replace_with(this.get("value"))];
|
return [commands.replace_with(this.get("value"))];
|
||||||
return tmp;
|
|
||||||
},
|
},
|
||||||
get_search_blacklist: function() {
|
get_search_blacklist: function() {
|
||||||
return this.get("value");
|
return this.get("value");
|
||||||
|
|
Loading…
Reference in New Issue