@@ -227,6 +227,11 @@ class PropertyRentalWizard(models.Model):
|
||||
('actual_end_time', '>=', first_day),
|
||||
# ('id', '=', '7918')
|
||||
])
|
||||
if not records:
|
||||
records = self.env['property.lease.contract'].search([
|
||||
('term_start_time', '<', next_month_first_day),
|
||||
('term_end_time', '>=', first_day),
|
||||
])
|
||||
for record in records:
|
||||
# 获取租金乘数(1 表示按月,3 表示季租金,6 表示半年租金,年后面赋值)
|
||||
multiplier = self.get_multiplier(record.cycle_dict)
|
||||
|
||||
Reference in New Issue
Block a user