Odoo Aide

0

1
2 Answers
5
Avatar

Mohammed Amal

--Mohammed Amal--

2159
| 6 3 9
Malappuram, Inde
--Mohammed Amal--

Email : mohammedamal.n@gmail.com

Blog: https://www.blogger.com/profile/14877879550922602186

Mohammed Amal
17/04/2017 14:19

hello,

you can extend a template using t-extend :

<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>

Poser une question
Writer
Étiquettes
Keep Informed
2 Abonné(e)s
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now