Various changes to support a certain new app
improve inventory support, plus "hiding" person data but still using it
This commit is contained in:
parent
fcffe0f79d
commit
18f4b4ff5c
7 changed files with 64 additions and 18 deletions
|
@ -274,6 +274,7 @@ class BatchMasterView(MasterView):
|
|||
kwargs['created_by'] = batch.created_by
|
||||
elif batch.created_by_uuid:
|
||||
kwargs['created_by_uuid'] = batch.created_by_uuid
|
||||
kwargs['description'] = batch.description
|
||||
kwargs['notes'] = batch.notes
|
||||
if hasattr(batch, 'filename'):
|
||||
kwargs['filename'] = batch.filename
|
||||
|
|
|
@ -80,6 +80,9 @@ class BatchMasterView2(MasterView2, BatchMasterView):
|
|||
g.set_renderer('id', self.render_batch_id)
|
||||
|
||||
g.set_link('id')
|
||||
g.set_link('description')
|
||||
g.set_link('created')
|
||||
g.set_link('executed')
|
||||
|
||||
g.set_label('id', "Batch ID")
|
||||
g.set_label('created_by', "Created by")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue