Odoo Help


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.


How to remove product number in invoice line ?

Anne-Sylvie Burri
on 5/14/13, 5:11 AM 1,183 views

Hi everybody !

I'm customising an invoice and would like to remove the product number in the field "Description" of this invoice. Just keep the name of the product.

Someone could help me ?

Many thanks in advance.



Priyesh Solanki (pso)

--Priyesh Solanki (pso)--
Tiny ERP Pvt Ltd
| 2 2 4
--Priyesh Solanki (pso)--
Priyesh Solanki (pso)
On 5/14/13, 5:31 AM

Actually its considering partner_ref field of product.product object while filling up Description of invoice line and partner_ref is a function field which calls this function _product_partner_ref().

So, You need to override _product_partner_ref method of product.product by removing number from the method so it cannot concatenate with product name.

Thanks, Priyesh Solanki

It works perfectly thank you very much !

J.-M. Burri - Bureau ing.-conseils informatique, Anne-Sylvie Burri
on 5/14/13, 5:54 AM

Hello Priyesh, please could you detail how to access this to change it please?

Miles Cantley
on 9/20/13, 8:08 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 5/14/13, 5:11 AM
Seen: 1183 times
Last updated: 3/16/15, 8:10 AM