Add "quick lookup" for mobile Products page

only if enabled, otherwise just shows the normal grid
This commit is contained in:
Lance Edgar 2018-08-09 22:11:44 -05:00
parent 21740ea2fd
commit 950af8b5e0
7 changed files with 68 additions and 18 deletions

View file

@ -991,7 +991,7 @@ class ReceivingBatchView(PurchasingBatchView):
def save_quick_row_form(self, form):
batch = self.get_instance()
entry = form.validated['quick_row_entry']
entry = form.validated['quick_entry']
# maybe try to locate existing row first
rows = self.quick_locate_rows(batch, entry)