Odoo Help


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

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

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
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

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. 

I am a skilled Communicator and I only take the serious things seriously!

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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


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