Fix undefined hookmanager (#28069)
This commit is contained in:
parent
94cd823a7c
commit
ebe2a42067
1 changed files with 1 additions and 0 deletions
|
|
@ -740,6 +740,7 @@ class AccountingAccount extends CommonObject
|
|||
*/
|
||||
public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product $product, $facture, $factureDet, $accountingAccount = array(), $type = '')
|
||||
{
|
||||
global $hookmanager;
|
||||
// Instantiate hooks for external modules
|
||||
$hookmanager->initHooks(array('accountancyBindingCalculation'));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue