Allow update of row unit cost directly from receiving batch view

This commit is contained in:
Lance Edgar 2019-11-21 17:41:26 -06:00
parent b7c710cddd
commit c14cf3022c
4 changed files with 196 additions and 5 deletions

View file

@ -489,7 +489,7 @@ class MasterView(View):
actions.append(self.make_action('view', icon=icon, url=view))
# edit action
if self.rows_editable:
if self.rows_editable and self.has_perm('edit_row'):
icon = 'edit' if use_buefy else 'pencil'
actions.append(self.make_action('edit', icon=icon, url=self.row_edit_action_url))