Use get_loaded instead of testing empty _loaded
because it doesn't catch partially loaded.
This commit is contained in:
1 parent
df798e4f9c
commit
62c85fbc64
1 file changed
+1
-2
+1
-2
@@ -2082,8 +2082,7 @@
|
||||
for (var i = 0, len = (record._values[this.name] || []).length;
|
||||
i < len; i++) {
|
||||
var record2 = record._values[this.name][i];
|
||||
if (jQuery.isEmptyObject(record2._loaded) &&
|
||||
(record2.id >= 0) &&
|
||||
if (!record2.get_loaded() && (record2.id >= 0) &&
|
||||
!pre_validate) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user