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

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

Support
Support
5000
| 2 1 2
Asked on 6/20/15, 2:07 PM
0
vote
4325 Views

Go to QWeb reports of Sale Order then use: t-esc to display it.

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

Note: value of discount is 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 6/20/15, 2:21 PM
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: 6/20/15, 2:07 PM
Seen: 4325 times
Last updated: 6/20/15, 2:21 PM