<template id="csm_website_layout" inherit_id="website.layout" name="CSM Website layout"> <xpath expr="//head//link" position="replace"> <link rel="shortcut icon" href="/csm-website/static/src/img/website/csm_favicon.ico" type="image/x-icon"/> </xpath> </template> This code is not working. It is showing an error that <xpath expr="//head//link"> cannot be located in parent view
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
3
Replies
9189
Tampilan
go to OdooApp Store there is many Free of cost Addons that can change your favison icon
App Name likely Debranding or odoo customization
Hi,
You have override web to change favicon add
'data': [ 'views/website_templates.xml' ] in manifest file
then add favicon in static/src/img/favicon.ico, add new template in views/website_templates.xml
<template id="layout_id" inherit_id="website.layout" name="layout name" priority="17">
<xpath expr="//head//link" position="after"> <link rel="shortcut icon" href="/custom_web/static/src/img/favicon.ico" type="image/x-icon"/> </xpath> </template>
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
How to change Favicon?
Diselesaikan
|
|
11
Apr 25
|
65167 | |
Where I can find the file of Icons in Openerp V7
Diselesaikan
|
|
1
Des 22
|
3855 | |
How to change "Apps" module icon
Diselesaikan
|
|
2
Jul 22
|
23090 | |
|
0
Apr 24
|
11226 | ||
|
2
Apr 25
|
4849 |