Odoo Help

1
1 Answer
0
Pranav P S
12/9/18, 3:03 AM

If you want to print different content based on data you can use "t-if" condition

<div class="col-xs-3"> <strong>Partner's:</strong> <p> <span t-if="data['result_selection'] == 'customer'">Receivable Accounts</span> <span t-if="data['result_selection'] == 'supplier'">Payable Accounts</span> <span t-if="data['result_selection'] == 'customer_supplier'">Receivable and Payable Accounts</span> </p> </div>

Ask a Question
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