changeset e5f04f5be526 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=e5f04f5be526
description:
        Use always the menu name for the window action name

        issue10738
        review358911002
diffstat:

 trytond/ir/action.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 63c5ffec46df -r e5f04f5be526 trytond/ir/action.py
--- a/trytond/ir/action.py      Sun Sep 19 00:04:57 2021 +0200
+++ b/trytond/ir/action.py      Sun Sep 19 00:08:37 2021 +0200
@@ -276,6 +276,7 @@
             if menu.parent:
                 for value in keywords:
                     if value['type'] == 'ir.action.act_window':
+                        value['name'] = menu.name
                         parent = menu.parent
                         if parent.name == value['name']:
                             parent = parent.parent

Reply via email to