diff --git a/tailbone/views/inventory.py b/tailbone/views/inventory.py index 8d0ebc05..80bb5578 100644 --- a/tailbone/views/inventory.py +++ b/tailbone/views/inventory.py @@ -263,7 +263,7 @@ class InventoryBatchView(BatchMasterView): 'form': form, } - if self.request.has_perm('{}.edit'.format(self.get_row_permission_prefix())): + if self.request.has_perm('{}.edit_row'.format(self.get_permission_prefix())): update_form = forms.SimpleForm(self.request, schema=InventoryForm) if update_form.validate(): row = update_form.data['row']