changeset bf0b75de00c9 in trytond:5.8
details: https://hg.tryton.org/trytond?cmd=changeset&node=bf0b75de00c9
description:
Return empty list for records on wizard without active_ids
issue10153
review341621002
(grafted from b6d3c7238166f613178e85113dce576834fbd0c1)
diffstat:
trytond/wizard/wizard.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (8 lines):
diff -r 905f18a7abe7 -r bf0b75de00c9 trytond/wizard/wizard.py
--- a/trytond/wizard/wizard.py Tue Mar 02 08:38:10 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 []