diff --git a/core/app/models/spree/fulfilment_changer.rb b/core/app/models/spree/fulfilment_changer.rb index 377299f460e..fcd8a8132b3 100644 --- a/core/app/models/spree/fulfilment_changer.rb +++ b/core/app/models/spree/fulfilment_changer.rb @@ -17,7 +17,11 @@ module Spree # @attr [Integer] quantity How many units we want to move # class FulfilmentChanger + # @note This private constant is only used to deprecate not passing the `track_inventory` argument + # on initialization. It will be removed in Solidus 4.0, please do not use it. TRACK_INVENTORY_NOT_PROVIDED = Object.new.freeze + private_constant :TRACK_INVENTORY_NOT_PROVIDED + include ActiveModel::Validations attr_accessor :current_shipment, :desired_shipment