跳至內容
選單
此問題已被標幟
1 回覆
4316 瀏覽次數

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>

頭像
捨棄
作者 最佳答案

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>

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 25
581
1
4月 25
1597
1
9月 24
2272
1
7月 24
2034
1
5月 24
4452