添加功能
This commit is contained in:
@@ -270,7 +270,7 @@ class PropertyAccountsReceivable(models.Model):
|
||||
if record.management_type_id.name == '押金':
|
||||
record.number_of_payments = rent_pay_count
|
||||
else:
|
||||
record.number_of_payments = penalty_pay_count
|
||||
record.number_of_payments = rent_pay_count + penalty_pay_count
|
||||
|
||||
@api.depends('original_amount', 'delivered1', 'discount_amount')
|
||||
def compute_submitted(self):
|
||||
|
||||
Reference in New Issue
Block a user