添加功能
This commit is contained in:
@@ -641,7 +641,7 @@ class PropertyLeaseContract(models.Model):
|
||||
for record in self:
|
||||
now = date.today()
|
||||
if record.actual_end_time and record.term_start_time:
|
||||
if now > record.actual_end_time:
|
||||
if record.actual_end_time > now:
|
||||
delta = now - record.actual_end_time
|
||||
if 60<= delta.days < 90:
|
||||
record.end_comparison = 'blue'
|
||||
|
||||
Reference in New Issue
Block a user