Rob Harrington
|
f902474591
|
Relevant DiscountOrder tag rules are applied to orders on update
|
2016-04-01 19:48:25 +11:00 |
|
Rob Harrington
|
3aea387b9a
|
First iteration of a model for tag rules
|
2016-04-01 19:44:17 +11:00 |
|
Maikel
|
ca0c677d46
|
Auto-merged master into uk/account-balances on deployment.
|
2016-03-19 07:16:41 +11:00 |
|
Steve Pettitt
|
276d3026c8
|
Adding specs for orders by ditributor query
|
2016-03-18 20:05:52 +00:00 |
|
Rohan Mitchell
|
16741598fd
|
Merge branch 'master' into products-caching
Conflicts:
spec/features/admin/variant_overrides_spec.rb
|
2016-03-18 09:59:56 +11:00 |
|
Rohan Mitchell
|
9645ec727b
|
Refresh products cache when inventory items are changed
|
2016-03-09 14:07:04 +11:00 |
|
Rohan Mitchell
|
6f29a8b642
|
Refresh cache when inventory setting product_selection_from_inventory_only is changed
|
2016-03-09 13:29:33 +11:00 |
|
Rohan Mitchell
|
780ec598d6
|
Use preferred_currency instead of preferences[:currency]. Use constant for currency instead of config var.
Conflicts:
spec/models/spree/shipping_method_spec.rb
|
2016-03-04 11:53:32 +11:00 |
|
Rohan Mitchell
|
1440544b2d
|
Use persisted models
|
2016-03-04 11:41:49 +11:00 |
|
Rohan Mitchell
|
bc2223fb8e
|
Fix intermittent spec fails: currency inconsistencies on CI and retry on VOs
|
2016-03-04 10:15:57 +11:00 |
|
Rohan Mitchell
|
422061f137
|
Merge branch 'master' into products-caching
Conflicts:
app/controllers/shop_controller.rb
app/models/enterprise_fee.rb
app/models/order_cycle.rb
app/models/variant_override.rb
db/schema.rb
lib/open_food_network/products_renderer.rb
spec/lib/open_food_network/products_renderer_spec.rb
|
2016-03-03 09:42:52 +11:00 |
|
Maikel Linke
|
587d06dced
|
Merge remote-tracking branch 'origin/master' into groups
Conflicts:
db/schema.rb
|
2016-03-02 15:31:35 +11:00 |
|
Rob Harrington
|
4bf27982f4
|
Applying variant override permissions when they are added or removed
Also remove variant overrides with revoked permissions from the default scope
|
2016-03-02 12:10:49 +11:00 |
|
Rob Harrington
|
1d83809866
|
Bugfix: Spree::Variant#not_hidden_for scope was broken
Was getting confused by presence of inventory items for other enterprises when none existed for a given variant/enterprise combo
|
2016-03-02 12:10:22 +11:00 |
|
Rob Harrington
|
f280b96215
|
Hiding a variant from inventory prevents it being available on the shopfront
User preferences around inventory-only product selection immediately affect the shopfront
|
2016-03-02 12:10:22 +11:00 |
|
Rob Harrington
|
77e74c5642
|
OC Coordinators can opt to restrict products in an order cycle to those in their inventory only
|
2016-03-02 12:10:22 +11:00 |
|
Rob Harrington
|
f05f88c1cb
|
Adding global config to allow shop users to only select from inventory variants in OC interface
|
2016-03-02 12:10:22 +11:00 |
|
Rob Harrington
|
59745fbc73
|
EnterpriseFees can inherit tax_category from product
|
2016-03-02 11:56:46 +11:00 |
|
Rob Harrington
|
137003c671
|
Correct calculation of tax on EnterpriseFees with TaxRates where included_in_price=false
|
2016-03-02 11:56:46 +11:00 |
|
Rohan Mitchell
|
45a7b13e9a
|
Refresh cache when option type destroyed
|
2016-02-26 10:09:16 +11:00 |
|
Rohan Mitchell
|
8928e461d4
|
Refresh cache when option type changed
|
2016-02-26 09:59:16 +11:00 |
|
Rohan Mitchell
|
b5204a4820
|
Refresh cache when option value changed or destroyed
|
2016-02-25 11:08:53 +11:00 |
|
Maikel Linke
|
a7e3b2d9df
|
Update enterprise email tests
|
2016-02-24 16:21:18 +11:00 |
|
Rohan Mitchell
|
98961fef74
|
Trigger cache refresh when producer property changed or destroyed
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
8b070fddbb
|
Refresh products cache when exchange fee is changed or destroyed
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
8af6866ae4
|
Refresh products cache when exchange is changed or destroyed
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
8bd5a36aaf
|
Remove enterprise fee destruction cache callback - responsibility to be handled by dependent models
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
0a90a48b04
|
Refresh products cache when coordinator fees are changed or destroyed
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
62c6530ca9
|
Do not refresh products cache when price destroyed - variant destruction is main (only?) trigger, it causes refresh
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
f78826c9c7
|
Fix rare case where price is saved without variant
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
339f3fc2f0
|
Refresh products cache when price is changed or destroyed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
d8d803546b
|
Refresh products cache when master variants or images are changed or destroyed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
6d80d91873
|
Refresh products cache when taxons or classifications are changed or destroyed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
7c4e9e5838
|
Refresh products cache when product properties are changed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
0c65d1ddd8
|
Trigger products cache refresh when enterprise fee changed or destroyed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
378a703cc3
|
Order cycles are undated unless they have both open and close dates defined
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
fe41430d1e
|
Rerefesh products cache when an order cycle is changed
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
5f188650d8
|
Trigger cache refresh on VariantOverride save/destroy
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
0c0c98a0b0
|
Refresh products cache on product change
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
5d20b4fb51
|
Add OrderCycle scopes: not_closed, dated
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
eba636c929
|
When variant is changed/destroyed, trigger product cache refresh
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
48b02db70d
|
Order cycles are undated unless they have both open and close dates defined
|
2016-02-05 09:27:25 +11:00 |
|
Steve Pettitt
|
e423e890e0
|
Changed name enable_reset to resettable in Variant Overrides table & updated views, specs accordingly
|
2016-01-15 09:07:50 +11:00 |
|
Rob Harrington
|
94785d4157
|
Fixing authorization for VariantOverridesController#bulk_reset
|
2016-01-15 09:07:49 +11:00 |
|
Steve Pettitt
|
0ee078e232
|
Added toggle to enable/disable reset stock. Updated specs
|
2016-01-15 09:07:48 +11:00 |
|
Rob Harrington
|
53d97dab08
|
WIP: Adding view and routes for resetting variant_overrides count_on_hand
|
2016-01-15 09:07:48 +11:00 |
|
Rohan Mitchell
|
257b5a9eef
|
Move premature Spree::Order#update prevention up a level, for even greater efficiency gains
|
2016-01-07 12:09:57 +11:00 |
|
Rohan Mitchell
|
e24027a8d0
|
Speed up add to cart: Update the order once per fee calculation, rather than for every line item x fee
|
2016-01-07 10:52:36 +11:00 |
|
Rob Harrington
|
fe0652e243
|
When updating a line_item quantity from 0, final_weight_volume is recalculated from the variants unit value
|
2015-12-16 19:18:59 +11:00 |
|
Rob Harrington
|
199a3c38f9
|
Bill is capped before tax is applied, like we say it is
|
2015-12-16 19:18:58 +11:00 |
|