mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Yet more style fixes
This commit is contained in:
parent
77a2b6de8b
commit
88f73443ee
@ -338,9 +338,6 @@ def create_missing_rule_sets(sender, instance, **kwargs):
|
|||||||
then we can now use these RuleSet values to update the
|
then we can now use these RuleSet values to update the
|
||||||
group permissions.
|
group permissions.
|
||||||
"""
|
"""
|
||||||
created = kwargs.get('created', False)
|
|
||||||
# To trigger the group permissions update: update_fields should not be None
|
|
||||||
update_fields = kwargs.get('update_fields', None)
|
|
||||||
|
|
||||||
update_group_roles(instance)
|
update_group_roles(instance)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user