changeset 7ab46d3e2b4d in proteus:default
details: https://hg.tryton.org/proteus?cmd=changeset&node=7ab46d3e2b4d
description:
Fill wizard actions even with empty list
issue10600
review342751002
diffstat:
proteus/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a29031f5a33f -r 7ab46d3e2b4d proteus/__init__.py
--- a/proteus/__init__.py Fri Aug 06 09:38:20 2021 +0200
+++ b/proteus/__init__.py Fri Aug 06 09:49:34 2021 +0200
@@ -1247,7 +1247,7 @@
for action in result.get('actions', []):
proteus_action = _convert_action(*action,
context=self._context)
- if proteus_action:
+ if proteus_action is not None:
self.actions.append(proteus_action)
if 'view' in result: