Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2266 Zobrazení

Hello Everyone
Anyone having idea how we can user @profile decorator with controllers in odoo?
for standard method it is working fine but if we use it with controllers then it is not showing stats.

Avatar
Zrušit
Nejlepší odpověď

As per this issue reported to Odoo, The code profiling is not working with controller

It is coded in profiler.py to prevent Odoo from profiling controllers.  You could override it/comment it to support it though.

Avatar
Zrušit
Autor

Already checked that link earlier.
BTW thanks for your time.

Related Posts Odpovědi Zobrazení Aktivita
2
srp 25
2479
1
čvc 25
2685
2
čvn 25
877
3
čvn 24
3660
0
kvě 23
2382