Thursday 11 October 2012

Change Views of OpenERP, Titles, Footer, Favicon





All web client customization is done on this directory
/usr/share/pyshared/openerp/addons/web/static/src

Below are the following files needed to be modified
---------------------------------------------------------------------------
base.css
/usr/share/pyshared/openerp/addons/web/static/src/css
Use to change color of the web frame. Use HTML notation when coding color. You can use GIMP to convert colors to HTML notation.

base.xml
/usr/share/pyshared/openerp/addons/web/static/src/xml
Use to change footer text "Powered by OpenERP". Leave this file unchanged to avoid violating the OpenERP AGPL license

chrome.js
/usr/share/pyshared/openerp/addons/web/static/src/js
Use to change the browser title and version as displayed on the footer beside the "Powered by.." statement
Look for this line document.title = title + sep + 'OpenERP' and replace it with document title of your choice. (i.e. document.title = "My OpenERP";)

favicon.ico
/usr/share/pyshared/openerp/addons/web/static/src/img
Use to change the default favicon displayed on the webpage
logo.png
/usr/share/pyshared/openerp/addons/web/static/src/img
The logo located at the right corner of the application
Size and aspect ratio should be preserved

logo2.png
/usr/share/pyshared/openerp/addons/web/static/src/img
The logo at the log in prompt. This could be at any size

main.py
/usr/share/pyshared/openerp/addons/web/controllers
Use to change the log-in screen title (reboot is required for changes to take effect)
Look for html_template and check the content of the title beginning with <title>
----------------------------------------------------------------------------------------------

6 comments:

  1. Is it possible to edit the document Title on the login page?

    ReplyDelete
    Replies
    1. Openerp is a open source we can change every thing we want for my answer can u plz elaborate the query of yours so i could help you out

      Delete
  2. I am new to openerp. I would like to change theme customization (html/css) for helpdesk module in below menu path.

    Sales => Configuration = > Helpdesk => Categories

    where i need to change the css for above help desk module.

    ReplyDelete
    Replies
    1. Sorry but as far as i know that Openerp is a Module based framework and if u need to change the framework css it is posssible but changeing the display css according to the module it is not possible

      Delete
  3. thank you very very much, your post help me a lot.

    ReplyDelete
  4. Thank you Saurabh. Your postings helped me.. Appreciate..

    ReplyDelete