wbhuman_resources 1.59.6rc0__py2.py3-none-any.whl → 1.59.7__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wbhuman_resources/viewsets/review.py +10 -12
- {wbhuman_resources-1.59.6rc0.dist-info → wbhuman_resources-1.59.7.dist-info}/METADATA +1 -1
- {wbhuman_resources-1.59.6rc0.dist-info → wbhuman_resources-1.59.7.dist-info}/RECORD +4 -4
- {wbhuman_resources-1.59.6rc0.dist-info → wbhuman_resources-1.59.7.dist-info}/WHEEL +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import pandas as pd
|
|
2
2
|
from django.contrib.messages import info, warning
|
|
3
|
-
from django.db.models import
|
|
3
|
+
from django.db.models import F, Q, Value, functions
|
|
4
4
|
from django.db.models.fields import CharField
|
|
5
5
|
from django.shortcuts import get_object_or_404
|
|
6
6
|
from django.utils import timezone
|
|
@@ -412,18 +412,16 @@ class ReviewQuestionModelViewSet(OrderableMixin, viewsets.ModelViewSet):
|
|
|
412
412
|
super()
|
|
413
413
|
.get_queryset()
|
|
414
414
|
.annotate(
|
|
415
|
-
review_for=
|
|
416
|
-
functions.
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
functions.Cast("for_company_peers", output_field=CharField()),
|
|
424
|
-
),
|
|
415
|
+
review_for=functions.Concat(
|
|
416
|
+
functions.Cast("for_reviewee", output_field=CharField()),
|
|
417
|
+
Value(" / "),
|
|
418
|
+
functions.Cast("for_reviewer", output_field=CharField()),
|
|
419
|
+
Value(" / "),
|
|
420
|
+
functions.Cast("for_department_peers", output_field=CharField()),
|
|
421
|
+
Value(" / "),
|
|
422
|
+
functions.Cast("for_company_peers", output_field=CharField()),
|
|
425
423
|
output_field=CharField(),
|
|
426
|
-
)
|
|
424
|
+
),
|
|
427
425
|
)
|
|
428
426
|
)
|
|
429
427
|
|
|
@@ -76,7 +76,7 @@ wbhuman_resources/viewsets/calendars.py,sha256=qX5rPnw6f6LBYd8_vxc17AUtX22LGwhZs
|
|
|
76
76
|
wbhuman_resources/viewsets/employee.py,sha256=ffJpIrV2f2n_a2I-Dx6XXlirLO6G3D83cdpwZDKBAVI,7345
|
|
77
77
|
wbhuman_resources/viewsets/kpi.py,sha256=eZfYwIZwG3xCNXG5gcE_p74VJFueQhNkt8z-rN73ydk,10968
|
|
78
78
|
wbhuman_resources/viewsets/mixins.py,sha256=ziLsNSENzxTcFQStsNZgsHeqQRKEQnHeryFigND2pMI,458
|
|
79
|
-
wbhuman_resources/viewsets/review.py,sha256=
|
|
79
|
+
wbhuman_resources/viewsets/review.py,sha256=B5a8zBgWgLxNmbCp2EzY0-nLCTW75e2rPYr5VyEZ5J4,32510
|
|
80
80
|
wbhuman_resources/viewsets/utils.py,sha256=stM4coAl9JVLdJ1Q2z4ziDOoNSNXugydpT4a4Tv9N2s,969
|
|
81
81
|
wbhuman_resources/viewsets/buttons/__init__.py,sha256=bjyHwL71gqYc5hz13GtDU7l8ocOscBgThet7FIesZ_s,248
|
|
82
82
|
wbhuman_resources/viewsets/buttons/absence.py,sha256=wEumCQ3qEomU9-RrsSCJS_A2FeBChTPoaOXANyP0uOU,1227
|
|
@@ -107,6 +107,6 @@ wbhuman_resources/viewsets/titles/absence.py,sha256=4F4ENgmZBGKiDuC8DmgrklNXEsRo
|
|
|
107
107
|
wbhuman_resources/viewsets/titles/employee.py,sha256=VP_AC3E-3fpbO8-RUvi2haXcoJr9LVLYtJifGawVRGo,565
|
|
108
108
|
wbhuman_resources/viewsets/titles/kpis.py,sha256=OSH_vIsIjfThWn17X_K7ykBKAFqNvz8M4PyFCF8BRQo,491
|
|
109
109
|
wbhuman_resources/viewsets/titles/review.py,sha256=fL_PqTNAIK7alk_-7RaklkiR9guh54u8oS0m5AWOSSc,2458
|
|
110
|
-
wbhuman_resources-1.59.
|
|
111
|
-
wbhuman_resources-1.59.
|
|
112
|
-
wbhuman_resources-1.59.
|
|
110
|
+
wbhuman_resources-1.59.7.dist-info/METADATA,sha256=NMd8xQrLOSjRf3GGEinRp1Ee-8k3oTk90nmcMwoQHHM,272
|
|
111
|
+
wbhuman_resources-1.59.7.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
|
|
112
|
+
wbhuman_resources-1.59.7.dist-info/RECORD,,
|
|
File without changes
|