this is my manifest code:
"assets": {"web.assets_backend": ["test/static/src/js/prueba.js", ] },
my view:
xpath>template>odoo>
and this is my javascript file: dir static/src/js/test.js
odoo.define("test.script", function (require) {"use strict";
console.log("Hello world");
});
a get an error
shared the error message along with the post
Hi,
Refer to this forum it shows How to add Javascript with web.assets_backend file in odoo version 16
https://www.odoo.com/nl_NL/forum/help-1/how-to-add-javascript-file-in-odoo-version-16-232582
Hope it helps you