Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5157 มุมมอง

Hi all,

I am trying to debug or log my qweb template, but it is not working. I tested following code:

<t t-set="foo" t-value="42">
     <t t-debug="pdb" />
</t>

I use Google Chrome and activated the developer tools, but no luck.

When I try to log that value with

<t t-set="foo" t-value="42" />
<t t-log="foo" />

there is no output in console.log.

I use "--dev qweb" in my odoo-bin command and I set "debug_mode = True" in my odoo.conf.

What am I doing wrong or what am I missing?

Thanks!

อวตาร
ละทิ้ง