Hello i'm new to odoo and i'm using version 12, i want to add an external javascript library which is loading.io https://loading.io/progress/.
I don't know how to add it because i saw that it is not possible to use a cdn.
Any help or hint will be appreciated and thanks in advance.
The add a Javascript or CSS asset to Odoo, extend the appropriate assets template.
This might be:
web.assets_frontendfor frontend web pages.web.assets_backendfor backend webclient pages.web.assets_commonfor both backend and frontend.The asset files, if bundled should be inside your module, in a
static/lib/cssandstatic/lib/jssubdirectories.For example: