تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
15600 أدوات العرض

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

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال

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?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
12130
1
مارس 24
2331
2
يناير 24
2447
6
أبريل 15
11436
2
مارس 15
7296