changeset 775245f3903c in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=775245f3903c
description:
Do not add id_ to checked wizard ids if not set
issue9491
review321961002
diffstat:
trytond/wizard/wizard.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 095d160c071d -r 775245f3903c trytond/wizard/wizard.py
--- a/trytond/wizard/wizard.py Tue Aug 11 22:03:20 2020 +0200
+++ b/trytond/wizard/wizard.py Tue Aug 18 09:47:23 2020 +0200
@@ -262,7 +262,7 @@
if model:
ids = context.get('active_ids') or []
id_ = context.get('active_id')
- if id_ not in ids:
+ if id_ not in ids and id_ is not None:
ids.append(id_)
# Check read access
Model.read(ids, ['id'])