mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Replace normalize with integer wrapper for quantity field
This commit is contained in:
parent
5e0e364b6c
commit
7491cda313
@ -180,7 +180,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 normalize(item.quantity)
|
return int(item.quantity)
|
||||||
|
|
||||||
def before_export(self, queryset, *args, **kwargs):
|
def before_export(self, queryset, *args, **kwargs):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user