添加功能
This commit is contained in:
@@ -225,6 +225,7 @@ 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', '=', '租(2024)72号')
|
||||
])
|
||||
if not records:
|
||||
records = self.env['property.lease.contract'].search([
|
||||
|
||||
Reference in New Issue
Block a user