Do not validate current record when selecting row when it is null

issue11812
review431801003
This commit is contained in:
Cédric Krier committed 2022-10-22 01:03:48 +02:00
1 parent ee407967cf
commit eff0d10325
1 file changed
+1 -1
+1 -1
View File
@@ -1966,7 +1966,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;
}