This question has been flagged
2563 Views

Hello fellows, i am trying to add three new  lines in the edi_account.xml, these lines are related to shipping costs (amount_freight, amount_insurance and amount_costs). So i just add the first block to edi_account.xml like this:

<tr>
            <td colspan="3"></td>
            <td colspan="2" class="oe_edi_floor">
                <div class="oe_edi_summary_label">Freight:</div>
                <div class="oe_edi_summary_value">
<t t-esc="_.str.sprintf('%.2f',doc.amount_freight)"/></div>
            </td>
</tr>

So, reload the browser and nothing are being rendered, I already know the issue is when we call the doc.amount_freight but i really have no idea how to solve this.

Please could some one give me some hint?

Regards,

 

Avatar
Discard