跳至内容
菜单
此问题已终结
3662 查看

Hi, I am using odoo 11.

I wanted to learn how odoo handles frontend customization via javascript, so i went to the odoo-js-demo workshop and downloaded the source code (https://github.com/dbo-odoo/odoo-js-demo), which apparently is an official demo presented during odoo experience 2017. This example module defines a new app in which the user can create and manage tickets.

I installed the app but it seems that the js code is never loaded/executed. In particular:

- I tried putting a console.log in the models.js and controllers.js files to see if they were executed, but I see nothing in the console.

- I tried deleting all the references to the aforementioned files, and the software still works as before, as if the js in this module is essentially useless (as far as I understood, this demo app allows to create/edit/delete instances of a simple ticket model... maybe the js was intended to do something else, this I don't know).

Am i missing something regarding the intended behaviour of this addon, and why it doesn't seem to effectively use the js code?

Thank you in advance.

形象
丢弃
相关帖文 回复 查看 活动
1
9月 21
20343
2
4月 19
3275
0
3月 19
3269
2
10月 18
5110
0
7月 25
179