diff --git a/kfet/templates/kfet/kpsul.html b/kfet/templates/kfet/kpsul.html
index 93b42b39..f18994b4 100644
--- a/kfet/templates/kfet/kpsul.html
+++ b/kfet/templates/kfet/kpsul.html
@@ -816,7 +816,7 @@ $(document).ready(function() {
article_data = articlesList[i];
stock = article_data[4] ;
- return (stock >= 0 && stock < nb) ;
+ return (-5 <= stock - nb && stock - nb <= 5);
}
function addDeposit(amount, is_checkout=1) {