Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
40729 Vistas

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) Is there a way to do it?

Avatar
Descartar
Mejor respuesta

Please be careful when doing this!

Every OpenERP module uses External ID's to "add" and/or "locate and update" information in the system. Changing or Deleting External ID records can cause serious limitations to the ability to install or upgrade modules in the future.

Make sure you understand what you are doing and change only External ID's related to data YOU have imported into OpenERP.


To access the record that contains the External ID for a particular database record, visit
Settings --> Technical --> Sequences and Identifiers --> External Identifiers

Each External ID maps to a Database Record ID. You will see that an External ID is constructed by a concatenation of the Module and External Identifier field.


ID and Export before change:

image description


image description


ID and Export after change:

image description


image description

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
5
abr 18
8352
2
mar 15
12640
2
may 24
6453
3
jul 20
3773
1
ene 20
6151