mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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…
Reference in New Issue
Block a user