changeset 32ee4a3b04ff in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset&node=32ee4a3b04ff
description:
Use last action name when selecting from the same keyword
issue10661
review373261002
diffstat:
tryton/action/main.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d362c64c4ebd -r 32ee4a3b04ff tryton/action/main.py
--- a/tryton/action/main.py Thu Sep 02 23:12:06 2021 +0200
+++ b/tryton/action/main.py Thu Sep 02 23:57:43 2021 +0200
@@ -176,7 +176,7 @@
keyact = {}
for action in actions:
- keyact[action['name'].replace('_', '')] = action
+ keyact[action['name'].split(' / ')[-1]] = action
res = selection(_('Select your action'), keyact, alwaysask=alwaysask)
if res: