Skip to Content
Menu
This question has been flagged
2810 Views

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
Discard
Related Posts Replies Views Activity
1
Sep 21
19266
2
Apr 19
2475
0
Mar 19
2784
2
Oct 18
4351
1
Dec 24
118