Odoo Help

1
0
Pranav P S
On 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>

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

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

Test it now

Question tools

2 follower(s)

Stats

Asked: 12/7/18, 4:57 AM
Seen: 126 times
Last updated: 12/9/18, 6:45 AM