Skip to content

Commit

Permalink
Merge pull request #2953 from rymai/2952-add-acts_as_list-to-stock_lo…
Browse files Browse the repository at this point in the history
…cation

Add acts_as_list to Spree::StockLocation
  • Loading branch information
kennyadsl authored Nov 20, 2018
2 parents 800d3bd + fd22315 commit bd75b8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/app/models/spree/stock_location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module Spree
class StockLocation < Spree::Base
class InvalidMovementError < StandardError; end

acts_as_list

has_many :shipments
has_many :stock_items, dependent: :delete_all, inverse_of: :stock_location
has_many :cartons, inverse_of: :stock_location
Expand Down

0 comments on commit bd75b8c

Please sign in to comment.