details: https://code.tryton.org/tryton/commit/9df0ae053b22
branch: 8.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 3db3be66190a -r 9df0ae053b22 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(