<template id="frankie_website_template" name="Home page" inherit_id="website.homepage">
<xpath expr="//*[@id='wrap']" position="replace">
<!--HTML CODE-->
</xpath>
</template>
HTML code does not working
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Projet
- MRP
Cette question a été signalée
1
Répondre
6364
Vues
Your XPATH expression mean "all the ids named wrap". You need to put the full path to the id you want to replace.
AFAIK, in your case, this is enough :
<xpath expr="/div" position="replace">
But beware, that the template id to inherit could be website.homepage[number]
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
janv. 25
|
7680 | ||
|
computed fields
Résolu
|
|
1
avr. 24
|
3657 | |
|
|
1
déc. 23
|
6557 | ||
|
|
2
nov. 22
|
5154 | ||
|
|
0
nov. 22
|
4657 |