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

hi  iused odoo 8.0 i created custom invoice report in odoo

 i access payment_term.id and payment_term.note

but i want to access all values of payment term means payment_term.line with all values in custom invoice report

i add four lines for
 

Computation  Amount To Pay  Number of Days  Day of the Month

Percent          0.250000             15                          0

Percent          0.250000             15                          0

Percent          0.250000             15                          0

Percent          0.250000             15                           0

now i want to acccess all values of payment term in custom invoice reports

same as invoice line and all fields of invoice

how can i get ,

Thanks in advanced!!!

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

Try like this:

                    <t t-foreach="o.payment_term.line_ids" t-as="pl">
<span t-field="pl.value"/>
<span t-field="pl.value_amount"/>
<span t-field="pl.days"/>
<span t-field="pl.days2"/>
<br/>
</t>

อวตาร
ละทิ้ง
ผู้เขียน

thanks a lot it works for me

ผู้เขียน

thanks a lot it works for me

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ต.ค. 23
7283
2
มี.ค. 15
7064
1
ก.ย. 24
2106
0
พ.ย. 23
1153
2
ธ.ค. 23
59771