@@ -236,7 +236,6 @@ class PropertyRentalWizard(models.Model):
|
||||
records = self.env['property.lease.contract'].search([
|
||||
('actual_start_time', '<', next_month_first_day),
|
||||
('actual_end_time', '>=', first_day),
|
||||
('contract_code', '=', '租(2025)18号')
|
||||
])
|
||||
if not records:
|
||||
records = self.env['property.lease.contract'].search([
|
||||
|
||||
Reference in New Issue
Block a user