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.
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: 3014 times|
|Last updated: 9/13/17, 6:50 AM|