set add info for reinsle
This commit is contained in:
parent
eb5168a1bd
commit
9fb04c661d
@ -61,4 +61,6 @@ class AccountingAdmin(admin.ModelAdmin):
|
|||||||
list_filter = ('desk__client__location', 'account_user', 'account_tst', 'billed')
|
list_filter = ('desk__client__location', 'account_user', 'account_tst', 'billed')
|
||||||
|
|
||||||
def has_add_permission(self, request):
|
def has_add_permission(self, request):
|
||||||
|
if request.user.username == 'reinsle':
|
||||||
|
return True
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user