Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

I have a multicompany Odoo 8 installation with 1 company set up so far. I created a new Invoice template and I wanted to add a banner to the header.

The only way I found to use a custom image in a QWeb template was by uploading the image to the addons/report/static folder and referencing it in the QWeb template as src="/addons/report/static/banner.png".

This is not very scalable if I want more images, invoice templates or companies. I'd much rather reference the image like the company.logo or in a folder that is dedicated to one company.

It would also be preferable if I could upload the image through the Odoo UI and not through FTP. Is there an Odoo module to manage company image resources?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
paź 20
15503
0
cze 25
2818
1
paź 24
12616
0
lip 24
1526
1
wrz 23
2093