jolob5l
310f82ea51
Use database aggregation to calculate basket totals before discount. (#3576)
před 5 roky
Orinda Harrison(Mitch)
af4054be25
Pass currency to Benefit.round method, so that rounding can vary based on currency (#3575)
před 5 roky
Joseph Wayodi
d0796cdc2b
Fix checkout.ThankYouView.get_object to never raise DoesNotExist error
Also fix "is_anonymous" attribute value in WebTestCase subclass.
před 5 roky
Orinda Harrison(Mitch)
d9eb41419f
Fix currency formatting in basket and condition methods to use the basket currency instead of the Oscar default (#3571)
před 5 roky
Farooq Azam
2c3e633c7d
Create a mixin for filtering partner's products in dashboard views, for easier overriding (#3566)
před 5 roky
Samir Shah
cbfd742346
Render only top level categories in primary navigation menu.
před 5 roky
Samir Shah
c30de9d008
Prepare 3.0 alpha release. (#3547)
před 5 roky
Joseph Wayodi
33caaaf036
Remove unused redundant report generator repository code
před 5 roky
Joseph Wayodi
7107978861
Remove redundant date filtering of queryset in report-generator classes
It is done by default, from the "__init__" method of the parent class,
since commit 18eca6f76c .
před 5 roky
Joseph Wayodi
9cd3c2e35b
Fix field lookups in ReportGenerator.filter_with_date_range
It currently does not include 23:59:59, 00:00:00, and datetimes in the
one second between.
před 5 roky
Joseph Wayodi
5171c5f170
Fix checking field's "widget_type" value for CheckboxInput widget
Regression introduced in commit 4bdf5df9b1 .
před 5 roky
Samir Shah
480086c048
Further cleanups and fixes for dashboard styles. (#3545)
- Remove unnecessary CSS in favour of Bootstrap defaults.
- Remove use of btn-lg whose presentation was being overridden in CSS.
- Fix a few classes on HTML elements.
- Fix required field styling, and remove duplicate non_field_errors on product edit page.
před 5 roky
Samir Shah
73ef2cb3b3
Replace Bootstrap 3 stateful button handling with custom JS for loading state.
před 5 roky
Samir Shah
d0b948dce2
Update translation files.
před 5 roky
Capelito
e5e8834a26
Make inactive products and categories identifiable in dashboard list views (#3538)
před 5 roky
Orinda Harrison(Mitch)
2599135e93
Add SEO fields to product and category models and make editable in the dashboard (#3534)
před 5 roky
Voxin Muyli
226b173bf1
Fix field name conflict in product_class_as_queryset annotation. (#3542)
před 5 roky
Samir Shah
5724a3a996
Update translations.
před 5 roky
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 >
před 5 roky
andruten
724d8b7f67
Use Django ORM intead of raw query voucher util get_unused_code. Add separator kwarg in the method docstring (#3540)
Co-authored-by: Andrés Usán <a.usan@i2tic.com >
před 5 roky
Jan Fabry
c91f910445
Add support for Django 3.1 (#3516)
před 5 roky
Alexander Gaevsky
18eca6f76c
Refactor report generators to be easier to extend, and fix date range filtering in CSV exports (#3501)
před 5 roky
Alexander Gaevsky
5e4c7c0187
Make SimpleBasketForm a bit easier to redefine when BasketForm has been overridden (#3504)
před 5 roky
Viggo de Vries
603944d1dd
Add method get_attribute_values to Product model which also fetches parent product attributes (#3514)
před 5 roky
Samir Shah
3d88f81428
Order reviews by date created by default in the dashboard. (#3512)
před 5 roky
Alexander Gaevsky
19a88f8d11
Add a custom LoginView for the dashboard so that the success redirect URL can be controlled more precisely (#3507)
před 5 roky
MaziyarMK
744e14475b
Use product.get_absolute_url in dashboard review list instead of the URL template tag (#3513)
před 5 roky
Alexander Gaevsky
31c935cf1d
Change checkout thank you view to redirect to the homepage if order not found in the session. (#3506)
před 5 roky
Samir Shah
f6157f2268
Make ProductAttributesContainer a lazy object so that initialisation is simpler.
Fixes #3258 .
před 5 roky
Paul J Stevens
1d0c704185
Add support for restricted offer combinations
Non-exclusive offers that only allow combination with specific other offers
před 7 roky
Alexander Gaevsky
680e05bf4b
Respect old-style 5-digit postal codes for Israel, which are still in use by customers.
před 5 roky
Samir Shah
b84f70fa1c
Make category slugs dashboard-editable.
před 5 roky
Samir Shah
3a826796d0
Use QuerySet.first() where appropriate instead of fetching by index.
před 5 roky
Samir Shah
10dce286bc
Replace uses of django.conf.urls.url with django.urls.path/re_path
před 5 roky
Viggo de Vries
81ec4da73a
Pass shipping charge as a kwarg to the surcharge calculator (#3481)
před 5 roky
Austin Pua
bee8206dd0
Fix table misalignment in dashboard order detail page
před 5 roky
marek
dd8da0bc15
Don't disable dashboard report download button when clicked.
před 5 roky
pyup-bot
3a677f9952
Define default ordering on several models.
před 5 roky
PlayDay
dd5a151af2
Add new type field for product.Option and enhanced form rendering for options based on their type.
před 7 roky
Andrea Ciantelli
3234619b27
Add missing num_items column values in open basket CSV report generator (#3462)
Co-authored-by: Andrea Ciantelli <a.ciantelli@dunbar.it >
před 5 roky
Samir Shah
d5d5c9d6fc
Remove/rename several deprecated model fields from order and partner apps.
před 6 roky
Samir Shah
5fae4857d8
Remove redundant bulk_edit_form.html from dashboard order list view.
před 5 roky
Denis Darii
8ad5135b14
Use named variables for translation of OrderStatusChange string representation (#3454)
před 5 roky
Samir Shah
9766eb07d4
Update isort configuration, and fix imports that are not at the top of modules.
před 5 roky
Samir Shah
9b98c4fed9
Tag version 2.1.0
před 5 roky
John Vandenberg
10a046b435
Remove unneeded base generic.RedirectView and specify http_method_names on notifications.UpdateView (#3437)
před 5 roky
John Vandenberg
b5c08b6e61
ProductCreateUpdateView: Avoid AttributeError
DELETE requests were failing with an exception instead
of the appropriate HTTP 405 response.
Fixes https://github.com/django-oscar/django-oscar/issues/3429
před 5 roky
John Vandenberg
7892febd6b
PostActionMixin: Detect missing fallback
Fixes https://github.com/django-oscar/django-oscar/issues/3426
před 5 roky
Samir Shah
e2d97f6f48
Fix display of product class for child products in dashboard order detail template
před 5 roky
marek
7714513935
"Saving..." -> "Submitting..." on using saved address
před 5 roky