Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
9267 Представления

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?

Лучший ответ

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Лучший ответ

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! :)

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
июл. 25
1967
0
мар. 24
1522
2
нояб. 16
5771
3
февр. 16
16499
1
мар. 15
4181