This question has been flagged
5 Replies
13072 Views

Hi

I have run a big import that loaded thousands of records into my database but I need to run the import again from scratch. I have a large number of users defined fields that will take a very long time to recreate. Can I either:

Delete all customer records at once? OR Copy my user defined fields from my existing database to a new database?

Thanks

Avatar
Discard
Author Best Answer

Thanks for your answers. I found a backup with just the custom fields in it and restored that. Would still like to know of a way to dump just the data though

Avatar
Discard
Best Answer

I suppose uninstalling/reinstalling the CRM module would delete your contacts, but also any custom changes you made in your views. If you didn't make new modules for your changes, this is not recomended.

Avatar
Discard
Best Answer

Did you try to select all your customers in list view and delete them?

Avatar
Discard
Best Answer

Now that I think about it... how about marking the customers as Invalid? You only need to set the Active field to False

Avatar
Discard
Best Answer

Well the delete function is not a recommended one because of the moves dependent on either Customers\Suppliers\Accounts\ etc.

It's better to de-activate the customers and create new ones.

to do so, you can Use ODBC and MS Access to edit the table of res.partner, or do it one by one through openerp UI

Avatar
Discard

Well you're right but in this case he just import all customers, so he can delete account in cascade, it's not a problem. What do you think?