Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
9272 มุมมอง

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
1979
0
มี.ค. 24
1527
2
พ.ย. 16
5775
3
ก.พ. 16
16502
1
มี.ค. 15
4183