添加功能

This commit is contained in:
李鹏宇
2025-11-03 20:53:26 +08:00
parent 110338375a
commit 7f3c5c9d1a
@@ -62,7 +62,7 @@ class PropertyLeaseRenewal(models.Model):
@api.depends('receivables_ids.original_amount')
def _compute_full_refund(self):
for record in self:
deposit_line = record.early_receivables_line_ids.filtered(
deposit_line = record.receivables_ids.filtered(
lambda l: l.management_type_id.name == '押金'
)[:1]
if deposit_line: