I want to override parts of the invoice template. Neither Google, ChatGPT, Claude or the Odoo documentation can help me with this.
What I want to do is pretty simple. If the address is a contact under a company it's formatted this way:
[Company Name], [Name Contactperson]
But what I want is this:
[Company Name]
T.a.v. [Name Contactperson]
Who can help me with this or at least point me in the right direction?
I use Odoo 18 Online and I have access to Odoo Studio.
Cheers!
If you're struggling to find the template code responsible for generating template:
Go to any Invoice (Accounting/Invoicing App > Open Studio > Click on "Reports" > Choose "Invoice PDF" > happy coding).
Then you'll probably have to adjust template (not sure if Studio replaces the code, or just create new, inheriting QWeb Template, you'd need to find out), or use the solution suggested by @Marawan Ahmed.
Best Regards,
Dawid Gacek, Adapt IT (adapt-it.pl)