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

Hi,

I am a beginner on Odoo 13 and in the learning process. Can anyone please explain about this error "The ID "real_estate.file_attachment_form" refers to an uninstalled module" .What are the reasons behind this error and what are the best practices to avoid this error?

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

Hi ,
Make sure the external _id is correct , Odoo cant find a installed module 'real_estate' where the view 'file_attachment_form' is ,

Add 'real_estate' in depends in the manifest file of the module you are installing

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

Mr. Kiran,
Thank you for taking the time to comment on my post.
I would like to confirm a odoo concept. Is it mandatory to set the view ID as moduleName.customId ? because currently my module name is "real_estate_file" When I set my view ID as "real_estate_file.file_attachment_form" the error seems to be fixed.

Hi ,
id="ModuleName.ViewId" is used when we need to override the xml views,

This will replace your old view with the custom one .

Tác giả

Thanks for the help.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 25
1411
1
thg 3 25
652
1
thg 9 23
2656
2
thg 8 22
7784
1
thg 7 20
2854