This question has been flagged
2 Replies
11258 Views

I use external Id's for OpenERP to read new pricelists,... but I do some mistakes in the first import of external ID's of my products. In the previous versions, it was allowed to re-import external ID's thanks to database ID's, but in 7.0 It seem not possible to do an import with the database ID. Is it an other way to reorganise external ID'S? I also try from the sequences and identifiers section in the Configuration/technical menu, but without success.

Avatar
Discard

Post the file you used and the steps you took. Which menu did you import from, which fields did you map during the import? More information needed to help you.

I've a similar problem: how can I update the external_id? I've made a mistake during an import and I have some record with the wrong external_id in the form "res_partner_XXX" where XXX is the record id. How can I update those records with a csv file? I tried to import the csv in the external identifiers section, but with no luck. A new record is created instead of updating the old one (V 7.0

Best Answer

For updating External ID's - see my answer at https://accounts.openerp.com/forum/Help-1/question/50395

Avatar
Discard
Author Best Answer

Sorry, my bad Karma is not sufficient to attach the file. So, I describe the steps for a simple sample.

1° I export 2 products from Sale>Products>Products with the More>export button. I choose to export fields "Internal reference, ID, name" 2° I read the file and I see that the first product was manualy created ( not from a mass import) because the external ID have not the structure I usualy use.

id,"default_code",".id","name" __export__.product_product_40477,"BRI_24890313","40477","POUSSETTE ""Combi"" BLEU TURQUOISE - Nouveau" PROD_BRI_24890321,"BRI_24890321","26897","POUSSETTE ""Combi"" NOIRE A POIS BLANCS"

So, I want to replace "__export__.product_product_40477" by "PROD_BRI_24890313" in order to respect my structure (and avoid problems during the mass product update I have to do).

In this module, the only identifier able to change the external identifier is the database id (.id). So, I manualy modify the external ID (id) and I try to read the file with the import module of this section (Sale>Products>Products), but the .id in not present in the available fields.

Currently, the only way I found is: 1) find the errors manualy in the Sale>Products>Products exported file. 2) correct them 1by1 in the Settings>Technical>Sequences & Identifiers>External Identifiers (because, from this section, I can't export sufficient data's to re-compose the external ID I need, and because from this section is the view empty when more than 50 products are to be "on screen".

Avatar
Discard