Refactored stockit, delivery an stock_takings.
This commit is contained in:
parent
d4715fef4b
commit
fc1d130113
20 changed files with 145 additions and 296 deletions
|
|
@ -1,4 +1,6 @@
|
|||
class StockArticle < Article
|
||||
acts_as_paranoid
|
||||
|
||||
has_many :stock_changes
|
||||
|
||||
scope :available, :conditions => "quantity > 0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue