添加功能
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user