تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5129 أدوات العرض

I have Odoo 9.0 community edition and tried to install this addon:

https://github.com/OCA/web/tree/9.0/web_advanced_search_x2x

I had to make one modification and that was to change "installable" parameter in "__openerp__.py" to True.

The problem is that my browser logs keep telling me that the js and css can't be found.


http://localhost:8088/web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js 404 (NOT FOUND)

http://localhost:8088/web_advanced_search_x2x/static/src/css/web_advanced_search_x2x.css 404 (NOT FOUND)


What is the problem here?

الصورة الرمزية
إهمال
أفضل إجابة

This has probably already been solved, but since it is an open question I will try to answer it anyway.

I think this might be caused either because the files are not added to the assets. But after checking the github, this can be ignored, since the xml clearly adds the js and css to the assets.

Another problem might be that you copied the files over as root, but run Odoo as another user and the user might not have access to the folder.

Yet another reason could be that the module was moved, and it is no longer in your addons-path, therefor the files could not be found.

Now, as I mentioned earlier I checked the github and noticed that there have been a few adjustments since this question was asked, so it might also be possible that it was just a faulty module back when this question was asked.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
فبراير 16
10260
1
ديسمبر 23
2763
0
سبتمبر 23
2781
Odoo 404 error تم الحل
1
يوليو 23
4066
1
أكتوبر 24
3482