log login error
This commit is contained in:
@@ -43,8 +43,8 @@ def organization_stats(sender, instance, **kwargs):
|
||||
update_organization_stats(instance.assigned_organization)
|
||||
else:
|
||||
print("assigned_organization is null")
|
||||
elif sender == InventoryQuotaSaleTransaction:
|
||||
if instance.inventory_entry:
|
||||
update_organization_stats(instance.inventory_entry.organization)
|
||||
else:
|
||||
print("inventory_entry is null - authentication app signals")
|
||||
# elif sender == InventoryQuotaSaleTransaction:
|
||||
# if instance.inventory_entry:
|
||||
# update_organization_stats(instance.inventory_entry.organization)
|
||||
# else:
|
||||
# print("inventory_entry is null - authentication app signals")
|
||||
|
||||
Reference in New Issue
Block a user