Removed price history for StockArticle.
This commit is contained in:
parent
e59ce8c313
commit
27ff4bbd9b
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue