Adapted order_decorator to spree 2 by fixing adjustment.update! call on update_adjustment

This commit is contained in:
luisramos0
2018-09-14 15:33:42 +01:00
parent 692101db36
commit 6b3fd22db8

View File

@@ -386,7 +386,7 @@ Spree::Order.class_eval do
return if adjustment.finalized?
state = adjustment.state
adjustment.state = 'open'
adjustment.update!(self)
adjustment.update!
adjustment.state = state
end