Orinda Harrison(Mitch)
af4054be25
Pass currency to Benefit.round method, so that rounding can vary based on currency (#3575)
5 years ago
Joseph Wayodi
d0796cdc2b
Fix checkout.ThankYouView.get_object to never raise DoesNotExist error
Also fix "is_anonymous" attribute value in WebTestCase subclass.
5 years ago
Basil Dubyk
7c5f745919
Improve `test_post_process_urls_adds_decorator`
Use function as the return value of `get_url_decorator`. This change
needed because `get_url_decorator` method of `OscarConfigMixin` class
returns function or `None` and not string.
5 years ago
Orinda Harrison(Mitch)
2599135e93
Add SEO fields to product and category models and make editable in the dashboard (#3534)
5 years ago
Samir Shah
4bdf5df9b1
Port all core templates and styles to Bootstrap 4.
Co-authored-by: Basil Dubyk <samitnuk.work@gmail.com >
Co-authored-by: Alexander Gaevsky <sasha@sasha0.ru >
Co-authored-by: Joseph Wayodi <jwayodi@gmail.com >
5 years ago
Jan Fabry
c91f910445
Add support for Django 3.1 (#3516)
5 years ago
Basil Dubyk
6d9e6dd99d
Modify `test_is_public_on` and `test_is_public_off`
Instead of checking for truthiness we should check for equality
(because any status code is `True`).
5 years ago
Basil Dubyk
819a6a3a8c
Modify `BasketThresholdTest` class
`override_settings` used instead of updating setting in `setUp`/`tearDown`.
5 years ago
Basil Dubyk
d4748cdb33
Remove useless line
5 years ago
Alexander Gaevsky
18eca6f76c
Refactor report generators to be easier to extend, and fix date range filtering in CSV exports (#3501)
5 years ago
Basil Dubyk
b14cb7ff59
Add test to check adding/removing of a voucher
5 years ago
Viggo de Vries
603944d1dd
Add method get_attribute_values to Product model which also fetches parent product attributes (#3514)
5 years ago
Samir Shah
3d88f81428
Order reviews by date created by default in the dashboard. (#3512)
5 years ago
Alexander Gaevsky
19a88f8d11
Add a custom LoginView for the dashboard so that the success redirect URL can be controlled more precisely (#3507)
5 years ago
Alexander Gaevsky
31c935cf1d
Change checkout thank you view to redirect to the homepage if order not found in the session. (#3506)
5 years ago
Alexander Gaevsky
044509e82e
Fix database password extraction from environment variables in the tests settings.
5 years ago
Samir Shah
f6157f2268
Make ProductAttributesContainer a lazy object so that initialisation is simpler.
Fixes #3258 .
5 years ago
Paul J Stevens
1d0c704185
Add support for restricted offer combinations
Non-exclusive offers that only allow combination with specific other offers
6 years ago
Alexander Gaevsky
680e05bf4b
Respect old-style 5-digit postal codes for Israel, which are still in use by customers.
5 years ago
Samir Shah
10dce286bc
Replace uses of django.conf.urls.url with django.urls.path/re_path
5 years ago
Viggo de Vries
81ec4da73a
Pass shipping charge as a kwarg to the surcharge calculator (#3481)
5 years ago
pyup-bot
3a677f9952
Define default ordering on several models.
5 years ago
PlayDay
dd5a151af2
Add new type field for product.Option and enhanced form rendering for options based on their type.
6 years ago
Samir Shah
d5d5c9d6fc
Remove/rename several deprecated model fields from order and partner apps.
6 years ago
Samir Shah
9766eb07d4
Update isort configuration, and fix imports that are not at the top of modules.
5 years ago
Samir Shah
25b2c0765e
Exclude non-public child products from public views.
5 years ago
Samir Shah
2f9b52f58f
Restore basket if order placement fails for any reason.
5 years ago
Francisco Ceruti
81fd3798e0
Fix bug where conditions can be created just providing one of range, type or value (#3377)
5 years ago
Viggo de Vries
24b349836e
Add new feature Surcharges.
6 years ago
Joseph Wayodi
d778f8f1dd
Delete both valid and invalid basket lines marked for deletion
Currently, if a valid basket line is marked for deletion, any other
invalid basket lines on the formset prevent it from being deleted.
5 years ago
Basil Dubyk
8e7ee62a2e
🚧 WIP - Improve `apply` method of `MultibuyDiscountBenefit` (#3343)
Fix handling of count conditions in `MultibuyDiscountBenefit`
5 years ago
capelito
da355e422b
Delete auto-generated offer when a voucher is deleted.
5 years ago
Michał Mazur
24bb6f1663
Fix use of removed browsable manager in product lookup view (#3324)
5 years ago
Craig Loftus
5ac86e359d
Remove calls to six
5 years ago
Alexander Gaevsky
61ce21e09c
Do not allow boolean product attribute be required.
5 years ago
Joseph Wayodi
628bd1e108
Add "default_app_config" when forking app
5 years ago
Samir Shah
52480d98d1
Remove UnicodeCSVReader and a few other Python 2 compatibility shims.
6 years ago
Samir Shah
93e7e66c2b
Add support for Django 3, drop support for Django 1.11
6 years ago
Samir Shah
9eae894cf9
Drop deprecated functionality scheduled for removal in Oscar 2.1
6 years ago
Samir Shah
c74c8fe1f4
Fix time-dependent tests.
Switch to using freezegun for tests that depend on date.
6 years ago
Roel Bruggink
810eaa9a9d
Add is_public to Category and hide non-public categories from frontend views.
6 years ago
Samir Shah
0ec4d7f378
Use parent class get_users() method in PasswordResetForm.
6 years ago
samitnuk
2af6753c67
Add a new Communication app that manages all of Oscar's communications.
8 years ago
Basil Dubyk
62998f2c09
Add Oscar apps to `INSTALLED_APPS` as recommended by Django
6 years ago
Lars van de Kerkhof
cacbc1a2c7
Fixes offers failing on child products for ranges that include all products.
6 years ago
Joseph Wayodi
ac319b78df
Fix broken basket "save for later" functionality
Regression introduced in cca43aa4d1
6 years ago
Samir Shah
c050b7cec3
Refactor asset management so that third party assets are not committed.
6 years ago
Lars van de Kerkhof
a3828425ad
Exclude products after completing the selection. (#3211)
6 years ago
Lars van de Kerkhof
670fc947a3
Ignore expired vouchers during order placement (#3217)
... because the basket flow also ignores them.
6 years ago
Leandro Gomez
01584b74ad
Fix isort check
6 years ago