Odoo - How to add unit price after discount to sales order report?
Odoo - How to add unit price after discount to sales order report?
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)"/>
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 GuidelinesQuestion tools
3 follower(s)
Stats
Asked: 6/20/15, 2:07 PM |
Seen: 4957 times |
Last updated: 6/20/15, 2:21 PM |