Changed int to float

This commit is contained in:
eeintech 2021-04-08 22:04:26 -04:00
parent cbddda6640
commit afddf12339

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):