Skip to Content
Menu
This question has been flagged
3 Replies
19924 Views

Hello together,

in odoo 9 the both views external_layout_header and external_layout_footer are available to configure the layout of the header and footer of reports like delivery note and invoice.


In odoo 13 I can only see that the view web.external_layout is called e.g. in the  invoice report. In odoo documentation  it is described that external_layout is adding the header and footer.

web.external_layout has following code

<t t-if="company.external_report_layout_id" t-call="{{company.external_report_layout_id.key}}"><t t-raw="0"/></t>

        <t t-else="else" t-call="web.external_layout_standard"><t t-raw="0"/></t>


I want set the company logo on the right hand side., but even in web.external_layout and in web.external_layout_standard I cannot find the right setup.

Has someone an idea? Thanks in advanced


cakbulut

Avatar
Discard
Author Best Answer

Hello Paresh,

thank you for your answer. I have found out that in my configuration external_layout_din5008 is set in the company settings. So with the change of external_layout_din5008 I could do the needed changes.

Best regards

Cetin

Avatar
Discard
Best Answer

Hi Cetin:

web.external_layout calls one of web.external_layout_standard or web.external_layout_clean or web.external_layout_boxed depending on the layout that has been selected for the document.

The xml for the logo is in these 3 views i.e. web.external_layout_standard / web.external_layout_clean / web.external_layout_boxed

Look for 

<img t-if="company.logo" t-att-src="image_data_uri(company.logo)" alt="Logo"/>
Avatar
Discard
Related Posts Replies Views Activity
2
Jun 25
1828
4
May 24
5967
1
May 23
3736
0
Jul 17
3028
0
Mar 16
2954