mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-12 01:29:42 +00:00
pep8 compliance, again
This commit is contained in:
@@ -130,7 +130,7 @@ class Command(BaseCommand):
|
||||
"asset_finance", "view_asset", "view_supplier", "asset_finance",
|
||||
"add_supplier"]
|
||||
financePerms = keyholderPerms + ["add_invoice", "change_invoice", "view_invoice",
|
||||
"add_payment", "change_payment", "delete_payment"]
|
||||
"add_payment", "change_payment", "delete_payment"]
|
||||
|
||||
for permId in keyholderPerms:
|
||||
self.keyholder_group.permissions.add(Permission.objects.get(codename=permId))
|
||||
|
||||
@@ -33,7 +33,6 @@ class AssetStatus(models.Model):
|
||||
class Supplier(models.Model):
|
||||
name = models.CharField(max_length=80)
|
||||
|
||||
|
||||
class Meta:
|
||||
permissions = (
|
||||
('view_supplier', 'Can view a supplier'),
|
||||
|
||||
Reference in New Issue
Block a user