Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
40739 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
5
dub 18
8365
2
bře 15
12649
2
kvě 24
6474
3
čvc 20
3787
1
led 20
6164