Odoo Help


Edi Account

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

            <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>

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?



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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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