Skip to Content
Menu
This question has been flagged
3 Replies
1781 Views

Hi Community,
im new with Odoo and i have some questions about building my own Theme.

Before i build a basic Theme like in the tutorial discribed.

My questions:
1. How can i overwrite the logo-template?
2. How can in overwrite or clear the assets (CSS/less/Js) to set my own css/less/js?
    I dount want just to add some styles.

3. What did i have to do to overwirte existing "snippets" (HTML and options)?
4. Where can i find a list of all existing FE-Templates, which are overwriteable?
5. What did i have to do to set anchor-Links or Links to a lightbox in the main-navigation

In advance i thank you for thinking of my Problems and helping me to understand Odoo a little more.

Avatar
Discard

Please respect the forum guidelines and do not mix questions.

Author Best Answer

Thx for the links.

The secound tutorial describes how to add new styles to the backend, but not how to replace the default odoo-files in front-end.
Im able to add styles, but i dount know how to replace the default bootstrap-files bei my own bootstrap-files.
maybe you can help me another time?

Avatar
Discard
Best Answer

General answer to "overwrite" theme related objects: the term of choice in Odoo is "inheritance". Please make yourself familiar with this concept. This blog post should give you a good reading about: http://bloopark.de/en_US/blog/the-bloopark-times-english-2/post/inheritance-behavior-for-nested-templates-in-odoo-v8-112#blog_content

About adding static resources you may want to study Yenthe's tutorial: http://www.odoo.yenthevg.com/adding-static-resources-css-and-javascript-to-odoo/

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 16
2882
0
Sep 20
2104
0
Sep 16
2865
3
Aug 24
5507
4
Jul 24
38821