I wanted to know more about the developer mode (with assets).
I read in some posts that it is used to separate css and js files. Am I able to modify css and js files using this mode?
What does the "assets" allow you to do specifically?
Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I wanted to know more about the developer mode (with assets).
I read in some posts that it is used to separate css and js files. Am I able to modify css and js files using this mode?
What does the "assets" allow you to do specifically?
Thanks!
Hello Nomand_King,
Here is short explanation:
In developer mode without assets you have no access to the original assets files. As you know Odoo framework is compiling all assets (js, scss, css files) into single one for the opimisation. This makes harder to debug Java Script and CSS files.
In developer mode with assets, you will gain access to the original assets files that had been included into the modules, just like they were - before compiling. So you got access to the original files, that really helps to debug and helps do develope and test js code.
NOTE: You won't see anything special diference inside Odoo after switching into assets mode. But the major difference you will see under the hood, when for ex. you will fire the developer tool and inspect the page sources.
Below the video showing the difference of accessing the assets in both developer modes. Video replaces thousands of words.
Hope this helps,
If it does, vote +1 👍
and select as best answer ✅
good luck!
Refering to your righteous complaint elsewhere I gave you an upvote and best answer (as it is the only one) ;-)
Thankyou very much krys.raj. great explanation
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
ACTIVATE DEVELOPER MODE
Solved
|
|
1
Aug 24
|
1799 | |
|
1
Apr 18
|
3679 | ||
|
2
Jun 17
|
4965 | ||
|
1
Jun 16
|
3630 | ||
|
0
Dec 15
|
57 |