From 6d6cc69cd93be6ce94d8f88c5af2f2019e8ef146 Mon Sep 17 00:00:00 2001 From: Chris Todorov Date: Fri, 8 Nov 2024 14:16:54 -0800 Subject: [PATCH] FIXME: Come back to this later --- core/app/models/spree/in_memory_order_updater.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/app/models/spree/in_memory_order_updater.rb b/core/app/models/spree/in_memory_order_updater.rb index e0770ba59f..708cd4625e 100644 --- a/core/app/models/spree/in_memory_order_updater.rb +++ b/core/app/models/spree/in_memory_order_updater.rb @@ -110,6 +110,10 @@ def determine_shipment_state # adjustments, update cancellation adjustments, and then update the total # fields (promo_total, included_tax_total, additional_tax_total, and # adjustment_total) on the item. + # + # FIXME: Should this be renamed to `update_adjustments` since it persists + # changes to promotion and tax adjustments, and item totals? + # # @return [void] def recalculate_adjustments(persist:) # Promotion adjustments must be applied first, then tax adjustments.