Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
2911 Näkymät

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
Hylkää
Tekijä Paras vastaus

This is solution I was searching:

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 25
147
1
elok. 25
261
3
elok. 25
261
1
elok. 25
448
1
elok. 25
488