ob-dj-store 0.0.17.8__tar.gz → 0.0.18__tar.gz
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.
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/PKG-INFO +1 -1
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/config/settings.py +4 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/stores/rest/serializers/serializers.py +2 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/admin.py +31 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/utils.py +2 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/managers.py +2 -0
- ob-dj-store-0.0.18/ob_dj_store/core/stores/migrations/0103_alter_paymentmethod_payment_provider.py +35 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_payment.py +2 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_store.py +1 -1
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store.egg-info/PKG-INFO +1 -1
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store.egg-info/SOURCES.txt +1 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.github/dependabot.yml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.github/workflows/docs.yml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.github/workflows/pre-release.yml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.github/workflows/release.yml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.github/workflows/test-build.yml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.gitignore +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.isort.cfg +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/.pre-commit-config.yaml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/Dockerfile +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/MANIFEST.in +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/Makefile +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/Pipfile +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/Pipfile.lock +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/README.md +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/config/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/config/urls.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/config/wsgi.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docker-compose.env +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docker-compose.yml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/Makefile +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/make.bat +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/source/admin.rst +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/source/conf.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/source/index.rst +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/source/installation.rst +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/source/models.rst +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/docs/source/rest_endpoints.rst +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/fixtures/initial_users.yaml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/fixtures/stores.yaml +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/manage.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/stores/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/stores/filters.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/stores/urls.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/stores/views.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/tap/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/tap/serializers.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/tap/urls.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/apis/tap/views.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/admin_inlines.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/apps.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/admin.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/apps.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/managers.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/0001_initial.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/0002_auto_20220815_1610.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/0003_auto_20220818_1938.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/0004_tapcustomer.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/0005_alter_tappayment_payment_url.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/0006_alter_tappayment_source.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/0007_alter_tappayment_source.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/migrations/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/gateway/tap/models.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0001_initial.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0002_auto_20220422_0205.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0003_openinghours.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0004_auto_20220422_2326.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0005_auto_20220425_2119.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0005_auto_20220427_1729.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0006_auto_20220428_0100.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0007_cart_cartitem_order_orderitem.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0008_order_status.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0009_auto_20220508_2142.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0010_auto_20220509_1633.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0011_favorite.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0012_auto_20220514_0633.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0013_auto_20220518_1539.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0014_auto_20220519_0018.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0015_inventory_inventoryoperations.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0016_productvariant_preparation_time.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0017_auto_20220524_0912.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0018_auto_20220524_1613.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0019_product_is_featured.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0020_orderhistory.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0021_auto_20220531_1849.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0022_order_pickup_time.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0023_feedback_feedbackattribute_feedbackconfig.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0024_auto_20220609_1552.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0025_productvariant_is_primary.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0026_auto_20220630_1913.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0027_auto_20220713_1759.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0028_phonecontact.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0029_auto_20220726_1750.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0030_category_parent.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0031_auto_20220811_1733.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0032_auto_20220812_1951.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0033_auto_20220815_0133.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0034_auto_20220815_1528.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0035_auto_20220818_1938.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0036_productattribute_is_mandatory.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0037_auto_20220825_1736.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0038_cartitem_extra_infos.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0039_auto_20220831_1521.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0040_auto_20220902_1806.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0041_auto_20220912_1506.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0042_wallet_wallettransaction.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0043_auto_20220919_1854.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0044_remove_productvariant_has_inventory.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0045_shippingmethod_type.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0046_auto_20221014_1720.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0047_auto_20221018_1433.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0048_auto_20221026_1933.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0049_auto_20221029_1524.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0050_favoriteextra.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0051_order_car_id.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0052_auto_20221129_1732.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0053_inventory_plu.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0054_auto_20221230_1501.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0055_store_image.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0056_auto_20230213_2224.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0057_auto_20230214_1724.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0058_attributechoice_is_default.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0059_auto_20230217_2006.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0060_alter_orderitem_product_variant.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0061_auto_20230223_1435.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0062_auto_20230226_2005.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0063_alter_store_payment_methods.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0064_auto_20230228_1814.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0065_auto_20230228_1932.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0066_auto_20230304_1532.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0067_auto_20230309_2014.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0068_auto_20230309_2251.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0069_alter_cartitem_options.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0070_auto_20230323_1628.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0071_auto_20230328_1825.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0072_alter_order_extra_infos.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0073_wallettransaction_is_cashback.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0074_productvariant_label.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0075_auto_20230419_0259.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0076_auto_20230421_1343.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0077_auto_20230502_2005.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0078_auto_20230503_1259.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0079_auto_20230504_1919.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0080_productvariant_description.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0081_storeattributechoice.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0082_auto_20230613_1424.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0083_productvariant_is_special.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0084_payment_result.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0085_auto_20230726_1528.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0086_wallet_is_active.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0087_auto_20230828_2138.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0088_alter_paymentmethod_payment_provider.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0089_discount_partner_partnerauthinfo_partneremaildomain_partnerotpauth.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0090_auto_20231006_1356.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0091_auto_20231010_1740.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0092_auto_20231012_1339.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0093_auto_20231017_2033.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0094_countrypaymentmethod.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0095_auto_20231101_1531.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0096_discount_discount_pos_id.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0097_auto_20231108_1939.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0098_alter_discount_discount_rate.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0099_alter_product_name_arabic.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0100_remove_shippingmethod_type_arabic.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0101_store_is_digital.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0102_partner_name_arabic.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_address.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_cart.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_favorite.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_feedback.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_inventory.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_order.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_partner.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_product.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/models/_wallet.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/receivers.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/settings_validation.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/utils.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/utils/__init__.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/utils/helpers.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/utils/model.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/utils/utils.py +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store.egg-info/dependency_links.txt +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store.egg-info/requires.txt +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store.egg-info/top_level.txt +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/pytest.ini +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/setup.cfg +0 -0
- {ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/setup.py +0 -0
@@ -319,6 +319,8 @@ WALLET = "wallet"
|
|
319
319
|
GIFT = "gift"
|
320
320
|
APPLE_PAY = "apple_pay"
|
321
321
|
GOOGLE_PAY = "google_pay"
|
322
|
+
MADA = "src_sa.mada"
|
323
|
+
BENEFIT = "src_bh.benefit"
|
322
324
|
|
323
325
|
PAYMENT_PROVIDER_CHOICES = (
|
324
326
|
(COD, _("cash on delivery")),
|
@@ -331,6 +333,8 @@ PAYMENT_PROVIDER_CHOICES = (
|
|
331
333
|
(GIFT, _("Gift")),
|
332
334
|
(APPLE_PAY, _("Apple Pay")),
|
333
335
|
(GOOGLE_PAY, _("Google Pay")),
|
336
|
+
(MADA, _("Mada")),
|
337
|
+
(BENEFIT, _("Benefit")),
|
334
338
|
)
|
335
339
|
DIGITAL_PAYMENT_METHODS = [TAP_KNET, TAP_CREDIT_CARD, TAP_ALL, GOOGLE_PAY]
|
336
340
|
DEFAULT_CURRENCY = "kwd"
|
@@ -3,6 +3,7 @@ from typing import Any
|
|
3
3
|
|
4
4
|
from django import forms
|
5
5
|
from django.contrib import admin
|
6
|
+
from django.db.models.functions import ExtractWeek
|
6
7
|
from django.utils.translation import gettext_lazy as _
|
7
8
|
from import_export.admin import ImportExportModelAdmin
|
8
9
|
from leaflet.admin import LeafletGeoAdmin
|
@@ -300,6 +301,26 @@ class AdressAdmin(LeafletGeoAdmin):
|
|
300
301
|
]
|
301
302
|
|
302
303
|
|
304
|
+
class WeekNumberFilter(admin.SimpleListFilter):
|
305
|
+
title = _("Week Number")
|
306
|
+
parameter_name = "week_number"
|
307
|
+
|
308
|
+
def lookups(self, request, model_admin):
|
309
|
+
return (
|
310
|
+
("1", _("Week 1")),
|
311
|
+
("2", _("Week 2")),
|
312
|
+
("3", _("Week 3")),
|
313
|
+
("4", _("Week 4")),
|
314
|
+
)
|
315
|
+
|
316
|
+
def queryset(self, request, queryset):
|
317
|
+
if self.value():
|
318
|
+
queryset = queryset.annotate(week_number=ExtractWeek("created_at")).filter(
|
319
|
+
week_number=self.value()
|
320
|
+
)
|
321
|
+
return queryset
|
322
|
+
|
323
|
+
|
303
324
|
class OrderAdmin(ImportExportModelAdmin, admin.ModelAdmin):
|
304
325
|
list_display = [
|
305
326
|
"id",
|
@@ -318,11 +339,13 @@ class OrderAdmin(ImportExportModelAdmin, admin.ModelAdmin):
|
|
318
339
|
"id",
|
319
340
|
]
|
320
341
|
date_hierarchy = "created_at"
|
342
|
+
|
321
343
|
list_filter = [
|
322
344
|
"payment_method",
|
323
345
|
"shipping_method",
|
324
346
|
"store",
|
325
347
|
"status",
|
348
|
+
WeekNumberFilter, # Include the filter instance instead of the class name
|
326
349
|
]
|
327
350
|
|
328
351
|
def get_queryset(self, request):
|
@@ -410,6 +433,7 @@ class WalletTransactionAdmin(ImportExportModelAdmin, admin.ModelAdmin):
|
|
410
433
|
list_display = [
|
411
434
|
"id",
|
412
435
|
"user",
|
436
|
+
"currency",
|
413
437
|
"type",
|
414
438
|
"amount",
|
415
439
|
"is_cashback",
|
@@ -421,11 +445,18 @@ class WalletTransactionAdmin(ImportExportModelAdmin, admin.ModelAdmin):
|
|
421
445
|
]
|
422
446
|
search_fields = [
|
423
447
|
"wallet__user__email",
|
448
|
+
"wallet__currency",
|
424
449
|
]
|
425
450
|
|
426
451
|
def user(self, obj) -> typing.Text:
|
427
452
|
return obj.wallet.user.email
|
428
453
|
|
454
|
+
def currency(self, obj) -> typing.Text:
|
455
|
+
return obj.wallet.currency
|
456
|
+
|
457
|
+
def get_queryset(self, request):
|
458
|
+
return super().get_queryset(request).select_related("wallet__user")
|
459
|
+
|
429
460
|
def save_model(self, request: Any, obj: Any, form: Any, change: Any) -> None:
|
430
461
|
if not obj.pk:
|
431
462
|
obj.is_by_admin = True
|
@@ -133,6 +133,8 @@ def initiate_payment(
|
|
133
133
|
settings.TAP_CREDIT_CARD,
|
134
134
|
settings.TAP_KNET,
|
135
135
|
settings.TAP_ALL,
|
136
|
+
settings.MADA,
|
137
|
+
settings.BENEFIT,
|
136
138
|
]
|
137
139
|
if not payment_transaction and source in tap_sources:
|
138
140
|
# TODO: How does this issue occur and is this the best way to handle it?
|
ob-dj-store-0.0.18/ob_dj_store/core/stores/migrations/0103_alter_paymentmethod_payment_provider.py
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# Generated by Django 3.2.8 on 2024-01-04 14:53
|
2
|
+
|
3
|
+
from django.db import migrations, models
|
4
|
+
|
5
|
+
|
6
|
+
class Migration(migrations.Migration):
|
7
|
+
|
8
|
+
dependencies = [
|
9
|
+
("stores", "0102_partner_name_arabic"),
|
10
|
+
]
|
11
|
+
|
12
|
+
operations = [
|
13
|
+
migrations.AlterField(
|
14
|
+
model_name="paymentmethod",
|
15
|
+
name="payment_provider",
|
16
|
+
field=models.CharField(
|
17
|
+
choices=[
|
18
|
+
("cod", "cash on delivery"),
|
19
|
+
("src_all", "TAP all payment methods"),
|
20
|
+
("src_card", "Tap Credit Card"),
|
21
|
+
("src_kw.knet", "Tap knet"),
|
22
|
+
("paypal", "Paypal"),
|
23
|
+
("stripe", "Stripe"),
|
24
|
+
("wallet", "Wallet"),
|
25
|
+
("gift", "Gift"),
|
26
|
+
("apple_pay", "Apple Pay"),
|
27
|
+
("google_pay", "Google Pay"),
|
28
|
+
("src_sa.mada", "Mada"),
|
29
|
+
("src_bh.benefit", "Benefit"),
|
30
|
+
],
|
31
|
+
default="cod",
|
32
|
+
max_length=20,
|
33
|
+
),
|
34
|
+
),
|
35
|
+
]
|
@@ -175,6 +175,7 @@ ob_dj_store/core/stores/migrations/0099_alter_product_name_arabic.py
|
|
175
175
|
ob_dj_store/core/stores/migrations/0100_remove_shippingmethod_type_arabic.py
|
176
176
|
ob_dj_store/core/stores/migrations/0101_store_is_digital.py
|
177
177
|
ob_dj_store/core/stores/migrations/0102_partner_name_arabic.py
|
178
|
+
ob_dj_store/core/stores/migrations/0103_alter_paymentmethod_payment_provider.py
|
178
179
|
ob_dj_store/core/stores/migrations/__init__.py
|
179
180
|
ob_dj_store/core/stores/models/__init__.py
|
180
181
|
ob_dj_store/core/stores/models/_address.py
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0001_initial.py
RENAMED
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0003_openinghours.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0008_order_status.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0011_favorite.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0020_orderhistory.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0028_phonecontact.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0050_favoriteextra.py
RENAMED
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0051_order_car_id.py
RENAMED
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0053_inventory_plu.py
RENAMED
File without changes
|
File without changes
|
{ob-dj-store-0.0.17.8 → ob-dj-store-0.0.18}/ob_dj_store/core/stores/migrations/0055_store_image.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|