From the documentation, I can see Odoo is quite awesome and promising. The problem for me right now is that, I am writing a module, after I install it, I can not see any changes to the template file and controller file, etc. take into effect when I modify the source files. I guess Odoo just load the source file from disk at the first time and then load it from the cache. But how can I refresh the cache and see the changes?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi Yango,
If you have made changes in your PY file, you need to restart the server to see the effect of your changes,
If changes are there in XML file, you need to restart server and UPGRADE your module. Other then that if changes are there in JS and CSS file, you dont need to restart the server just need to refresh the page by ctrl+f5.
Thanks,
Chandni
If you run Odoo with the command-line --dev option, you have the following additional arguments:
all: all the features below are activated
xml: read template qweb from xml file directly instead of database. Once a template has been modified in database, it will be not be read from the xml file until the next update/init.
reload: restart server when python file are updated (may not be detected depending on the text editor used)
qweb: break in the evaluation of qweb template when a node contains t-debug='debugger'
(i)p(u)db: start the chosen python debugger in the code when an unexpected error is raised before logging and returning the error.
See https://www.odoo.com/documentation/10.0/reference/cmdline.html
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Wrong url for my models
Solved
|
|
1
Dec 24
|
68 | |
|
0
Dec 24
|
41 | ||
|
1
Dec 24
|
47 | ||
|
0
Dec 24
|
56 | ||
|
0
Nov 24
|
64 |