Bem vindo!
This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
if else QWeb t-if
Nota Para quem procura um problema semelhante, t-else
foi adicionado apenas no Odoo 10. Assim, para Odoo <> 10, a negação deve ser usada.
Para Odoo <> 10,
<t t-if="condition">
</t>
<t t-if="not condition">
</t>
Para Odoo = 10,
<t t-if="condition">
</t>
<t t-else="">
</t>
Your Answer
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!
Fique Informado
Sobre esta Comunidade
Moderation Tools
Ferramentas de Pergunta
Estatísticas
Perguntada: 23/09/21 15:22 |
Visto: 680 vezes |
Última atualização: 23/09/21 15:23 |