mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
parent
74f4b85dfd
commit
dc8d77bdea
@ -40,6 +40,10 @@ def forward(apps, schema_editor):
|
||||
|
||||
filename = template.template.path
|
||||
|
||||
if not os.path.exists(filename):
|
||||
print(f"Migration error: Template file '{filename}' does not exist")
|
||||
continue
|
||||
|
||||
if '/report/inventree/' in filename:
|
||||
# Do not migrate internal report templates
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user