Fix fatal error
This commit is contained in:
parent
67d69e5cd6
commit
5dd2bedffa
@ -732,16 +732,16 @@ class AccountingAccount extends CommonObject
|
|||||||
/**
|
/**
|
||||||
* Return Suggest accounting accounts to bind
|
* Return Suggest accounting accounts to bind
|
||||||
*
|
*
|
||||||
* @param Societe $buyer Object buyer
|
* @param Societe $buyer Object buyer
|
||||||
* @param Societe $seller Object seller
|
* @param Societe $seller Object seller
|
||||||
* @param Product $product Product object sell or buy
|
* @param Product $product Product object sell or buy
|
||||||
* @param Facture $facture Facture
|
* @param Facture|FactureFournisseur $facture Facture
|
||||||
* @param FactureLigne $factureDet Facture Det
|
* @param FactureLigne|SupplierInvoiceLine $factureDet Facture Det
|
||||||
* @param array $accountingAccount Array of Account account
|
* @param array $accountingAccount Array of Account account
|
||||||
* @param string $type Customer / Supplier
|
* @param string $type Customer / Supplier
|
||||||
* @return array Accounting accounts suggested
|
* @return array Accounting accounts suggested
|
||||||
*/
|
*/
|
||||||
public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product $product, Facture $facture, FactureLigne $factureDet, $accountingAccount = array(), $type = '')
|
public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product $product, $facture, $factureDet, $accountingAccount = array(), $type = '')
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
global $hookmanager;
|
global $hookmanager;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user