Odoo Help

Welcome!

This community 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.

0

How to hide 0% discount on an Invoice ?

By
Luc Vanwaelscappel
on 9/12/13, 2:18 PM 1,305 views

Hello guys,

I'm searching how to hide the Discount column if the discount on all the lines are equal to 0%.

Do you know if it is possible ?

Thanks in advance for your help,

Bayou

1

Andreas Brueckl

--Andreas Brueckl--
5056
| 7 8 7
Vienna, Austria
--Andreas Brueckl--
OpenERP Consulting and Development
Andreas Brueckl
On 9/13/13, 7:03 AM

In RML and OpenOffice this is not possible because the number of columns must always be constant. In Webkit Report maybe this could be possible with Javascript. Another option would be to create the RML-Report in Python, but this requires extensive effort.

What you can do is to replace 0% with spaces, but the column will not disappear.

0
Luc Vanwaelscappel
On 9/13/13, 7:20 AM

Ok, Thanks Andreas.

I'll take the "spaces" option.

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!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 9/12/13, 2:18 PM
Seen: 1305 times
Last updated: 3/16/15, 8:10 AM