Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
6316 Weergaven

Hi community,

I have written some code in my website custom module, i have wrote the java script code under script tag in XML file. Unfortunately it is working perfectly only under debug with assets, early the module works perfectly on the Odoo 12.

Thanks in advance

Avatar
Annuleer

Check the security of that particular file.

you make changes in XML file so make sure you update the module.

Beste antwoord

I faced the same problem, and I tried with

expr="script[last()]" position="after"

instead of

expr="." position="inside"

in order to add my JS file, and it works for me!

Avatar
Annuleer
Beste antwoord

Hi,

Paste the following script before this your script. I had the same issue and i solved by using this method(Don't know the exact reason of the problem).

<script src="https://code.jquery.com/jquery-3.4.1.js"></script>

Regards

Avatar
Annuleer

Doesn't work for me (Odoo V12 CE)

Gerelateerde posts Antwoorden Weergaven Activiteit
1
jul. 20
4755
0
jun. 20
4345
1
jun. 24
2750
3
apr. 24
5860
0
jul. 22
1175