<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
- Účetnictví
- Sklad
- PoS
- Projekty
- MRP
This question has been flagged
1
Odpovědět
6357
Zobrazení
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]
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
|
2
led 25
|
7678 | ||
|
computed fields
Vyřešeno
|
|
1
dub 24
|
3654 | |
|
|
1
pro 23
|
6554 | ||
|
Menu item for users and group only
Vyřešeno
|
|
2
lis 22
|
5153 | |
|
|
0
lis 22
|
4657 |