3
votes

I am new to odoo, know only how to create and update modules and apps but have no idea about theming my modules

I have create my own app from scratch (depends on base only) and now I need to customize its look, something like changing colors, fonts and menus positions and behavior, all I have found while searching is to create a module based on website module and customize it, and frankly I have no idea how my module will get the changes I can made on the theme module?

I need step by step tutorial about this which is suite to what I know in Odoo

1

1 Answers

2
votes

For theme reference you can visit these Links:

This may help in your case.

Edited

Regarding : "how to get my normal menus and its elements represented in the website"

Below i am posting the code snippet for adding the menu in website:

<?xml version="1.0" encoding="utf-8"?> <openerp> <data noupdate="1"> <record id="menu_my_menu" model="website.menu"> <field name="name">MyMenu</field> <field name="url">/MyMenuControllerUrl</field> <field name="parent_id" ref="website.main_menu"/> <field name="sequence" type="int">20</field> </record> </data> </openerp>

Here /MyMenuControllerUrl is the url of controller which render your template .

I hope this may help you.