<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)"/>
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: 8/12/15, 4:18 AM |
Seen: 3800 times |
Last updated: 8/12/15, 4:20 AM |