2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 04:26:44 +00:00

Reference and note fields cannot be None

This commit is contained in:
Oliver Walters 2019-07-10 13:30:51 +10:00
parent 8637d46981
commit c5e17070fb

View File

@ -1116,8 +1116,8 @@ class BomUpload(FormView):
for row in self.bom_rows: for row in self.bom_rows:
part = row.get('part') part = row.get('part')
quantity = row.get('quantity') quantity = row.get('quantity')
reference = row.get('reference') reference = row.get('reference', '')
notes = row.get('notes') notes = row.get('notes', '')
# Create a new BOM item! # Create a new BOM item!
item = BomItem( item = BomItem(