If you are unsure of how to write valid XHTML simply run your HTML through a converter. The tags in mine were as follows:īe sure to use XHTML not HTML in all of these xml files. locate the opening and tags and insert your own css files in between the openening and close tags here (i've inserted custom.css as an example).open up the following file - /theme_custom/views/theme.xml - this is the file that you should add all your custom theme's default header css that you'd like loaded on every page by default.If you have any issues at this point look back through all of the themes files to check for replacements of /theme_clean/static/ with your own theme's new director (/theme_custom/static/).Īdding your own custom CSS to the header of your theme: You should now find that you are able to install your clone of theme_clean as it's own module. Save this file and go back to Odoo's backend and then go to Settings > Update Modules List and then choose to update list to refresh your module list available for install in Odoo 'description': 'My Custom Theme Description', Sudo pico -w /opt/odoo/custom/addons/theme_custom/_openerp_.pyĬhange name, description and author to reflect your own new theme's details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |