mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Allow user with part.change permission to delete BOM items
This commit is contained in:
parent
ab9a6bd3c4
commit
ba1862478c
@ -2554,7 +2554,7 @@ class BomItemDelete(AjaxDeleteView):
|
||||
context_object_name = 'item'
|
||||
ajax_form_title = _('Confim BOM item deletion')
|
||||
|
||||
role_required = 'part.delete'
|
||||
role_required = 'part.change'
|
||||
|
||||
|
||||
class PartSalePriceBreakCreate(AjaxCreateView):
|
||||
|
Loading…
Reference in New Issue
Block a user