Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4373 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

It works perfectly thank you very much !

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