If you are debugging JavaScript code in Odoo and it happens that you can’t get it updated or worst it’s not loading the official documentation is a good reference “What to do if a file is not loaded/updated”. But I experienced and issue as I always use –dev=all and the JavaScript won’t load at all sometimes. My solution was simply to remove –dev=all from the command line when staring Odoo ./start_odoo -d YOU_DATABASE_NAME –workers=0 -u YOUR_MODULE_NAME_THAT_CONTAINS_THE_JAVASCRIPT and than stop Odoo and start it again with the –dev=all this will refresh the assets.
Categories