Skip to Content
Menu
This question has been flagged
1 Reply
2282 Views

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
Discard
Best Answer

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
Discard
Author

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

Related Posts Replies Views Activity
2
Aug 25
2484
1
Jul 25
2690
2
Jun 25
881
3
Jun 24
3666
0
May 23
2385