Fixes Issue 24554. Prevents error when sending an Email of a Payment.
authorDavid Miguelez <david.miguelez@openbravo.com>
Wed, 21 Aug 2013 13:15:36 +0200
changeset 21005 c56eb50a9239
parent 21004 6ca87037847e
child 21006 f0180754bd11
Fixes Issue 24554. Prevents error when sending an Email of a Payment.
src/org/openbravo/erpCommon/utility/reporting/printing/Poc_data.xsql
--- a/src/org/openbravo/erpCommon/utility/reporting/printing/Poc_data.xsql	Wed Aug 21 11:01:14 2013 +0200
+++ b/src/org/openbravo/erpCommon/utility/reporting/printing/Poc_data.xsql	Wed Aug 21 13:15:36 2013 +0200
@@ -167,7 +167,7 @@
                 contact.name as contact_name
             from
                 fin_payment
-                    join c_bpartner bp on fin_payment.c_bpartner_id = bp.c_bpartner_id
+                    left join c_bpartner bp on fin_payment.c_bpartner_id = bp.c_bpartner_id
                     left join ad_user contact on bp.c_bpartner_id = contact.c_bpartner_id
                     left join ad_user salesrep on bp.salesrep_id = salesrep.c_bpartner_id
             where