Odoo Help


Two fields (or literals) on same report line?

Larry Marshall
on 2/19/15, 10:26 AM 526 views

Currently on the Sales Order report, the Terms print on two lines:

Payment Term:

30 NET Days

I would like it like this:

Payment Term: 30 NET Days

The current code is:

                <div t-if="o.payment_term" class="col-xs-3">
                    <strong>Payment Term:</strong>
                    <p t-field="o.payment_term"/>

Larry Marshall
On 2/19/15, 11:46 AM

I should have looked at the bottom of the report. Change the paragraph tag to a span tag:

<div t-if="o.payment_term" class="col-xs-3">
                    <strong>Payment Term:</strong>
                    <span t-field="o.payment_term"/>

Your Answer

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.


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

1 follower(s)


Asked: 2/19/15, 10:26 AM
Seen: 526 times
Last updated: 3/16/15, 8:10 AM