details:   https://code.tryton.org/tryton/commit/8f073fd9f907
branch:    7.8
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 13ec0fdee4e6 -r 8f073fd9f907 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
@@ -78,7 +78,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