79638233

Date: 2025-05-26 02:18:37
Score: 0.5
Natty:
Report link

How to display Arabic company name next to logo in the header?

There two tags are missing div style="display and img t-att-src=

snippet:

<template id="custom_header_with_company_name" inherit_id="web.external_layout">
    <xpath expr="//div[@class='header']" position="inside">
        <div style="display: flex; align-items: center; justify-content: space-between;">
            <img t-att-src="doc.company_id.logo" style="max-height: 50px; margin-right: 10px;"/>
            <div style="text-align: right; font-size: 16px; font-weight: bold; direction: rtl;">
                شركة روزنبرج إيجيبت
            </div>
        </div>
    </xpath>
</template>

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (0.5):
Posted by: Adios Gringo