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

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

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 24
1357
4
lis 18
8028
0
bře 15
4024
1
bře 15
4174
1
led 24
1628