跳至内容
菜单
此问题已终结
1 回复
6138 查看

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 

形象
丢弃
相关帖文 回复 查看 活动
1
8月 25
137
3
8月 25
148
0
8月 25
149
1
8月 25
403
1
8月 25
446