Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
7.0 remove ref to "camptocamp_logo" #11
@pedrobaeza your option is a possibility else you have to create a new logo likle https://github.com/odoo/odoo/blob/8.0/addons/report_webkit/data.xml#L168.
The better solution will probably to patch the 8.0 branch of odoo and rename it as logo.
For the record, the header image where done as a requierment to be able to have conditional image/media in header and footer that can be managed in front end.
You don't need to create any logo via XML. If you have a logo defined in your company, the expected result is to be used in any webkit report as default, as done in the other reporting engines (old RML, QWeb, and so on). If you want to use another logo, then webkit logos and XML it's the way to go.
Sorry for not answering before, but I didn't see the comment.
First of all, better to use this helper method:
Secondly, the size is not going to change if your logo has the same resolution at the one hardcoded on the header, and I think we shouldn't restrict to any size, because logo tipologies are very different (some landscape, some vertical...).