Created
October 8, 2022 16:46
-
-
Save 3mrdev/664a9565a17afb014f4fd8febdd1096a to your computer and use it in GitHub Desktop.
How to add css and js to Odoo? (Odoo 15 and later)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'name':'Your module manifest name' | |
'assets': { | |
'web.assets_backend': [ | |
'your_module/static/src/js/your_css.your_css', | |
'your_module/static/src/js/your_js.js', | |
], | |
'web.assets_common': [ | |
'your_module/static/src/js/your_css.your_css', | |
'your_module/static/src/js/your_js.js', | |
], | |
'web.qunit_suite_tests': [ | |
'your_module/static/src/js/your_css.your_css', | |
'your_module/static/src/js/your_js.js', | |
], | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment