This question has been flagged

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.

Avatar
Discard