Skip to Content
Menu
This question has been flagged
1 Reply
1487 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
3
Jun 24
1832
0
Apr 24
550
1
Jul 23
1323
0
May 23
1488
3
Apr 23
18766