changeset df8c56819365 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=df8c56819365
description:
Stop processing response when record is not valid
issue8571 introduced the validate attribute but the test against
validate
record is wrong as it stop processing when the record is actually valid.
issue8886
review252731002
diffstat:
src/wizard.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6a7dc97a99e2 -r df8c56819365 src/wizard.js
--- a/src/wizard.js Thu Dec 05 21:45:55 2019 +0100
+++ b/src/wizard.js Thu Dec 05 21:49:24 2019 +0100
@@ -130,7 +130,7 @@
response: function(definition) {
this.__waiting_response = false;
this.screen.current_view.set_value();
- if (definition.validate && this.screen.current_record.validate(
+ if (definition.validate && !this.screen.current_record.validate(
null, null, null, true)) {
this.screen.display(true);
this.info_bar.message(