details:   https://code.tryton.org/tryton/commit/75b094b40c05
branch:    7.0
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
        (grafted from 78d8d12401ff32125fa24fdbd600a9e6eb0cc136)
diffstat:

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

diffs (12 lines):

diff -r a26ff3344a35 -r 75b094b40c05 sao/src/wizard.js
--- a/sao/src/wizard.js Tue Aug 11 12:10:58 2026 +0200
+++ b/sao/src/wizard.js Tue Aug 25 12:24:36 2026 +0200
@@ -76,7 +76,7 @@
                         this.update(view.fields_view, view.buttons);
 
                         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