Odoo Help

Welcome!

This community 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.

0

Two fields (or literals) on same report line?

By
Larry Marshall
on 2/19/15, 10:26 AM 481 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"/>
                </div>

1
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"/>
                </div>

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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