Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3668 Widoki

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 21
20366
2
kwi 19
3282
0
mar 19
3270
2
paź 18
5111
0
lip 25
220