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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren