t-extend is used to extend an existing template
You will see qweb templates in the base module like:
You can use <t t-extend="module_name.layout" > to extend these and insert new qweb elements.
<t t-jquery> is used to specify a postion.
You could extend this by using:
<t t-jquery="span.some_class" t-operation="after">
t-jquery is usually used in conjuction with t-operation much like <xpath expr="" position="" />
Hope this helps.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/19/15, 10:50 AM|
|Seen: 1184 times|
|Last updated: 10/19/15, 3:50 PM|