// stock: add warehouse tab
This commit is contained in:
@@ -3306,6 +3306,8 @@ class ProductCore extends ObjectModel
|
|||||||
/**
|
/**
|
||||||
* Add a stock movement for current product
|
* Add a stock movement for current product
|
||||||
*
|
*
|
||||||
|
* @deprecated since 1.5.0
|
||||||
|
*
|
||||||
* @param int $quantity
|
* @param int $quantity
|
||||||
* @param int $id_reason
|
* @param int $id_reason
|
||||||
* @param int $id_product_attribute
|
* @param int $id_product_attribute
|
||||||
@@ -3346,6 +3348,9 @@ class ProductCore extends ObjectModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated since 1.5.0
|
||||||
|
*/
|
||||||
public function getStockMvts($id_lang)
|
public function getStockMvts($id_lang)
|
||||||
{
|
{
|
||||||
return Db::getInstance()->executeS('
|
return Db::getInstance()->executeS('
|
||||||
|
|||||||
@@ -187,4 +187,4 @@ class WarehouseCore extends ObjectModel
|
|||||||
|
|
||||||
return (Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query));
|
return (Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user