fix inventory edit weight bug - fix inventory document - set new validations for distribution
This commit is contained in:
@@ -402,7 +402,7 @@ class Quota(BaseModel):
|
||||
now = datetime.now()
|
||||
persian_date = jdatetime.datetime.fromgregorian(datetime=now)
|
||||
|
||||
return persian_date.month in self.month_choices
|
||||
return persian_date.month in self.sale_license
|
||||
|
||||
def save(self, calculate_final_price=None, *args, **kwargs):
|
||||
if not self.quota_id:
|
||||
|
||||
Reference in New Issue
Block a user