mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
Remove LineItemBasedAdjustmentHandling
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user