Odoo Help


How to avoid importing demo data when a new database is created with postgres command?

Yoshi Tashiro
on 7/16/14, 4:38 AM 684 views

In case a new database is created using postgres command 'createdb' (for whatever reason), is there a good way to avoid having demo data in the database?  It seems a newly created database through postgres command is configured to have the demo data by default.

A workaround would be to change the 'demo' field of the base module from True to False by following command before installing any module, but I wonder if there is a smarter way to achieve the same.

update ir_module_module set demo = False where name = 'base';


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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: 7/16/14, 4:38 AM
Seen: 684 times
Last updated: 3/16/15, 8:10 AM