İçereği Atla
Menü
Bu soru işaretlendi
4330 Görünümler

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?

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eki 20
15682
0
Haz 25
3060
1
Eki 24
12829
0
Tem 24
1732
1
Eyl 23
2255