Odoo Help

0

Edi Account

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

 

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.

Register

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)

Stats

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