Replace normalize with integer wrapper for quantity field

This commit is contained in:
eeintech committed 2021-04-08 14:35:47 -04:00
1 parent 5e0e364b6c
commit 7491cda313
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ class BomItemResource(ModelResource):
Ref: https://django-import-export.readthedocs.io/en/latest/getting_started.html#advanced-data-manipulation-on-export Ref: https://django-import-export.readthedocs.io/en/latest/getting_started.html#advanced-data-manipulation-on-export
""" """
return normalize(item.quantity) return int(item.quantity)
def before_export(self, queryset, *args, **kwargs): def before_export(self, queryset, *args, **kwargs):