Browse Source

[FIX] show the redundant property's res_id, not the default one's

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

3
database_cleanup/models/purge_properties.py

@ -87,7 +87,8 @@ class CleanupPurgeWizardProperty(models.TransientModel):
for redundant_property in self.env['ir.property'].search(domain):
result.append({
'name': '%s@%s: %s' % (
prop.name, prop.res_id, prop.get_by_record()
prop.name, redundant_property.res_id,
prop.get_by_record()
),
'property_id': redundant_property.id,
'reason': REASON_DEFAULT,

Loading…
Cancel
Save