Remove LineItemBasedAdjustmentHandling

This commit is contained in:
Matt-Yorkley
2021-03-18 18:46:11 +00:00
parent 19c2c9c1c5
commit 593764851f
2 changed files with 0 additions and 9 deletions

View File

@@ -1,8 +0,0 @@
module LineItemBasedAdjustmentHandling
extend ActiveSupport::Concern
included do
has_many :adjustments_for_which_source, class_name: "Spree::Adjustment", as: :source,
dependent: :destroy
end
end

View File

@@ -7,7 +7,6 @@ module Spree
class LineItem < ActiveRecord::Base
include VariantUnits::VariantAndLineItemNaming
include LineItemStockChanges
include LineItemBasedAdjustmentHandling
belongs_to :order, class_name: "Spree::Order", inverse_of: :line_items
belongs_to :variant, class_name: "Spree::Variant"