From afddf12339c36b26f7dd3e7c200b9fe1b25f6ae9 Mon Sep 17 00:00:00 2001 From: eeintech Date: Thu, 8 Apr 2021 22:04:26 -0400 Subject: [PATCH] Changed int to float --- InvenTree/part/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/admin.py b/InvenTree/part/admin.py index eb728c5295..af2f615803 100644 --- a/InvenTree/part/admin.py +++ b/InvenTree/part/admin.py @@ -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):