Class: Spree::StockMovement

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

Instance Method Summary collapse

Methods inherited from Base

page

Methods included from Preferences::Preferable

#clear_preferences, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/spree/stock_movement.rb', line 13

def readonly?
  !new_record?
end