Fix bug where batch notes weren't saved upon creation
This commit is contained in:
parent
522aad5880
commit
da0f5cb63c
|
@ -290,6 +290,7 @@ class BatchMasterView(MasterView):
|
||||||
kwargs['created_by'] = batch.created_by
|
kwargs['created_by'] = batch.created_by
|
||||||
elif batch.created_by_uuid:
|
elif batch.created_by_uuid:
|
||||||
kwargs['created_by_uuid'] = batch.created_by_uuid
|
kwargs['created_by_uuid'] = batch.created_by_uuid
|
||||||
|
kwargs['notes'] = batch.notes
|
||||||
if hasattr(batch, 'filename'):
|
if hasattr(batch, 'filename'):
|
||||||
kwargs['filename'] = batch.filename
|
kwargs['filename'] = batch.filename
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
Loading…
Reference in a new issue