This question has been flagged
1 Reply
3965 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.

JMB

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

It works perfectly thank you very much !

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