Tweak how purchase batch is created via mobile
to let custom apps override args etc.
This commit is contained in:
parent
9e0e21399b
commit
f0feefc7e5
2 changed files with 14 additions and 10 deletions
|
@ -277,7 +277,7 @@ class BatchMasterView(MasterView):
|
|||
# return this object to replace the original
|
||||
return batch
|
||||
|
||||
def get_batch_kwargs(self, batch):
|
||||
def get_batch_kwargs(self, batch, mobile=False):
|
||||
"""
|
||||
Return a kwargs dict for use with ``self.handler.make_batch()``, using
|
||||
the given batch as a template.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue