Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4002 มุมมอง

Hey can anyone please explain this change in odoo15 where we no longer need asset XML file and instead we use manifest to link our js and .scss files. How to identify between asset backend or frontend or common.

Some guidance would be nice

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

In the manifest.py you can specify if it is backend or frontend like below:

'assets': {
'web.assets_backend': [
'bus/static/src/**/*',
],
'web.assets_frontend': [
'bus/static/src/js/longpolling_bus.js',
'bus/static/src/js/crosstab_bus.js',
'bus/static/src/js/services/bus_service.js',
],
'web.qunit_suite_tests': [
'bus/static/tests/*.js',
],
},


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 22
5877
1
พ.ค. 23
2142
odoo 15 web.assets_backend แก้ไขแล้ว
3
มิ.ย. 22
13734
0
ก.พ. 22
2435
3
ธ.ค. 24
14295