<t t-extend="template_name">
<t t-jquery="[div,span,button,etc].class_name" t-operation="[replace,after,before]">
<-- your code -->
</t>
</t>
for example :
<t t-extend="website_sale.products_item">
<t t-jquery="div.product_price" t-operation="replace">
<-- your code -->
</t>
</t>
Wednesday, 17 June 2020
Odoo10 - How to inherit t-if tag and extend it template.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment