changeset b6d3c7238166 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=b6d3c7238166
description:
Return empty list for records on wizard without active_ids
issue10153
review341621002
diffstat:
trytond/wizard/wizard.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (8 lines):
diff -r 1a9471c6adc6 -r b6d3c7238166 trytond/wizard/wizard.py
--- a/trytond/wizard/wizard.py Sat Mar 06 12:33:18 2021 +0100
+++ b/trytond/wizard/wizard.py Sat Mar 06 19:12:49 2021 +0100
@@ -392,3 +392,4 @@
context = Transaction().context
if context.get('active_ids'):
return self.model.browse(context['active_ids'])
+ return []