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
|Asked: 9/18/15, 5:53 AM|
|Seen: 1320 times|
|Last updated: 9/18/15, 6:47 PM|