mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Changed int to float
This commit is contained in:
parent
cbddda6640
commit
afddf12339
@ -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):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user