mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 19:02:35 +01:00
Update product.class.php
This commit is contained in:
committed by
GitHub
parent
5654492ba8
commit
7e68d8df1b
@@ -4144,7 +4144,7 @@ class Product extends CommonObject
|
||||
$parameters=array('id'=>$this->id);
|
||||
// Note that $action and $object may have been modified by some hooks
|
||||
$reshook=$hookmanager->executeHooks('loadvirtualstock', $parameters, $this, $action);
|
||||
if ($reshook > 0) $this->stock_theorique+= $hookmanager->resPrint;
|
||||
if ($reshook > 0) $this->stock_theorique = $hookmanager->resArray['stock_theorique'];
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user