mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 13:06:45 +00:00
Reduce noise in logs
This commit is contained in:
parent
f90730d866
commit
40fcfe1f47
@ -40,6 +40,7 @@ def assign_bom_items(apps, schema_editor):
|
|||||||
except BomItem.DoesNotExist:
|
except BomItem.DoesNotExist:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
if count_total > 0:
|
||||||
print(f"Assigned BomItem for {count_valid}/{count_total} entries")
|
print(f"Assigned BomItem for {count_valid}/{count_total} entries")
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,6 +71,7 @@ def migrate_currencies(apps, schema_editor):
|
|||||||
|
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
|
if count > 0:
|
||||||
print(f"Updated {count} SupplierPriceBreak rows")
|
print(f"Updated {count} SupplierPriceBreak rows")
|
||||||
|
|
||||||
def reverse_currencies(apps, schema_editor):
|
def reverse_currencies(apps, schema_editor):
|
||||||
|
@ -71,6 +71,7 @@ def migrate_currencies(apps, schema_editor):
|
|||||||
|
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
|
if count > 0:
|
||||||
print(f"Updated {count} SupplierPriceBreak rows")
|
print(f"Updated {count} SupplierPriceBreak rows")
|
||||||
|
|
||||||
def reverse_currencies(apps, schema_editor):
|
def reverse_currencies(apps, schema_editor):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user