David Winterbottom
3b4af0add0
Move notifications into customer app
13 年之前
David Winterbottom
1abaff7230
Add unit tests for notification model
13 年之前
David Winterbottom
2ffc10e0ce
Adjust default lead time to be None
It's potentially confusing to have it default to a value as you might
miss this in your project.
13 年之前
David Winterbottom
372d44b336
Rework partner tests for readability
13 年之前
David Winterbottom
90a1cad1dc
Smooth journey for buying a digital product
This involves:
* Better checkout templates
* Updated availability logic for products with no stock
* Updated dashboard templates
13 年之前
David Winterbottom
1f2aad95c7
Delete old benefit tests module
13 年之前
David Winterbottom
0077257fc7
Refactor offers for clarity and profit
This is a major clean-up of offers, tidying up the implementations and
rewriting the test suite. This should also clean up some edge cases
around the use of max_affected_items.
13 年之前
David Winterbottom
5041d8505d
Add test for offer set-up reporting by @jerzyk
13 年之前
David Winterbottom
9600c998f1
Split offer tests into modules
13 年之前
David Winterbottom
e65cfe1fd9
Add functional tests for adding reviews
13 年之前
Sebastian Vetter
c426e57273
makes Oscar work with aware AND naive datetimes based on USE_TZ
* replaces all occurences of ``datetime.now()`` with
``django.utils.timezone.now()`` which returns aware or naive
datetimes based on ``USE_TZ``
* increases ``South`` version to 0.7.6 in dependencies to make
aware datetimes work in migrations.
* Oscar's sandbox is now configured to use aware timezones by
default
13 年之前
Eleni Lixourioti
4e3618f04f
added price incl tax to the basket line model
13 年之前
David Winterbottom
3507b07374
Altered default partner wrapper to not specify a dispatch date
Turns out this is a bit confusing. Better for it to do nothing by
default and this behaviour can be enabled when it is needed.
13 年之前
David Winterbottom
31bd304f5a
Fix test for URL validator
Change to products URL was not picked up here.
13 年之前
David Winterbottom
da2f16f896
Refactor absolute discount benefit tests.
Now using --spec format which is more readable (most of the time).
13 年之前
David Winterbottom
c3b1546f3b
Fix absolute benefit bug (from Patryk)
13 年之前
David Winterbottom
d48f5c9827
Fixed bad bug with absolute discount benefits.
They weren't applying to lines properly. Fixed with test.
13 年之前
Paweł Kowalski
1ae2e46455
Test for basket weight with line quantities
13 年之前
David Winterbottom
cb0f274411
Speeded up test by mocking datetime
13 年之前
David Winterbottom
c03ccbf9bb
Fixed date filters for order stats form
13 年之前
David Winterbottom
bbd5b9418d
Split order tests into separate modules.
13 年之前
David Winterbottom
79b2da4737
Fixed #258 - Added handing of null values in num_allocated.
13 年之前
David Winterbottom
82970f5bc8
Fixed #247 - Corrected basket flush implementation.
Also tidied up test case for basket model
13 年之前
David Winterbottom
369fa8e828
Improved basket usage.
* Less DB queries
* Added basic tests
13 年之前
David Winterbottom
314d211284
Moved Oscar's templates into a new folder.
This avoids conflicts with other libraries that use the same trick for
extending templates.
13 年之前
David Winterbottom
256ee97977
Updated product form to handle creating group products.
The validation on the stockrecord form needed to be removed to allow
group products to be created, which don't have stock records.
13 年之前
David Winterbottom
0d284ec0d8
Fixed issue with voucher discounts not being recorded.
Also added tests for vouchers
13 年之前
David Winterbottom
2103bb1ec6
Fixed validation issue in catalogue dashboard for parent products.
They now must have a title
13 年之前
Sebastian Vetter
5bab67616a
fixed error in validating option group values
13 年之前
David Winterbottom
166d7be192
Reworked categories to enfore uniqueness at python-level.
To work around MySQL bug with fields of > 255 chars not being allowed to
have unique indexes.
13 年之前
David Winterbottom
eeab925eb6
Minor tweaks to category management
13 年之前
David Winterbottom
ca2bffd5b4
Added requires_shipping attribute to product class
13 年之前
David Winterbottom
0b0c76540d
Updated the checkout session manager with new methods
13 年之前
David Winterbottom
8417bc54c3
Fixed bug in load_core_apps fn
13 年之前
David Winterbottom
afabcf32bb
Added new test deps to requirements file.
Plus tweaks to test method names
13 年之前
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
13 年之前