Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2276 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
2482
1
jul 25
2687
2
jun 25
880
3
jun 24
3666
0
may 23
2384