Odoo Help


Change tax description with tax code in Invoice report

Mirko Venni
on 10/10/14, 8:46 AM 745 views

Good afternoon,

I am trying to change in the invoice report the tax column. I want to see only the tax code but I can print in the lines only the description. With Open office report designer, I have this string " [[ ', '.join([ lt.name or '' for lt in l.invoice_line_tax_id ]) ]] " so i wish to know what to write to see the code and not the description of the tax.

Hope that someone could help me.

Thank you.

Using Openerp 7 . Starting to use it this week. I find this software wonderful.

Mirko Venni
On 10/10/14, 10:11 AM

Thank you... but the problem is that I don't know where to find the name of the fields.


Ludo - Neobis

--Ludo - Neobis--
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--


Ludo - Neobis
On 10/10/14, 9:38 AM

Instead of the "name" field you can pick any other field on that object to show. So, for example, you could pick up "description", if that is what you desire?

Thank you... but the problem is that I don't know where to find the name of the fields.

Mirko Venni
on 10/10/14, 10:12 AM

What I mean is that for example: tax name is: AAAAAAAAAAAAAAAAAAA tax code is: 020 and in the invoice lines I can see AAAAAAAAAAAAAAAAAAA but I wish to have 020 Any suggestion? Now the string in the report is: [[ ', '.join([ lt.name or '' for lt in l.invoice_line_tax_id ]) ]] Thank you

Mirko Venni
on 10/10/14, 10:19 AM

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/10/14, 8:46 AM
Seen: 745 times
Last updated: 3/16/15, 8:10 AM