Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2275 Ansichten

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
Verwerfen
Beste Antwort

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

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Aug. 25
2482
1
Juli 25
2687
2
Juni 25
879
3
Juni 24
3666
0
Mai 23
2384