Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
13546 Lượt xem

Hi,

I deleted my custom module. For that I first uninstall it and then deleted the folders in the addon directory.

Then I restarted the server, but when I go to Settings->Database Structure->Models I still see my model.

Why is that? How can I fully delete every reference to my module?

Thanks!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Yakito,

You have this problem in old datebase(database defined before removing that module), it will not appear if you create new database. Or if you want to remove that module from current database, you can follow these steps:-

1. Go to Settings==> Users

    Then enable Technical Features and refresh page,, Now you can see extra menu's in Settings

2. Then select that removed module from more click delete that module

3. Now restart the odoo server

4. Then go to settings and update modules by clicking Update Modules list

 

Now the problem will be solved. Please let me know if this helps.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks a lot Baiju. So, after following your steps I can see that my custom module disappeared from the "Installed Modules" section, but if I go to Database Structure-> Models and I search for it, it appears. But this time with an error in the stack trace ERROR odoo openerp.addons.base.ir.ir_model: Missing model mymodule.hotel I will try creating a new database although thats not the option I would prefer.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
14163
0
thg 12 22
2858
3
thg 1 17
5255
2
thg 3 15
7838
1
thg 3 15
5043