Hi,
can anyone please share sample qweb view 'external_layout_header' for Odoo 10 where logo is on the left corner and company info on the right ?
Thanks,
Carlo
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
can anyone please share sample qweb view 'external_layout_header' for Odoo 10 where logo is on the left corner and company info on the right ?
Thanks,
Carlo
Hello Carlo Štefanac,
Add following xml code in custom header layout.
XML Code:
<template id="custom_external_layout_header">
<div class="header">
<div class="row">
<div class="col-xs-9">
<img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="max-height: 45px;" />
</div>
<div class="col-xs-3" name="company_address">
<span t-field="company.partner_id" t-field-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": true}" style="border-bottom: 1px solid black; display:inline-block;" />
</div>
</div>
</div>
</template>
Output: Qweb Pdf Report With Header.
Hope this will help you!
Thanks!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
I don't have enough karma to comment you answer.
Can you please expain how to create custom header layout so that this become complete answer.
Thanks
soon will be a module public available , and customized for croatia localization...