Skip to content

Instantly share code, notes, and snippets.

@sebalix
Created December 22, 2022 08:15
Show Gist options
  • Save sebalix/90c9216f169c04e711895239d8cbe1e9 to your computer and use it in GitHub Desktop.
Save sebalix/90c9216f169c04e711895239d8cbe1e9 to your computer and use it in GitHub Desktop.
Odoo Import - Column naming rules
Rules for M2O fields, three possibilities:
uom_id => the value has to be the exact name of the record (e.g. "Units")
uom_id/id => the value has to be what we called an external ID (e.g. "uom.product_uom_unit")
uom_id/.id => the value has to be the integer ID of the record (e.g. 10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment