Skip to Content
Menu
This question has been flagged
4 Replies
12517 Views

Odoo10


Where can I change the logo size, header, and footer of the Sales Report, Invoices, Odoo 10?

Previous versions, it was very easy and simple to control and change this, not anymore.


Any help would be greatly appreciated.

Luis

Avatar
Discard
Best Answer

Hi. We will try to answer this as quickly and as good as possible. 

  1. Changing the size of the logo:  Activate the developer mode and navigate to Settings --> Technical --> User Interface --> Views. Here search for the keyword: external_layout_header. Edit this file and find this line: <img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="max-height: 45px;"/> and change it to: <img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="max-height: 70px, max-width: 70px;"/> You can change the max-height-width as you wish.

  2. It is the same layout : external_layout_header for the invoices and for the sale orders too. So it will be taken from there. And for the footer it goes the same, just search for the view name external_layout_footer and make the desired changes there. It will be reflected on all printed documents that use the footer view.

Avatar
Discard
Best Answer

It must be changed under 

Views >> external_layout_background

Make sure you are in Developer Mode


Avatar
Discard
Author Best Answer

Change the size of the the LOGO was easy thanks to WAPSOL..

Now all shipping address is out of place and over the company address.. I try on Sale Report  QWEB   but I can not move rows .

I have the customer address in the wrong side , and shipping and invoice address , over company address.

I format the page with bigger header, but I cannot control positions of the customer and invoicing ans shipping address.

It should be in the Sale report QWeb, but I believe we need to add different code..

Any help or suggestion will be very appreciated.

Thanks

Luis

Avatar
Discard
Best Answer

For report layouts go to "Settings/General Settings/Report Configuration". A setting for logo size does not exist and never did.

Avatar
Discard