Skip to Content
Menu
This question has been flagged
2 Replies
1092 Views

I am looking to modify the invoice template in odoo 18.0+e

I want invoices printed to pdf for customers to only have description for the products used not include the name ( which is the part number) 


For example now a product line on an invoice is as follows: 

[9317114872074] APP0141

ISO TO SUIT TOYOTA ​1.00 ​22.72 ​ $ 22.72

i just want it to say the following on the customer invoice: 


ISO TO SUIT TOYOTA ​1.00 ​22.72 ​ $ 22.72

And also if i can do the same on a quotation if possible 

Thanks, 
Darcy

Avatar
Discard
Best Answer

Hi,

1. Locate the invoice template view in Settings > Technical > Views > report_invoice_document.

2. Modify the view to replace the product name. Refer to the below screenshot.


3. Save and print invoice.


Hope it helps

Avatar
Discard
Author Best Answer

Thanks for that. I did this but it still shows the reference and the product name above the description for me so not sure what to do 

Avatar
Discard

If you mean to hide the product reference and show the product name only then try:
line.product_id.name

Author

No i mean hide name and reference just have description only.

The issue is i am a small reseller and there are large businesses selling these same parts online that get the parts cheaper than i do as they buy huge bulk orders on these parts so get better discount then i do at buying 1. So if customers go through a quote i give then look up the part numbers online then they will be trying to get the best part price online so just easier to try and have description only