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

I was trying to test the example module " oepetstore" of guide https://doc.odoo.com/trunk/training/web_framework/ writed

After installed it in my local test enviroment without any changes,I clicked menu "Pet Store", system showed an action error that was "

Could not find client action 'petstore.homepage'

".

I tried to fix this,but still could not find solution. Are there any other configurations need to be configed in the module? Thanks very much!

الصورة الرمزية
إهمال

same problem here!

I have same issue in odoo 9 and 10

It is due to Old code. You need to change code with new API.

أفضل إجابة

ok I think the problem is that the js files in the tutorial are included via the __openerp__py, but odoo needs them to include via the x_view.xml file and a

< script > tag 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
79
1
أغسطس 25
262
1
أغسطس 25
203
0
أغسطس 25
178
1
أغسطس 25
353