details:   https://code.openbravo.com/erp/devel/pi/rev/8a278bd3e8a5
changeset: 22348:8a278bd3e8a5
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Wed Mar 05 12:20:01 2014 +0100
summary:   fixes issue 25793: Customer statement report is using the
 deprecated way for showing images

diffstat:

 src/org/openbravo/erpCommon/ad_reports/CustomerStatement.jrxml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 4cbd0d375833 -r 8a278bd3e8a5 
src/org/openbravo/erpCommon/ad_reports/CustomerStatement.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/CustomerStatement.jrxml    Wed Mar 
05 16:43:33 2014 +0530
+++ b/src/org/openbravo/erpCommon/ad_reports/CustomerStatement.jrxml    Wed Mar 
05 12:20:01 2014 +0100
@@ -338,7 +338,7 @@
                        </rectangle>
                        <image scaleImage="RetainShape" hAlign="Center" 
vAlign="Middle" isUsingCache="true">
                                <reportElement key="image-1" x="10" y="4" 
width="205" height="55"/>
-                               <imageExpression 
class="java.net.URL"><![CDATA[new 
java.net.URL($P{BASE_WEB}+"/../utility/ShowImageLogo?logo=yourcompanydoc&orgId="+$F{organizationid})]]></imageExpression>
+                               <imageExpression 
class="java.awt.Image"><![CDATA[org.openbravo.erpCommon.utility.Utility.showImageLogo("yourcompanylegal",
 $F{organizationid})]]></imageExpression>
                        </image>
                        <textField>
                                <reportElement x="490" y="48" width="59" 
height="11"/>

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to