Odoo Help


How to remove product number in invoice line ?

Anne-Sylvie Burri
on 5/14/13, 5:11 AM 1,762 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)--

| 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

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: 5/14/13, 5:11 AM
Seen: 1762 times
Last updated: 3/16/15, 8:10 AM