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

Hi,

does anyone knew if odoo has an feature which clean up the models? I have the problem that not needet fields will stay in the odoo system. eg: I develop an field partner as a char in model test.test. I changed it to partner_id (m2o). Now i habe partner and partner_id in the model test.test


it is a problem because i have 2 eintries "Partner" in the user deffined search/filter at the list/tree view.


Regards

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

I tried to update all modules (--update=all) and with "-i base" -> the data stays

I can't uninstall the module because it will delete my data.

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

Use database_cleanup module
you have to download the the module from OCA

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

try to upgrade the "base" module, it may help.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 11 23
35517
0
thg 12 24
1455
0
thg 4 24
1897
1
thg 3 24
2495
4
thg 11 23
6021