2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Perform full validation when importing data

This commit is contained in:
Oliver Walters
2019-09-15 19:58:05 +10:00
parent 2d17f957f1
commit 03043e67c7
3 changed files with 9 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class CompanyResource(ModelResource):
model = Company
skip_unchanged = True
report_skipped = False
clean_model_instances = True
class CompanyAdmin(ImportExportModelAdmin):
@ -43,6 +44,7 @@ class SupplierPartResource(ModelResource):
model = SupplierPart
skip_unchanged = True
report_skipped = False
clean_model_instances = True
class SupplierPartAdmin(ImportExportModelAdmin):
@ -63,6 +65,7 @@ class SupplierPriceBreakResource(ModelResource):
model = SupplierPriceBreak
skip_unchanged = True
report_skipped = False
clean_model_instances = True
class SupplierPriceBreakAdmin(ImportExportModelAdmin):