Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
40998 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
5
avr. 18
8490
2
mars 15
12770
2
mai 24
6628
3
juil. 20
3898
1
janv. 20
6290