Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
15646 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

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?

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
12241
1
mar 24
2369
2
sty 24
2499
6
kwi 15
11532
2
mar 15
7327