Community mailing list archives

community@mail.odoo.com

Re: How to make a theme take preference over all other themes

by
ivangelarry
- 11/03/2016 11:26:18
> Maybe your other module should have a dependency on your theme module. 
> With that, your other module will install/update the theme module each 
> time it is updated.
Thanks, this worked. Now I want to remove some sections from the navbar for example the 'Apps' and 'Settings' sections. How can I do that. Our module is installed on startup and we don't need the apps section.

Thanks,
Ivange

On Thu, Nov 3, 2016 at 2:36 PM, Quentin THEURET <odoo@kerpeo.com> wrote:
Le 03/11/2016 à 13:16, ivange larry a écrit :
> Hi all
Hi Ivange,
>
> 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.
Maybe your other module should have a dependency on your theme module. 
With that, your other module will install/update the theme module each 
time it is updated.

>
> 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.
Which kind of errors have you ?

Regards,

-- 
Quentin THEURET
https://twitter.com/qtheuret

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




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