Holger Brunn
7 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
1 additions and
1 deletions
-
base_import_odoo/models/import_odoo_database.py
|
|
@ -335,7 +335,7 @@ class ImportOdooDatabase(models.Model): |
|
|
|
continue |
|
|
|
if isinstance(record, list): |
|
|
|
record = record[0] |
|
|
|
records = model.search([ |
|
|
|
records = model.with_context(active_test=False).search([ |
|
|
|
(field.name, '=', record.get(field.name)) |
|
|
|
for field in mapping.field_ids |
|
|
|
], limit=1) |
|
|
|