添加功能

This commit is contained in:
李鹏宇
2026-04-14 17:14:35 +08:00
parent e9ebc4744d
commit 4af434af72
10 changed files with 187 additions and 2 deletions
@@ -256,6 +256,7 @@ class PropertyLeaseRenewal(models.Model):
if refund_lines:
for refund_line in refund_lines:
bills_line_list.append({
'lessor_id': rec.contract_id.lessor_id.id,
'due_date': fields.Date.today(),
'management_type_id': refund_line.management_type_id.id,
'amount': refund_line.refund_amount,
@@ -271,6 +272,7 @@ class PropertyLeaseRenewal(models.Model):
deposit_amount = rec.deposit if rec.is_full_refund else rec.refund_amount
if deposit_amount > 0:
bills_line_list.append({
'lessor_id': rec.contract_id.lessor_id.id,
'due_date': fields.Date.today(),
'management_type_id': deposit_management_type.id,
'amount': deposit_amount,