Allow update of row unit cost directly from receiving batch view
This commit is contained in:
parent
b7c710cddd
commit
c14cf3022c
4 changed files with 196 additions and 5 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue