Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4338 Представления

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?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
окт. 20
15695
0
июн. 25
3081
1
окт. 24
12841
0
июл. 24
1776
1
сент. 23
2295