This question has been flagged
3 Replies
2916 Views

Dear Community,

Do we have any clear script to clear all the Data in the ODOO (Customers, Sales Order, Invoices, etc) except the Settings ?

 

Avatar
Discard

@Hassan - Stephen is right, you should go for creating new database. By the way why do you want this kind of script. What is your requirement

Author Best Answer

We can create a New DB but is it possible, to import the Settings from the Previous DB ?

Is it possible ?

Avatar
Discard
Best Answer

I don't believe so.  The advice is always create a new database.  

Avatar
Discard
Best Answer

Sure it is possible, simply export them for old db to csv, then import csv in new db.
My practice is to set new db's using csv import files, that way i'm sure i didn't forget anything :)

Avatar
Discard

@Bole, that sounds great. I know it is theoretically possible to export the config settings, but how do you know that tables and columns to export as CSV? (possibly you could provide your script)