Community mailing list archives

community@mail.odoo.com

How to make a theme take preference over all other themes

by
ivangelarry
- 11/03/2016 08:09:12
Hi all

I have a custom module for our project that has many odoo modules as dependencies. I also have another custom theme module that customizes my login screen and it works perfectly. The problem is after installing this login customization module and install my other module that has a lot of dependencies, it looks like one of the dependencies overrides the change on the login page and it goes back to the odoo default login page. I'd have to uninstall my login customization module and reinstall for it to work again. How do I make this theme take preference over all other themes. 

Also I would love for this theme to installed on database creation. I have looked at the base module and it used the auto_install=True, I tried that but instead I started having server errors on startup.

Thanks,
Ivange

--
Software Engineering Student, University of Buea
Software Developer (Volunteer), OpenMRS
GSoC Veteran
Help Desk Manager, OpenMRS