<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
- 会計
- 在庫
- PoS
- プロジェクト
- MRP
この質問にフラグが付けられました
1
返信
6375
ビュー
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]
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
|
2
1月 25
|
7685 | ||
|
computed fields
解決済
|
|
1
4月 24
|
3663 | |
|
|
1
12月 23
|
6584 | ||
|
|
2
11月 22
|
5163 | ||
|
|
0
11月 22
|
4662 |