Class: Spree::StockMovement

Inherits:
Base
  • Object
show all
Defined in:
core/app/models/spree/stock_movement.rb

Instance Method Summary collapse

Methods inherited from Base

display_includes, #initialize_preference_defaults, page, preference

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'core/app/models/spree/stock_movement.rb', line 17

def readonly?
  !new_record?
end