mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-08 07:46:59 +00:00
Merge pull request #3147 from luisramos0/2-0-vos
[Spree Upgrade] Adapt variant overrides to spree 2
This commit is contained in:
5
app/models/spree/stock_location_decorator.rb
Normal file
5
app/models/spree/stock_location_decorator.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
Spree::StockLocation.class_eval do
|
||||
def move(variant, quantity, originator = nil)
|
||||
variant.move(quantity, originator)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user