Removed price history for StockArticle.

This commit is contained in:
Benjamin Meichsner 2009-05-17 16:26:31 +02:00
parent e59ce8c313
commit 27ff4bbd9b
1 changed files with 5 additions and 0 deletions

View File

@ -54,4 +54,9 @@ class StockArticle < Article
def check_quantity
raise "#{name} kann nicht gelöscht werden. Der Lagerbestand ist nicht null." unless quantity == 0
end
# Overwrite Price history of Article. For StockArticles isn't it necessary.
def update_price_history
true
end
end