From 49017fda397b2169915a8e555ffed00ca76dd319 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 1 Apr 2019 13:31:57 -0500 Subject: [PATCH] Make sure user sees "receive row" page on mobile, after scanning UPC was still redirecting to "view row" which is sort of deprecated now... --- tailbone/views/purchasing/receiving.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/purchasing/receiving.py b/tailbone/views/purchasing/receiving.py index 9bc13962..aa32e7c8 100644 --- a/tailbone/views/purchasing/receiving.py +++ b/tailbone/views/purchasing/receiving.py @@ -1546,7 +1546,7 @@ class ReceivingBatchView(PurchasingBatchView): def redirect_after_quick_row(self, row, mobile=False): if mobile: - return self.redirect(self.get_row_action_url('view', row, mobile=mobile)) + return self.redirect(self.get_row_action_url('receive', row, mobile=mobile)) return super(ReceivingBatchView, self).redirect_after_quick_row(row, mobile=mobile) def get_row_image_url(self, row):