Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4367 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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 !

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