İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1928 Görünümler

I have lots of Product Variants already in the database and I want to update their 'External ID' to their barcode. Therefor I have a few questions:

1. Is it a good idea to use the barcode as the 'External ID'?

2. How can I add the 'Database ID' to an import-compatible export?

  • Is it 'ID (.id)'? If not, then which one is it?
  • Why can't I add 'ID (.id)' to an import-compatible export? I can only add it if I uncheck 'import-compatible export'.

3. When I make a Product Variants import-compatible export with:

  • 'ID (.id)' as 'Database ID'(?)
  • 'ID (id)' as 'External ID'
  • 'Barcode (barcode)'

and I try to re-import (update) it with:

  • 'ID (.id)' as 'Database ID'
  • 'ID (id)' as 'External ID' filled with the respective barcodes

then I can't find a matching Odoo Field 'Database ID'. How to select this?


Avatar
Vazgeç
En İyi Yanıt

You cannot update the External ID.

You can set it when you create a record, or Odoo will assign one when you first export it.

The database ID is a number.  It is assigned by Odoo and (as you'd expect) you can't update it either, so it makes sense that it is not included in an import-compatible export.

The normal use of External ID is for the record id from another system.  If your barcodes never change maybe you could use that, but there's already a barcode field in the database.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 24
1357
4
Kas 18
8026
0
Mar 15
4012
1
Mar 15
4173
1
Oca 24
1627