Odoo Help

1

Cannot login to OpenERP because of incorrect XML in Base

By
Sahib Hasanov
on 9/20/13, 5:36 AM 2,340 views

I've made changes in addons/base/res/res_partner_view.xml and have error in this file. When I try login into OpenErp I get error about invalid XML architecture.

I get back to original file, but still cann't login into OpenERP. I know that i should upgrdae module to apply changes in XML view, but cann't do it because of don't have access to system.

0
deep
On 9/20/13, 10:56 AM

From the backend (database).. uninstall the module n then try to log... In that way there are chances to let you know where n which is creating the problem...

0
Gustavo
On 9/20/13, 10:40 AM

OK, first thing first... NEVER modify the core. You have to create a new module that extends either the module or view you need to modify. But never modify the core since it will make it harder to maintain (for instance, updating the core)

Now, you have to revert the changes you made, then create a new module that extends the model or view with the functionality you need

0
Sahib Hasanov
On 9/20/13, 7:53 AM

Found that I should wait for message in log file

OpenERP server is running, waiting for connections

But after doing all of this I can't login into the system, it's loading and loading

0
Daniel Reis
On 9/20/13, 5:56 AM

Get the original file, as you did, and reinstall (update) the base module from the command line:

openerp-server -u base

Thanks for your answer. I tried this, but when I run this command it's seems like it working and nothing happened, just blinking cursor under command

Sahib Hasanov
on 9/20/13, 6:10 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/20/13, 5:36 AM
Seen: 2340 times
Last updated: 3/16/15, 8:10 AM