Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4368 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

It works perfectly thank you very much !

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