跳至内容
菜单
此问题已终结
3 回复
20030 查看

Hello, where I change login page logo, and template?

形象
丢弃
最佳答案

You should never make direct changes to core OpenERP source. Any change will be removed with upgrade. The correct customization method is via a new module. Example module for customizing login screen is described in this answer

形象
丢弃

Hi, How is it possible to make one customized login screen for users that will not include change of DB and management db settings, and then also have a special login screen for an admin so you are able to still access the removed functions as an admin? /M,

The login customization is per instance. You can have another instance using the same db server on a different port or different server without loading the customization module.

ok, great.. How to set this up?

It is described in the linked answer

最佳答案

Change the base.xml page. Its is in Program Files\Openerp\server\openerp\addons\web\static\src\xml\base.xml

Change the logo First put the image in Program Files\Openerp\server\openerp\addons\web\static\src\img

形象
丢弃
编写者

This work for me :) Image file name is logo2.png

Yes image file is logo2.png...

Hi Remya, I updated base.xml and replaced logo2.png also. But nothing change in my login page. Is it cached somewhere and how can I flush it? Thanks

which os you are using? Did you change in the correct addons path?

I'm using Ubuntu 12.04 - OpenERP 7.0. I've just changed core files (base.xml and logo2.png) for testing only.

My add-on page: /home/openerp/openerp-7.0-20130726-231403/openerp/addons/web/static/src. Inside this folder, I have css, font, img, js, xml and fixbind.js

Are you sure? Addons_paths are mainly /opt/openerp/server/openerp/addons. please check this.

Although it will work, this answer it plain wrong. Hacking into core modules it not the way to go. Every time updates are applied you will lose your changes.

最佳答案

Hi I want to personalize the page login of openerp!! In fact i want to add a new button on this page to get an other form that i will create by my self but i didnt understabd how it must be done. I have added in that base.xml but it doesnt work for me so please i need your help :(

形象
丢弃
相关帖文 回复 查看 活动
1
7月 16
11169
0
3月 15
3925
0
3月 15
6378
0
1月 25
1085
0
12月 24
9562