Holger Brunn
7 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
2 additions and
1 deletions
-
base_import_odoo/models/import_odoo_database.py
|
@ -159,7 +159,8 @@ class ImportOdooDatabase(models.Model): |
|
|
self.env.cr.commit() |
|
|
self.env.cr.commit() |
|
|
missing = {} |
|
|
missing = {} |
|
|
for dummy_model, remote_id in dummies.keys(): |
|
|
for dummy_model, remote_id in dummies.keys(): |
|
|
missing.setdefault(dummy_model, []).append(remote_id) |
|
|
|
|
|
|
|
|
if remote_id: |
|
|
|
|
|
missing.setdefault(dummy_model, []).append(remote_id) |
|
|
self.write({ |
|
|
self.write({ |
|
|
'status_data': dict(self.status_data, dummies=dict(missing)), |
|
|
'status_data': dict(self.status_data, dummies=dict(missing)), |
|
|
}) |
|
|
}) |
|
|