mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Fixed that consuming partially fulfilled recipes was possible (fixes #1981)
This commit is contained in:
@@ -493,8 +493,6 @@ class StockService extends BaseService
|
||||
}
|
||||
}
|
||||
|
||||
$this->CompactStockEntries($productId);
|
||||
|
||||
if (boolval($this->getUsersService()->GetUserSetting(GROCY_USER_ID, 'shopping_list_auto_add_below_min_stock_amount')))
|
||||
{
|
||||
$this->AddMissingProductsToShoppingList(intval($this->getUsersService()->GetUserSetting(GROCY_USER_ID, 'shopping_list_auto_add_below_min_stock_amount_list_id')));
|
||||
|
Reference in New Issue
Block a user