Use jQuery.isEmptyObject to test xxx2Many required
issue9416 review317651003
This commit is contained in:
1 parent
7cb4222199
commit
c9b5bea7cb
1 file changed
+3
@@ -2400,6 +2400,9 @@
|
||||
set_state: function(record, states) {
|
||||
this._set_default_value(record);
|
||||
Sao.field.One2Many._super.set_state.call(this, record, states);
|
||||
},
|
||||
_is_empty: function(record) {
|
||||
return jQuery.isEmptyObject(this.get_eval(record));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user