details: https://code.tryton.org/tryton/commit/15c7ef7a5467
branch: default
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
diffstat:
sao/src/model.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 790b437452a4 -r 15c7ef7a5467 sao/src/model.js
--- a/sao/src/model.js Thu Nov 27 16:59:05 2025 +0100
+++ b/sao/src/model.js Mon Dec 01 16:14:29 2025 +0100
@@ -1022,7 +1022,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();