Use always the menu name for the window action name

issue10738
review358911002
(grafted from e5f04f5be5269c7e3f14eb5cb02f109748c0635c)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2021-09-19 00:08:37 +02:00
1 parent 8070360fd8
commit 0a95868ee5
1 file changed
+1
+1
View File
@@ -276,6 +276,7 @@ class ActionKeyword(ModelSQL, ModelView):
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