添加功能
This commit is contained in:
@@ -64,7 +64,8 @@ class PropertyBankStatements(models.Model):
|
||||
penalty_records = self.env['property.accounts.receivable'].search([('bank_id', '=', self.id)])
|
||||
if not penalty_records:
|
||||
penalty_records = self.env['property.accounts.receivable'].search([
|
||||
('due_date', '=', start_date),
|
||||
('due_date', '<=', start_date),
|
||||
('due_date_end', '>=', start_date),
|
||||
('lessee_id', '=', tenant_id),
|
||||
('contract_id', 'in', rec.contract_ids.ids),
|
||||
('property_id', 'in', rec.property_ids.ids),
|
||||
|
||||
Reference in New Issue
Block a user