添加功能
This commit is contained in:
@@ -687,7 +687,7 @@ class PropertyAccountsReceivable(models.Model):
|
||||
if record.management_type_id.name == '违约金':
|
||||
if record.due_date:
|
||||
rent_id = self.env['property.accounts.receivable'].search([
|
||||
('contract_id', '=', self.contract_id.id),
|
||||
('contract_id', '=', record.contract_id.id),
|
||||
('management_type_id.name', '=', '租金'),
|
||||
('payout_date', '=', record.due_date),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user