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!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
5161
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký