activate quota - distribution list
This commit is contained in:
@@ -386,7 +386,7 @@ class Quota(BaseModel):
|
||||
return self.quota_weight - distributed_weight
|
||||
|
||||
def is_in_valid_time(self):
|
||||
""" check if quota allowed time for distribute, sale, etc is expired"""
|
||||
""" check if quota allowed time for distribute, sale, etc is expired """
|
||||
now = datetime.now()
|
||||
persian_date = jdatetime.datetime.fromgregorian(datetime=now)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user