Browse Source

fixup! [FIX] dummy cleanup

pull/988/head
Holger Brunn 7 years ago
parent
commit
1b25d70fc5
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 1
      base_import_odoo/models/import_odoo_database.py

1
base_import_odoo/models/import_odoo_database.py

@ -159,6 +159,7 @@ class ImportOdooDatabase(models.Model):
self.env.cr.commit()
missing = {}
for dummy_model, remote_id in dummies.keys():
if remote_id:
missing.setdefault(dummy_model, []).append(remote_id)
self.write({
'status_data': dict(self.status_data, dummies=dict(missing)),

Loading…
Cancel
Save