From b653e4ad0d8c55b376ab5089e228feb2f4bbbccc Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Sat, 6 Mar 2021 19:12:49 +0100 Subject: [PATCH] Return empty list for records on wizard without active_ids issue10153 review341621002 --- trytond/wizard/wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trytond/wizard/wizard.py b/trytond/wizard/wizard.py index e73f813578..11b42903dd 100644 --- a/trytond/wizard/wizard.py +++ b/trytond/wizard/wizard.py @@ -392,3 +392,4 @@ class Wizard(URLMixin, PoolBase): context = Transaction().context if context.get('active_ids'): return self.model.browse(context['active_ids']) + return []