تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2893 أدوات العرض

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
أغسطس 25
124
1
أغسطس 25
217
3
أغسطس 25
222
0
أغسطس 25
231
1
أغسطس 25
430