<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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
1
Beantwoorden
6355
Weergaven
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]
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
|
2
jan. 25
|
7678 | ||
|
computed fields
Opgelost
|
|
1
apr. 24
|
3654 | |
|
|
1
dec. 23
|
6554 | ||
|
Menu item for users and group only
Opgelost
|
|
2
nov. 22
|
5153 | |
|
|
0
nov. 22
|
4657 |