Remove #order_update! call from method used in order after_save callbacks

This method gets called twice every time we save a completed order, calling order_update! twice...
This commit is contained in:
Matt-Yorkley
2021-05-17 13:11:11 +01:00
parent 2d76c2730a
commit b69d61dd77

View File

@@ -706,7 +706,7 @@ module Spree
return if adjustment.finalized?
adjustment.update_adjustment!(force: true)
update_order!
updater.update_totals_and_states
end
# object_params sets the payment amount to the order total, but it does this