Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3217 มุมมอง

how to modify the website menu logo using xml code odoo 16

อวตาร
ละทิ้ง
ผู้เขียน

<template id="template_logo_replaced" inherit_id="website.option_header_brand_logo">
<xpath expr="//a/span" position="replace">
<span t-field="website.logo" t-options="{'widget': 'image', 'width': 95, 'height': 40}" role="img" t-att-aria-label="'Logo of %s' % website.name" t-att-title="website.name"/>
</xpath>
</template>
it works

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 25
1936
4
พ.ค. 24
3917
0
ม.ค. 24
1773
0
ก.ค. 24
256
1
ส.ค. 23
3063