I've been developing my own bootstrap theme for odoo v9. I ran into an issue where I had added all of my theme snippets as structure, since the theme tutorial doesn't really explain the differences. After many hours of creating a website, getting the front page looking like I wanted, I went to edit a secondary page. unfortunately the front page structure followed to my secondary page, because I had used the structure subsection. After more troubleshooting, I discovered that structure seems to edit website.layout, and follow you to subsequent pages. I should have used feature as my category. feature snippets only stay on the page you are editing. Perhaps someone could fully document this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
3979
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 3 24
|
1487 | ||
|
0
thg 11 23
|
1279 | ||
|
0
thg 2 22
|
2154 | ||
|
1
thg 8 21
|
3145 | ||
|
0
thg 12 16
|
4201 |
Further exploration. It appears only the snippets I've added in my theme's snippets.xml file are the only ones that while in the structure tab, would merge into website.layout, following from page to page. The built-in snippets under structure don't seem to have that issue. I was able to add a default structure snippet, and it only added to the page I was working on. here is an example of one of my snippets:
Follow Us
<xpath expr="//div[@id='snippet_feature']/div[2]" position="inside">
well, ignore that, apparently you can't post code in a comment...this help forum leaves a lot to be desired.