David Winterbottom
372d44b336
Rework partner tests for readability
13 years ago
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 years ago
David Winterbottom
79b2da4737
Fixed #258 - Added handing of null values in num_allocated.
13 years ago
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
13 years ago
David Winterbottom
5ee4165842
Fixed issue with delegating max_purchase_quantity to wrapper
13 years ago
David Winterbottom
eeab700bfa
Updated stock handling to allow checking for valid allocations
13 years ago
David Winterbottom
3c88685b29
Merged master - fix template conflict
13 years ago
David Winterbottom
92221c4f68
Reworked the availability logic of the DefaultWrapper
13 years ago
David Winterbottom
a4438c80e7
Merged in master - plus fixes to JS based on jshint
14 years ago
David Winterbottom
2499fb2807
Fixed failing test
14 years ago
David Winterbottom
17aa78126c
Reorganised the partner tests
14 years ago
David Winterbottom
e1d82339eb
Added low-stock alerts.
These are a simple model that books into the post_save of a stockrecord.
14 years ago
David Winterbottom
91cb70b4c7
Added extra helper methods for dealing with stock allocations
14 years ago
David Winterbottom
3558651961
Added extra hook for an availability code
14 years ago
David Winterbottom
9eb7480b67
Fixed partner tests after refactoring of wrapper caching
14 years ago
David Winterbottom
1a54ab13ad
Added better handling of null values when returning net stock level
14 years ago
David Winterbottom
5b7b990b20
MASSIVE commit as the word 'item' is phased out in favour of 'product' to make things more consistent. Also, renamed product app to catalogue
14 years ago
David Winterbottom
7a2a4e2eef
Moved import_catalogue into the partner app
14 years ago
David Winterbottom
ee1c921c05
Renamed 'stock' app to 'partner'
14 years ago
David Winterbottom
a695217d05
Added stock logic wrappers for different partners
15 years ago
David Winterbottom
b809cb7867
Added stock logic wrappers for different partners
15 years ago
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
15 years ago
David Winterbottom
0528c98543
Updated offers app
* Converted to abstract models
* Added tests for conditions
15 years ago
David Winterbottom
e7c4c6553b
Fixed the unit tests, fixed a few minor issues with basket loading
15 years ago
David Winterbottom
28e72e25ce
Added some basic price/tax calculation methods to the core stock record.
This seems to be a simpler and better place for the price calculation at
the moment. We could introduce a calculator object at some point to
separate the responsibilities.
15 years ago
David Winterbottom
fc98df1427
Added a few basic tests for products - lots more needed!
15 years ago
David Winterbottom
e54f8a31f2
Added stock application, reworked product application.
Made product models abstract in the standard way.
15 years ago
David Winterbottom
1eeb6aaf4f
Introduced the abstract_models.py set-up to several new applications
Completed the models for the order package too. Added admin files
15 years ago
David Winterbottom
675ce9577a
Restructured apps to be subapps of oscar
15 years ago
David Winterbottom
0673fac702
Added some more basic model skeletons.
15 years ago
David Winterbottom
af3ddaa046
Added payment models
15 years ago