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

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!

アバター
破棄