wbhuman_resources 1.59.6rc0__py2.py3-none-any.whl → 1.59.8__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.
@@ -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 ExpressionWrapper, F, Q, Value, functions
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=ExpressionWrapper(
416
- functions.Concat(
417
- functions.Cast("for_reviewee", output_field=CharField()),
418
- Value(" / "),
419
- functions.Cast("for_reviewer", output_field=CharField()),
420
- Value(" / "),
421
- functions.Cast("for_department_peers", output_field=CharField()),
422
- Value(" / "),
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbhuman_resources
3
- Version: 1.59.6rc0
3
+ Version: 1.59.8
4
4
  Summary: A workbench module for managing human resources.
5
5
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
6
6
  Requires-Dist: wbcore
@@ -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=zTvYRw8A8HlYrCit3cPVd0ine2mHdmOOh5QItWqalWI,32618
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.6rc0.dist-info/METADATA,sha256=iKadYQc2NTcf_Xje1Q7C-93swfZouLC2tNh8ATI27Wc,275
111
- wbhuman_resources-1.59.6rc0.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
112
- wbhuman_resources-1.59.6rc0.dist-info/RECORD,,
110
+ wbhuman_resources-1.59.8.dist-info/METADATA,sha256=GYz-moAFkgfBFG9gcB2Y6eSKs8p2uJTCIwJQ4sQYdsw,272
111
+ wbhuman_resources-1.59.8.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
112
+ wbhuman_resources-1.59.8.dist-info/RECORD,,