// Normalize
This commit is contained in:
@@ -164,7 +164,7 @@ class StockMvtCore extends ObjectModel
|
||||
/**
|
||||
* @deprecated since 1.5.0
|
||||
*
|
||||
* This method no longer exists, and have no equivalent because of the missing movements have to be handle by inventories on real stock.
|
||||
* This method no longer exists, and have no equivalent because the missing movements have to be handled by inventories.
|
||||
*/
|
||||
public static function addMissingMvt($id_employee)
|
||||
{
|
||||
|
||||
@@ -136,6 +136,7 @@ class StockMvtReasonCore extends ObjectModel
|
||||
$query->from('stock_mvt_reason', 'smr');
|
||||
$query->where('smr.id_stock_mvt_reason = '.(int)$id_stock_mvt_reason);
|
||||
$query->where('smr.deleted = 0');
|
||||
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user