← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 843756] Re: Adding a custom theme

 

Additional information:

We have made a custom theme for our company (Canonical). Initially we
just changed the path in addons/openerp/controllers/root.py to point to
our modified theme. But a better solution is to make the path depend on
a line in the config file so we don't have to change any code when we
roll out future version updates. We also thought the ability to specify
a custom theme might be generally useful.

The patch is for v6.1 trunk.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/843756

Title:
  Adding a custom theme

Status in OpenERP Web Client:
  New

Bug description:
  Added a new setting in web config file, that allows to specify a custom theme. Then modified the root.py file that defines the path to point to index.mako template.
  Then, if you create a themes/custom_theme folder inside templates directory, it allows to modify templates and also point to custom static resources if needed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/843756/+subscriptions


References