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 | etc.
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?
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.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/22/16, 9:15 AM|
|Seen: 405 times|
|Last updated: 11/22/16, 1:05 PM|