luisramos0
|
86b0d71c7e
|
Result of rubocop auto-correct and rebuilding rubocop_manual_todo
|
2019-05-28 12:57:29 +01:00 |
|
luisramos0
|
d641705053
|
Add variant scoping to availability_validator_decorator by using line_item.scoper and moving Spree::Stock::Quantifier.can_supply? to VariantStock so that it becomes overridable
|
2018-12-21 11:33:07 +00:00 |
|
luisramos0
|
c1aeb2e9a3
|
Improve naming in availability_validator_decorator and cover it with tests
|
2018-12-20 14:26:34 +00:00 |
|
luisramos0
|
bc22b0a58e
|
Fix capping quantity to stock levels by always validating line items with quantity zero
Stock::Quantifier.can_supply? returns false for an input of zero when stock level is negative
|
2018-12-20 14:26:34 +00:00 |
|
luisramos0
|
3085e15961
|
Fix order factory by making line_item.skip_stock_check work in spree 2
|
2018-12-20 14:26:34 +00:00 |
|
luisramos0
|
88b1bb61d6
|
Fix availability validator to include inventory_units in it's validation
|
2018-12-20 14:26:34 +00:00 |
|