Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4315 มุมมอง

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>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 25
581
1
เม.ย. 25
1597
1
ก.ย. 24
2272
1
ก.ค. 24
2034
1
พ.ค. 24
4452