2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-19 07:48:39 +00:00

Changed int to float

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