details:   https://code.tryton.org/tryton/commit/78d8d12401ff
branch:    default
user:      Cédric Krier <[email protected]>
date:      Tue Aug 25 12:24:36 2026 +0200
description:
        Make wizard wait for setting default value before ending processing

        Closes #15040
diffstat:

 sao/src/wizard.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1ef76096dc94 -r 78d8d12401ff sao/src/wizard.js
--- a/sao/src/wizard.js Thu Aug 20 11:56:35 2026 +0200
+++ b/sao/src/wizard.js Tue Aug 25 12:24:36 2026 +0200
@@ -79,7 +79,7 @@
                         this.update(view.fields_view, view.buttons);
 
                         prms.push(this.screen.new_(false).then(() => {
-                            this.screen.current_record.set_default(
+                            return this.screen.current_record.set_default(
                                 view.defaults || {})
                                 .then(() => {
                                     this.screen.current_record.set(

Reply via email to