コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2284 ビュー

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.

アバター
破棄
最善の回答

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.

アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
2
8月 25
2488
1
7月 25
2691
2
6月 25
887
3
6月 24
3667
0
5月 23
2389