跳至內容
選單
此問題已被標幟
1 回覆
2897 瀏覽次數

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?

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

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 .

作者

Thanks for the help.

相關帖文 回覆 瀏覽次數 活動
0
1月 25
1371
1
3月 25
652
1
9月 23
2619
2
8月 22
7753
1
7月 20
2831