Skip to Content
Menu
This question has been flagged
3 Replies
19942 Rodiniai

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

Portretas
Atmesti
Autorius 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

Portretas
Atmesti
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"/>
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
birž. 25
1838
4
geg. 24
5981
1
geg. 23
3748
0
liep. 17
3028
0
kov. 16
2956