Showing posts with label login screen details change. Show all posts
Showing posts with label login screen details change. Show all posts

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>
----------------------------------------------------------------------------------------------