跳至內容
選單
此問題已被標幟
2 回覆
2888 瀏覽次數

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?

頭像
捨棄
作者 最佳答案

This is solution I was searching:

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 25
120
1
8月 25
214
3
8月 25
213
0
8月 25
226
1
8月 25
428