<div dir="ltr">Hi, <div>I have custom module with inventory that work but filter with total, sub total etc display an error "result is not object".<br></div><div><br></div><div>Then i try to edit variables in getInventoryCurrencyInfo in InventoryUtils.php:</div>
<div><br></div><div><div><span class="" style="white-space:pre"> </span>$inv_table_array = Array('PurchaseOrder'=>'vtiger_purchaseorder','SalesOrder'=>'vtiger_salesorder','Quotes'=>'vtiger_quotes','Invoice'=>'vtiger_invoice');</div>
<div><span class="" style="white-space:pre"> </span>$inv_id_array = Array('PurchaseOrder'=>'purchaseorderid','SalesOrder'=>'salesorderid','Quotes'=>'quoteid','Invoice'=>'invoiceid');</div>
</div><div><br></div><div>adding my module and now work but how i can solve this problem without hack core? </div></div>