Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
2917 Visninger

I have action=490 for, how can I find corresponding view for it?

How can I  I find coresponding view from it from python code?

Avatar
Kassér
Forfatter Bedste svar

This is solution I was searching:

self.env["ir.actions.actions"]._for_xml_id("module.action_id")

Avatar
Kassér
Bedste svar

If you activate Debugging and go to "Settings" > "Technical" > "Actions" you can add a filter where ID is 490. This will help you find out which model is called for action 490. Under "Settings" > "Technical" > "Views" you can search this model and see the views are available for this model.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
aug. 25
116
0
aug. 25
169
1
aug. 25
293
3
aug. 25
289
1
aug. 25
457