Community mailing list archives
Re: How remove demo data from installed openerp 7by
Yes , I need exactly same .
Thanks , Hope it will work for me .
On Mon, Nov 10, 2014 at 7:59 AM, Quentin THEURET <email@example.com> wrote:
On 10/11/2014 08:37, Clovis Nzouendjou wrote: > There is an option provided for this: *--without-demo=module_name*. > If you want to simply remove demo data from all modules, you can use > --without-demo=ALL. > > I hope this will help you. Hi, I think it's not what was expected because Vishal wants to remove demo data from an installed database. The option --without-demo=module_name is useful only when you install a new module or generate a new database. I think it's very easy to remove all demo data on an installed database because if they are used in other documents, the deletion may cause some breakdowns on your system. If no other data have been put into you database, the best choice is to re-install a new database with the option mentioned above. In the other case, you have to find all //xml_id// of demo data and search the database ID of these //xml_id// with the help of the //ir_model_data// table. The //res_id// column of the //ir_model_data// table matches with the //id// column of the objects tables. I hope this will help you. Regards, -- Quentin THEURET TeMPO Consulting 20, Avenue de la paix 67000 Strasbourg France http://www.tempo-consulting.fr Tel : +33 3 88 56 82 18 Fax : +33 9 70 63 35 46