Merge branch 'razrab' into feature/create_app

This commit is contained in:
iriska-gri committed 2023-10-10 13:23:42 +03:00
commit 2f8cd0c46e
3 files changed
+2 -1

No files matched your search

BIN
View File
Binary file not shown.
+1 -1
View File
@@ -86,7 +86,7 @@ export default {
return {loging, menuGetUserDialog, onlineuser, checkremote,spravURL, whatuser, accountStore, gh}
return {loging, menuGetUserDialog, onlineuser, checkremote,spravURL, whatuser, accountStore}
}
}
+1
View File
@@ -6,6 +6,7 @@ class GeneralVacationAdmin(admin.ModelAdmin):
list_display=('get_name', 'user', 'planned_date', 'count_days', 'type_of_vacation', 'start_work_period', 'end_work_period')
readonly_fields=('get_name',)
def get_name(self, obj):
print(obj.user.fio(), '----------------obj.user.fio()')
return obj.user.fio()