mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-01 16:10:43 +00:00
Replace normalize with integer wrapper for quantity field
This commit is contained in:
1 parent
5e0e364b6c
commit
7491cda313
1 file changed
+1
-1
@@ -180,7 +180,7 @@ class BomItemResource(ModelResource):
|
||||
|
||||
Ref: https://django-import-export.readthedocs.io/en/latest/getting_started.html#advanced-data-manipulation-on-export
|
||||
"""
|
||||
return normalize(item.quantity)
|
||||
return int(item.quantity)
|
||||
|
||||
def before_export(self, queryset, *args, **kwargs):
|
||||
|
||||
|
||||
Reference in new issue
Block a user