Ir al contenido
Menú
Se marcó esta pregunta
3656 Vistas

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.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 21
20341
2
abr 19
3274
0
mar 19
3268
2
oct 18
5109
0
jul 25
149