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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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',
],
},
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
'bus.bus' object has no attribute '_sendone'
Rozwiązane
|
|
2
mar 22
|
5538 | |
|
1
maj 23
|
1943 | ||
odoo 15 web.assets_backend
Rozwiązane
|
|
3
cze 22
|
13310 | |
|
0
lut 22
|
2242 | ||
|
3
gru 24
|
13211 |