conv_bal
parent
2076d92d22
commit
287ef807f3
|
@ -75,14 +75,12 @@ class Visit(Model):
|
|||
def _get_time_start(self,context={}):
|
||||
now=datetime.now()
|
||||
starttime=now.strftime("%Y-%m-%d %H:%M:%S")
|
||||
print(":>> ", starttime)
|
||||
return starttime
|
||||
|
||||
def _get_time_stop(self,context={}):
|
||||
hr=timedelta(seconds=3600)
|
||||
now=datetime.now()
|
||||
stoptime=(now+hr).strftime("%Y-%m-%d %H:%M:%S")
|
||||
print('::: ', stoptime)
|
||||
return stoptime
|
||||
|
||||
_defaults={
|
||||
|
|
Loading…
Reference in New Issue