Skip to Content
मेन्यू
This question has been flagged
1 Reply
3643 Views

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

Avatar
Discard
Best Answer

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',
],
},


Avatar
Discard
Related Posts Replies Views Activity
2
मार्च 22
5436
1
मई 23
1885
3
जून 22
13188
0
फ़र॰ 22
2177
3
दिस॰ 24
13027