Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4934 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jun. 25
1050
0
out. 24
1259
0
fev. 24
1405
5
jan. 24
7185
0
nov. 23
1182