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

the value comes from payment method field if the payment_method field = "prepayment"

then this string have to print in rml reprot = "2946 W. Springer Ct., Mayfield, KY, 42066"

else

                   " 22586 ann arbor trail dearborn heits mi 48127"

Thanks........

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Try this in rml:

[[ (payment_method_field == "prepayment" and "2946 W. Springer Ct., Mayfield, KY, 42066") or "22586 ann arbor trail dearborn heits mi 48127" ]]
อวตาร
ละทิ้ง

Just for info : i needed to replace " with ' to make it run.

คำตอบที่ดีที่สุด

i 've same problem with u, Ali..but it's little bit different with my problem. i've condition that if total object of line item surpass my limit number, then the rest will be printed into another page.

Big appreciate for your response Thank you.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 24
1047
0
มี.ค. 24
6
3
พ.ค. 16
3825
How to add multiple condition in odoo แก้ไขแล้ว
3
ก.ย. 24
19474
2
มี.ค. 24
2278