hello ...
I want to hide element from odoo template How do this
odoo 15
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hello ...
I want to hide element from odoo template How do this
odoo 15
Hi,
You can use the <t-if> to hide elements from the template
example:
<t t-if="myTimeSheet">
<div class="timesheet_mainHead" >
Hi Demo Div
</div>
</t>
In the above example whenever the "if" condition satisfies then only the <div> will be visible
Hope it helps
use t-if condition condition based on your requirement to hide template elements.
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ý