Browse Source

fixup! [IMP] don't break on properties pointing to unknown models

pull/1507/head
Holger Brunn 6 years ago
parent
commit
1bcb71dcec
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 1
      database_cleanup/models/purge_properties.py

1
database_cleanup/models/purge_properties.py

@ -20,6 +20,7 @@ class CleanupPurgeLineProperty(models.TransientModel):
(REASON_DUPLICATE, 'Duplicated property'),
(REASON_DEFAULT, 'Same value as default'),
(REASON_DEFAULT_FALSE, 'Empty default property'),
(REASON_UNKNOWN_MODEL, 'Unknown model'),
])
@api.multi

Loading…
Cancel
Save