Odoo - OpenERP - How to add unit price after discount to sales order qweb report?

Support
Support
5000
| 2 1 2
Asked on 8/12/15, 4:18 AM
0
vote
2730 Views

<td class="text-right">
<span t-esc="l.price_unit*(1-l.discount)"/>
</td>

Note: value of discount is not stored in %, so it should be like this  

<span t-esc="l.price_unit*(1-l.discount/100)"/>

Support
Support
5000
| 2 1 2
Answered on 8/12/15, 4:20 AM
0
vote

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!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 8/12/15, 4:18 AM
Seen: 2730 times
Last updated: 8/12/15, 4:20 AM