Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How to rename "External Id" with the "database id".

on 3/19/14, 9:13 AM 2,870 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.

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.

Bista Solutions US, Ray Carnes
on 3/19/14, 11:52 PM

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

Andrea Dalseno
on 4/22/14, 1:48 PM

Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 4/22/14, 7:23 PM

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

On 3/20/14, 6:54 AM

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".

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 3/19/14, 9:13 AM
Seen: 2870 times
Last updated: 3/16/15, 8:10 AM