Odoo Help


As a Odoo developer, how can I continuously see the work taken into effect during development?

on 11/22/16, 9:15 AM 526 views

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? 


Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 11/22/16, 1:05 PM

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

On 11/22/16, 10:09 AM

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.



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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/22/16, 9:15 AM
Seen: 526 times
Last updated: 11/22/16, 1:05 PM