Fix bug with mobile receiving UPC lookup; require stronger perm
doing a UPC lookup for mobile receiving now requires "create batch row" permissions, since the view is capable of just that
This commit is contained in:
parent
148cbd2f57
commit
dda79a491f
2 changed files with 29 additions and 19 deletions
|
@ -643,6 +643,10 @@ class MasterView(View):
|
|||
else:
|
||||
grid.configure()
|
||||
|
||||
def mobile_row_route_url(self, route_name, **kwargs):
|
||||
route_name = 'mobile.{}.{}'.format(self.get_row_route_prefix(), route_name)
|
||||
return self.request.route_url(route_name, **kwargs)
|
||||
|
||||
def mobile_view_row(self):
|
||||
"""
|
||||
Mobile view for row items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue