[FIX] show the redundant property's res_id, not the default one's
parent
5eea6fe685
commit
606e679c8b
|
@ -87,7 +87,8 @@ class CleanupPurgeWizardProperty(models.TransientModel):
|
||||||
for redundant_property in self.env['ir.property'].search(domain):
|
for redundant_property in self.env['ir.property'].search(domain):
|
||||||
result.append({
|
result.append({
|
||||||
'name': '%s@%s: %s' % (
|
'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,
|
'property_id': redundant_property.id,
|
||||||
'reason': REASON_DEFAULT,
|
'reason': REASON_DEFAULT,
|
||||||
|
|
Loading…
Reference in New Issue