Reference and note fields cannot be None
This commit is contained in:
parent
8637d46981
commit
c5e17070fb
|
|
@ -1116,8 +1116,8 @@ class BomUpload(FormView):
|
|||
for row in self.bom_rows:
|
||||
part = row.get('part')
|
||||
quantity = row.get('quantity')
|
||||
reference = row.get('reference')
|
||||
notes = row.get('notes')
|
||||
reference = row.get('reference', '')
|
||||
notes = row.get('notes', '')
|
||||
|
||||
# Create a new BOM item!
|
||||
item = BomItem(
|
||||
|
|
|
|||
Loading…
Reference in New Issue