[Vtigercrm-developers] custom module with inventory

Matteo Baranzoni info at greenbitweb.com
Fri Aug 8 13:12:59 GMT 2014


Hi,
I have custom module with inventory that work but filter with total, sub
total etc display an error "result is not object".

Then i try to edit variables in getInventoryCurrencyInfo in
InventoryUtils.php:

$inv_table_array =
Array('PurchaseOrder'=>'vtiger_purchaseorder','SalesOrder'=>'vtiger_salesorder','Quotes'=>'vtiger_quotes','Invoice'=>'vtiger_invoice');
 $inv_id_array =
Array('PurchaseOrder'=>'purchaseorderid','SalesOrder'=>'salesorderid','Quotes'=>'quoteid','Invoice'=>'invoiceid');

adding my module and now work but how i can solve this problem without hack
core?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140808/41d6013b/attachment.html>


More information about the vtigercrm-developers mailing list