Odoo Help

0

Two fields (or literals) on same report line?

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

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

Question tools

1 follower(s)

Stats

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