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

I want to create an email.template that needs to pass the invoice_payments_widget field value from the customer invoice.



The values that I need are the paid_date and the amount field.


Whenever I try to get the value on email.template,


 I got the result like this:


Then I try to inside the content key from that dictionary:

% for l in object.invoice_payments_widget:
${l.content}
% endfor

Then it gives me an empty result:


So, what's wrong with that?, how to get the value from the invoice_payments_widget properly?

The values that I need are the paid_date and the amount field.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 25
1069
0
ต.ค. 24
1263
0
ก.พ. 24
1415
5
ม.ค. 24
7207
0
พ.ย. 23
1190