the JS itself is being logged but the class is not being logged
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
1720
瀏覽次數
Hello, Please declare the asset key in the module's manifest file.
Example:
'assets': {
'web.assets_backend': [
'module_name/static/src/js/my_module.js'
]
}
Replace module_name with the name of your module and js_name_module with the name of your JavaScript module.
Don't forget to restart the server after making the changes.
oh sorry it seems I forgot to put it that I already have it as you have stated but like I said the js itself was logged however the class wasn't
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
4月 24
|
1335 | ||
|
2
2月 25
|
1202 | ||
|
0
8月 23
|
1817 | ||
|
2
2月 23
|
6101 | ||
|
2
3月 24
|
7183 |