Make sure user sees "receive row" page on mobile, after scanning UPC
was still redirecting to "view row" which is sort of deprecated now...
This commit is contained in:
parent
53917e9bf5
commit
49017fda39
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue