fix inventory balanve & remaining - import provider name in device serializer
This commit is contained in:
@@ -28,6 +28,7 @@ def warehouse_sold_and_balance(quota_distribution):
|
||||
@receiver(post_delete, sender=InventoryEntry)
|
||||
def update_distribution_warehouse_entry(sender, instance, **kwargs):
|
||||
calculate_warehouse_entry(instance.distribution)
|
||||
warehouse_sold_and_balance(instance.distribution)
|
||||
|
||||
|
||||
@receiver(post_save, sender=InventoryQuotaSaleTransaction)
|
||||
|
||||
Reference in New Issue
Block a user