diff --git a/.idea/Rasaddam_Backend.iml b/.idea/Rasaddam_Backend.iml index 168bde0..57ec562 100644 --- a/.idea/Rasaddam_Backend.iml +++ b/.idea/Rasaddam_Backend.iml @@ -14,7 +14,7 @@ - + diff --git a/.idea/misc.xml b/.idea/misc.xml index f1b70db..bbe7f0a 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/apps/warehouse/signals/signals_v2.py b/apps/warehouse/signals/signals_v2.py index 9bb25f0..aa77282 100644 --- a/apps/warehouse/signals/signals_v2.py +++ b/apps/warehouse/signals/signals_v2.py @@ -47,8 +47,6 @@ def warehouse_sold_and_balance(quota_stat: OrganizationQuotaStats): @receiver(post_save, sender=InventoryQuotaSaleItem) @receiver(post_delete, sender=InventoryQuotaSaleItem) def update_distribution_warehouse_sold_and_balance(sender, instance: InventoryQuotaSaleItem, **kwargs): - print(instance.quota_stat) - print(instance.quota_stat.quota) # if object exists & pre sale is true if instance.quota_stat and not instance.quota_stat.quota.pre_sale: # if transaction status is success and warehouse management Done once, inventory_calculation set to true