ob-dj-store 0.0.22.1__py3-none-any.whl → 0.0.22.2__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.
@@ -51,7 +51,7 @@ def create_customer_cart_and_wallet_handler(sender, instance, created, **kwargs)
51
51
  # delete gcc wallets if exists for US based users
52
52
  if getattr(instance, "country", "") and instance.country:
53
53
  currency = get_currency_by_country(instance.country.code)
54
- if currency not in settings.US_WALLET_CURRENCIES:
54
+ if currency in settings.US_WALLET_CURRENCIES:
55
55
  instance.wallets.filter(
56
56
  currency__in=settings.WALLET_CURRENCIES
57
57
  ).delete()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ob-dj-store
3
- Version: 0.0.22.1
3
+ Version: 0.0.22.2
4
4
  Summary: OBytes django application for managing ecommerce stores.
5
5
  Home-page: https://www.obytes.com/
6
6
  Author: OBytes
@@ -18,7 +18,7 @@ ob_dj_store/core/stores/admin.py,sha256=aI1t3nIeOw_Vcy2E2LNaAxMRX2GjvVrVeBaH-n4I
18
18
  ob_dj_store/core/stores/admin_inlines.py,sha256=9_35VwwRh5w8YU2CRTJ7sENUjF-D-J-o9jXhLEPpS3w,2900
19
19
  ob_dj_store/core/stores/apps.py,sha256=ZadmEER_dNcQTH617b3fAsYZJSyRw0g46Kjp4eOAsOU,498
20
20
  ob_dj_store/core/stores/managers.py,sha256=Q0PUB_LSz0bufJ0OfgHuvSC-5uAGSsDDlhitisFJqw4,10141
21
- ob_dj_store/core/stores/receivers.py,sha256=iQZfQo_6hUipUFX4VMRHkTc54CCNPf0-NSmXNyzzwhU,5008
21
+ ob_dj_store/core/stores/receivers.py,sha256=NlHgPuN5jZEWF1O1P8GOpNoYTaRB2zQaGmXCyqudAi8,5004
22
22
  ob_dj_store/core/stores/settings_validation.py,sha256=eTkRaI6CG5OEJQyI5CF-cNAcvjzXf3GwX5sR97O3v98,3977
23
23
  ob_dj_store/core/stores/utils.py,sha256=r6YdjQu5gsrZmO_qgXb21xcB50tbAI9vffN4Yp6n6iA,3427
24
24
  ob_dj_store/core/stores/gateway/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -172,7 +172,7 @@ ob_dj_store/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
172
172
  ob_dj_store/utils/helpers.py,sha256=o7wgypM7mI2vZqZKkhxnTcnHJC8GMQDOuYMnRwXr6tY,2058
173
173
  ob_dj_store/utils/model.py,sha256=DV7hOhTaZL3gh9sptts2jTUFlTArKG3i7oPioq9HLFE,303
174
174
  ob_dj_store/utils/utils.py,sha256=8UVAFB56qUSjJJ5f9vnermtw638gdFy4CFRCuMbns_M,1342
175
- ob_dj_store-0.0.22.1.dist-info/METADATA,sha256=EPL0g7lRSJkPFVBKE0cEmKXzmKXVqQuT8ZRGtltup3k,2850
176
- ob_dj_store-0.0.22.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
177
- ob_dj_store-0.0.22.1.dist-info/top_level.txt,sha256=CZG3G0ptTkzGnc0dFYN-ZD7YKdJBmm47bsmGwofD_lk,12
178
- ob_dj_store-0.0.22.1.dist-info/RECORD,,
175
+ ob_dj_store-0.0.22.2.dist-info/METADATA,sha256=QGoLBwonfeehmzz5Mx-VnKThLe0F7W6mHcd-6AV_ARM,2850
176
+ ob_dj_store-0.0.22.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
177
+ ob_dj_store-0.0.22.2.dist-info/top_level.txt,sha256=CZG3G0ptTkzGnc0dFYN-ZD7YKdJBmm47bsmGwofD_lk,12
178
+ ob_dj_store-0.0.22.2.dist-info/RECORD,,