wbcommission 1.44.2__py2.py3-none-any.whl → 1.44.3__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.

Potentially problematic release.


This version of wbcommission might be problematic. Click here for more details.

@@ -10,6 +10,7 @@ from django.db.models import Exists, OuterRef, QuerySet
10
10
  from django.dispatch import receiver
11
11
  from wbcore.contrib.authentication.models import User
12
12
  from wbcore.contrib.notifications.dispatch import send_notification
13
+ from wbcore.contrib.notifications.utils import create_notification_type
13
14
  from wbcore.signals import pre_merge
14
15
  from wbcore.utils.enum import ChoiceEnum
15
16
  from wbcrm.models.accounts import Account
@@ -160,7 +161,7 @@ class Rebate(BookingEntryCalculatedValueMixin, models.Model):
160
161
  # ("date", "recipient", "product", "commission"),
161
162
  ]
162
163
  notification_types = [
163
- (
164
+ create_notification_type(
164
165
  "wbcommission.rebate.computation_done",
165
166
  "Rebate Computation Done",
166
167
  "Sends a notification to notify rebate computation requester that the calculation is done",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbcommission
3
- Version: 1.44.2
3
+ Version: 1.44.3
4
4
  Summary: A workbench module for managing human resources.
5
5
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
6
6
  Requires-Dist: reportlab==3.*
@@ -29,7 +29,7 @@ wbcommission/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
29
29
  wbcommission/models/__init__.py,sha256=BJyah0_zKssfU2ohvu4qcQSHAT1ovcZ_go2-sLEagyw,183
30
30
  wbcommission/models/account_service.py,sha256=WUzcuWoZEr5twkZFEd-ejofkg6ZPCL3o-0vYXvIVAkI,10652
31
31
  wbcommission/models/commission.py,sha256=tkWb7ej2wjIGc_GIj-m02AGEwSEoElQ12LO6nyE1xUg,29574
32
- wbcommission/models/rebate.py,sha256=TWrnTEjJkbr_KQb_pWnvdPWbFzRxJZyxoyZT5cfI1c4,12699
32
+ wbcommission/models/rebate.py,sha256=GtR3G5TqmDdlcefF678Z9D993glddAormoWnYzYzQLg,12795
33
33
  wbcommission/models/signals.py,sha256=d-123hxTlbp2A9AwUOE_E90jrDN1e3_r7d8aGq7SmiY,2270
34
34
  wbcommission/reports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  wbcommission/reports/audit_report.py,sha256=FAcZbXrzRfchYcAgC9B6XyQFY_o4vYnCVbkdoB5jfTg,2177
@@ -71,6 +71,6 @@ wbcommission/viewsets/menu/rebate.py,sha256=Qzhwr2xG3_j7frxs3eWLZuMoUzT2nCBrWmEY
71
71
  wbcommission/viewsets/titles/__init__.py,sha256=Sg64aMWm_OD4-P57YoaN6Mqv6NRVU5m7ii_WvaWuTsY,85
72
72
  wbcommission/viewsets/titles/commissions.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  wbcommission/viewsets/titles/rebate.py,sha256=VTSHJW3voqCMVhDZ_zVeVmZid_WY3P4X9k11VdJM_GQ,301
74
- wbcommission-1.44.2.dist-info/METADATA,sha256=9fxmgSZBlKtMP9c5yXkM5bfJWajF3Q981Y6m3BAfkns,323
75
- wbcommission-1.44.2.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
76
- wbcommission-1.44.2.dist-info/RECORD,,
74
+ wbcommission-1.44.3.dist-info/METADATA,sha256=ElfxnEXTlkBZkS4uhLlmbrG_18C2iDozPrfCAlmbmJM,323
75
+ wbcommission-1.44.3.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
76
+ wbcommission-1.44.3.dist-info/RECORD,,