Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Edi Account

By
Sandro Regis
on 9/11/14, 6:12 PM 383 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,

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/11/14, 6:12 PM
Seen: 383 times
Last updated: 3/16/15, 8:10 AM