Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2285 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
2
ago 25
2488
1
lug 25
2692
2
giu 25
887
3
giu 24
3667
0
mag 23
2389