Introduce support for "children first" truck dump receiving
still needs more testing to see what's left...
This commit is contained in:
parent
4af971b83c
commit
a45ce2ced2
7 changed files with 201 additions and 34 deletions
|
@ -591,10 +591,6 @@ class PurchasingBatchView(BatchMasterView):
|
|||
# query = super(PurchasingBatchView, self).get_row_data(batch)
|
||||
# return query.options(orm.joinedload(model.PurchaseBatchRow.credits))
|
||||
|
||||
def get_mobile_row_data(self, parent):
|
||||
query = self.get_row_data(parent)
|
||||
return self.sort_mobile_row_data(query)
|
||||
|
||||
def sort_mobile_row_data(self, query):
|
||||
return query.order_by(model.PurchaseBatchRow.modified.desc())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue