Changed int to float

This commit is contained in:
eeintech committed 2021-04-08 22:04:26 -04:00
1 parent cbddda6640
commit afddf12339
1 file changed
+1 -1
+1 -1
View File
@@ -178,7 +178,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 int(item.quantity) return float(item.quantity)
def before_export(self, queryset, *args, **kwargs): def before_export(self, queryset, *args, **kwargs):