コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3881 ビュー

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
20576
2
4月 19
3474
0
3月 19
3371
2
10月 18
5322
0
7月 25
328