[MIG] base_import_match: Migration to 14.0

This commit is contained in:
Jesus Ramoneda
2021-02-25 17:19:14 +01:00
parent 49bec4f38a
commit 812f855872
8 changed files with 60 additions and 6 deletions

View File

@@ -35,6 +35,7 @@ class Base(models.AbstractModel):
if xmlid:
# Skip rows with ID, they do not need all this
row["id"] = xmlid
newdata.append(tuple(row[f] for f in clean_fields))
continue
elif dbid:
# Find the xmlid for this dbid