Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 25
1051
0
thg 10 24
1259
0
thg 2 24
1405
5
thg 1 24
7186
0
thg 11 23
1182