Odoo Help

4

How to prevent some modules from loading

By
E. C.
on 5/9/13, 4:59 PM 2,097 views

I upgrade a module that I made but for some reason it broke openerp, now I cant logged in and need openerp to not load that module, how can I do that?

How can I updated it from terminal?

E. C.
on 5/9/13, 6:25 PM
1

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
4124
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 5/11/13, 8:47 AM

Hi,

use pgadminIII and go to the table ir_module_module, search the line of your module, and change field state to "uninstalled" (without quote).

bye

3

Sudhir Arya (SA)

--Sudhir Arya (SA)--
10590
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

Stackoverflow

Sudhir Arya (SA)
On 5/9/13, 6:37 PM

First you have to make that module error free and update that module from terminal in you are using ubuntu.

You can update module from terminal by -d your_database_name -u your_module_name options.

For example:

python openerp-server ../addons,../openerp-web/addons -d my_test_db -u my_custom_module

Here, -d means database -u means update

This options will update my module in OpenERP database.

You can find more options by --help.

0

Instead of that the esay way is to just delete or move the module folder from addons folder and then restart OpenERP server and try to log in. You will be able to login easily! :)

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

2 follower(s)

Stats

Asked: 5/9/13, 4:59 PM
Seen: 2097 times
Last updated: 3/16/15, 8:10 AM