Do not validate current record when selecting row when it is null
issue11812 review431801003 (grafted from f791989365821f480365a19c372054ab2b5317df) --HG-- branch : 6.0
This commit is contained in:
1 parent
b8aaf478da
commit
9fa02292d2
1 file changed
+1
-1
+1
-1
@@ -1777,7 +1777,7 @@
|
||||
|
||||
var current_record = this.tree.screen.current_record;
|
||||
if ((this.record != current_record) &&
|
||||
!current_record.validate(
|
||||
current_record && !current_record.validate(
|
||||
this.tree.get_fields(), false, false, true)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user