<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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
1
回覆
6367
瀏覽次數
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
|
7680 | ||
|
computed fields
已解決
|
|
1
4月 24
|
3657 | |
|
|
1
12月 23
|
6558 | ||
|
|
2
11月 22
|
5154 | ||
|
|
0
11月 22
|
4658 |