Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2283 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
2
Agu 25
2484
1
Jul 25
2690
2
Jun 25
884
3
Jun 24
3667
0
Mei 23
2387