This commit is contained in:
wvengen 2013-02-11 23:37:52 +01:00
parent 20533a5163
commit cb2c724abd

View file

@ -26,7 +26,7 @@ class StockArticle < Article
protected
def check_quantity
raise I18n.t('stockit.check.not_empty'), :name => name) unless quantity == 0
raise I18n.t('stockit.check.not_empty', :name => name) unless quantity == 0
end
# Overwrite Price history of Article. For StockArticles isn't it necessary.