details: https://code.tryton.org/tryton/commit/eaa51d673dfc
branch: 7.4
user: José Antonio Díaz Miralles <[email protected]>
date: Mon Dec 01 16:14:29 2025 +0100
description:
Do not return early when validating the default values set
Since f1fa123ad508 the validate method does not return any promise.
Closes #14378
(grafted from 15c7ef7a546761f4d11a0685e8c5c3e7246ef28a)
diffstat:
sao/src/model.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2d055ed36c93 -r eaa51d673dfc sao/src/model.js
--- a/sao/src/model.js Wed Nov 26 21:34:50 2025 +0100
+++ b/sao/src/model.js Mon Dec 01 16:14:29 2025 +0100
@@ -1021,7 +1021,7 @@
this.on_change(fieldnames);
this.on_change_with(fieldnames);
if (validate) {
- return this.validate(null, true);
+ this.validate(null, true);
}
if (modified) {
this.set_modified();