wbintegrator_office365 1.50.9__py2.py3-none-any.whl → 1.50.10__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.
- wbintegrator_office365/filters.py +5 -5
- {wbintegrator_office365-1.50.9.dist-info → wbintegrator_office365-1.50.10.dist-info}/METADATA +1 -1
- {wbintegrator_office365-1.50.9.dist-info → wbintegrator_office365-1.50.10.dist-info}/RECORD +4 -4
- {wbintegrator_office365-1.50.9.dist-info → wbintegrator_office365-1.50.10.dist-info}/WHEEL +0 -0
@@ -53,7 +53,7 @@ class EventFilter(wb_filters.FilterSet):
|
|
53
53
|
lookup_expr="gte",
|
54
54
|
field_name="created",
|
55
55
|
method="created_filter",
|
56
|
-
|
56
|
+
initial=current_year,
|
57
57
|
)
|
58
58
|
|
59
59
|
def created_filter(self, queryset, name, value):
|
@@ -106,7 +106,7 @@ class CallEventFilter(wb_filters.FilterSet):
|
|
106
106
|
lookup_expr="gte",
|
107
107
|
field_name="start",
|
108
108
|
method="start_filter",
|
109
|
-
|
109
|
+
initial=current_year,
|
110
110
|
)
|
111
111
|
|
112
112
|
def filter_participants(self, queryset, name, value):
|
@@ -159,7 +159,7 @@ class CallEventSummaryGraphFilter(wb_filters.FilterSet):
|
|
159
159
|
label="Date Range",
|
160
160
|
required=True,
|
161
161
|
clearable=False,
|
162
|
-
|
162
|
+
initial=lambda f, v, q: DateRange(previous_month(f, v, q), next_day(f, v, q)),
|
163
163
|
)
|
164
164
|
|
165
165
|
employee = wb_filters.ModelChoiceFilter(
|
@@ -193,11 +193,11 @@ class CallEventSummaryGraphFilter(wb_filters.FilterSet):
|
|
193
193
|
)
|
194
194
|
|
195
195
|
call_duration = wb_filters.NumberFilter(
|
196
|
-
label="Include calls of at least how many secondes",
|
196
|
+
label="Include calls of at least how many secondes", initial=30, method="filter_call_duration", required=False
|
197
197
|
)
|
198
198
|
|
199
199
|
business_day_without_call = wb_filters.BooleanFilter(
|
200
|
-
label="Include business day without call",
|
200
|
+
label="Include business day without call", initial=False, method="filter_business_day_without_call"
|
201
201
|
)
|
202
202
|
|
203
203
|
def filter_date_range(self, queryset, name, value):
|
@@ -3,7 +3,7 @@ wbintegrator_office365/admin.py,sha256=YYfp5_TTH7h7J8TG-IugUiH_CHurxvaBEM2DdJt3Z
|
|
3
3
|
wbintegrator_office365/apps.py,sha256=bRcE51Shd_r2MBWhn3MOFDMZlY4ABcrH2uprlFrP7tY,118
|
4
4
|
wbintegrator_office365/dynamic_preferences_registry.py,sha256=RIptl8WGibV_XMynXl1x5tDW_UzLksfV1vfqbRywb-k,502
|
5
5
|
wbintegrator_office365/factories.py,sha256=pG8moGurbSElIugs_Gz3nd7-UJt3vC6mGy-EZQIeldI,3872
|
6
|
-
wbintegrator_office365/filters.py,sha256=
|
6
|
+
wbintegrator_office365/filters.py,sha256=bSX1jrP1SrqiGkysoX__AqPRUPSU-uQq_-tOHinqijU,7447
|
7
7
|
wbintegrator_office365/serializers.py,sha256=tR_HdsyxwCZo2_sOdhj2NErOEjTRyoIXA6DRR-BjVKs,8097
|
8
8
|
wbintegrator_office365/tasks.py,sha256=VcGEyp1zzPRsXAwYomyM1ZlhM7nXiVNbkMVYxuH54Hc,5766
|
9
9
|
wbintegrator_office365/urls.py,sha256=qfIIb3CNJw40xhGJnE7ztEMt2l-kgnRXA_P8Y3sDlPg,1922
|
@@ -37,6 +37,6 @@ wbintegrator_office365/viewsets/endpoints.py,sha256=EL-2enypHcBztCAXjiz_1B-NdjRW
|
|
37
37
|
wbintegrator_office365/viewsets/menu.py,sha256=hafwoiHZmN3ltf30dTfwHreDwhyfdHlGOQk8bB7jB_o,2406
|
38
38
|
wbintegrator_office365/viewsets/titles.py,sha256=9GZ_fqN9-sJzYHFvibOhNrRQQMNTh_m4eAv66VaGzDM,1214
|
39
39
|
wbintegrator_office365/viewsets/viewsets.py,sha256=T9u8vViyeHrK1xzPbQqIKXgpf4qM-5KkPzbZGdLLujA,26331
|
40
|
-
wbintegrator_office365-1.50.
|
41
|
-
wbintegrator_office365-1.50.
|
42
|
-
wbintegrator_office365-1.50.
|
40
|
+
wbintegrator_office365-1.50.10.dist-info/METADATA,sha256=AqcSk_Z9eChd3DzqTeYfooCtu1HmZ_LLlnvcZslX1ZA,305
|
41
|
+
wbintegrator_office365-1.50.10.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
42
|
+
wbintegrator_office365-1.50.10.dist-info/RECORD,,
|
File without changes
|