details:   https://code.tryton.org/tryton/commit/70d667ad6de5
branch:    7.6
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 f564c0cc0aea -r 70d667ad6de5 sao/src/model.js
--- a/sao/src/model.js  Fri Nov 28 15:32:06 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();

Reply via email to