How to skip demo data in Odoo instance

Deadly 提交于 2019-12-11 23:21:00

问题


I'm using Odoo on ubuntu server, I want to skip the demo data, I tried the following way, but it does'nt help me out.

 --without-demo=True

Then I deleted the demo xml files in openerp.py for CRM module, but there is still demo data in customers field.

Is there any other potential way to skip the demo data.

Any input would be appreciated.


回答1:


Use this parameter

--without-demo=all

Take into account that it requires the parameters -d (database) and -i (modules to install)




回答2:


when you create a new databdon't check ase in 127.0.0.1:8069/web/database/selector don't check the box " Load demonstration data "




回答3:


Small modification to your answer works :-)

      --without-demo=ALL


来源:https://stackoverflow.com/questions/33424888/how-to-skip-demo-data-in-odoo-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!