Odoo Help

Welcome!

This community 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.

1

Cannot login to OpenERP because of incorrect XML in Base

By
Sahib Hasanov
on 9/20/13, 5:36 AM 1,776 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

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

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

--Daniel Reis--
3436
| 6 7 9
Lisbon, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt


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
0

deep

--deep--
1617
| 5 4 7
Bengaluru, India
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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