Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
The following code prints the label "Invoice Date" and the actual date in separate lines.
<div class="col-xs-8" t-if="o.date_invoice">
What should be done to generate:
Invoice Date: 05/05/2015
(just one line)
Here you go!
Any of these can help.
<strong>Invoice Date: <span t-field="o.date_invoice" /></strong>
<strong> Invoice Date: </strong> <span t-field="o.date_invoice" />
<strong>Invoice Date: </strong> <span t-field='o.date_invoice'/>
Note : You have used <p> tag that's why its moving to next line.
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
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
|Asked: 9/18/15, 5:53 AM|
|Seen: 1513 times|
|Last updated: 9/18/15, 6:47 PM|