Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1999 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
nov. 24
1428
4
nov. 18
8075
0
mar. 15
4056
1
mar. 15
4222
1
jan. 24
1666