Add basic "receive row" desktop view for receiving batches
not terribly polished yet, but works
This commit is contained in:
parent
7fab472fc4
commit
c869516449
8 changed files with 343 additions and 9 deletions
tailbone/views/batch
|
@ -1111,6 +1111,9 @@ class BatchMasterView(MasterView):
|
|||
|
||||
def template_kwargs_view_row(self, **kwargs):
|
||||
kwargs['batch_model_title'] = kwargs['parent_model_title']
|
||||
# TODO: should these be set somewhere else?
|
||||
kwargs['row'] = kwargs['instance']
|
||||
kwargs['batch'] = kwargs['row'].batch
|
||||
return kwargs
|
||||
|
||||
def get_parent(self, row):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue