Adding hooks on product stat in order to allow to expand stat on other modules
This commit is contained in:
parent
207dc1df55
commit
2e66509245
@ -360,7 +360,7 @@ function product_lot_admin_prepare_head()
|
|||||||
*/
|
*/
|
||||||
function show_stats_for_company($product, $socid)
|
function show_stats_for_company($product, $socid)
|
||||||
{
|
{
|
||||||
global $conf, $langs, $user, $db;
|
global $conf, $langs, $user, $db, $hookmanager;
|
||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
$hookmanager->initHooks(array('productstats'));
|
$hookmanager->initHooks(array('productstats'));
|
||||||
$nblines = 0;
|
$nblines = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user