Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014589Openbravo ERP07. Sales managementpublic2010-09-16 18:322010-09-18 00:00
networkb 
adrianromero 
highminoralways
closedduplicate 
5
2.50MP21 
2.50MP23 
Core
No
0014589: It is not possible to show client's image in reports
- Following this wiki:

http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/Reports#Adding_images_and_logos_to_a_report [^]

Yo need to change the report. Changing $P{BASE_WEB}+"/../utility/ShowImageLogo?logo=yourcompanydoc&orgId=ORGANIZATIONID" for $P{BASE_WEB}+"/../utility/ShowImageLogo?logo=yourcompanymenu"

You need to add an image in the field Your 'Company Menu Image' in the client's information window.

The application shows the system's image instead of the client's image.
- Change the report C_OrderJR.jrxml
- In the image change $P{BASE_WEB}+"/../utility/ShowImageLogo?logo=yourcompanydoc&orgId=ORGANIZATIONID" for $P{BASE_WEB}+"/../utility/ShowImageLogo?logo=yourcompanymenu"

- ant smartbuild and restart tomcat

- As System Administrator go to General Setup || Application || System Info
- Add a different image to 'Default Your Company Menu Image'

- As Openbravo Admin go to General Setup || Client || Client || Client >> Information
- Add an image in the field Your 'Company Menu Image'

- Go to Sales Management || Transactions || Sales Order
- Print a record
- Realize that the System's Image added appears
No tags attached.
duplicate of defect 00145772.50MP24 closed ioritzCia Reports should took the image of the 'Default Your Company Document Image' of the client 
Issue History
2010-09-16 18:32networkbNew Issue
2010-09-16 18:32networkbAssigned To => adrianromero
2010-09-16 18:33networkbTarget Version2.50MP22 => 2.50MP23
2010-09-16 18:41adrianromeroRelationship addedduplicate of 0014577
2010-09-16 18:41adrianromeroStatusnew => closed
2010-09-16 18:41adrianromeroResolutionopen => duplicate
2010-09-16 18:57networkbNote Added: 0031178
2010-09-16 18:57networkbStatusclosed => new
2010-09-16 18:57networkbResolutionduplicate => open
2010-09-16 19:41psarobeNote Added: 0031179
2010-09-16 19:41psarobeStatusnew => feedback
2010-09-17 10:04adrianromeroNote Added: 0031183
2010-09-17 10:04adrianromeroStatusfeedback => closed
2010-09-17 10:04adrianromeroResolutionopen => duplicate
2010-09-18 00:00anonymoussf_bug_id0 => 3069536

Notes
(0031178)
networkb   
2010-09-16 18:57   
Adrian the issues are different.

In this issue (14589), the functionallity is implemented. In the ShowImageLogo.java.

The issue 14577 is different. The functionality is not implemented.

The difference is the form that you customize the image in the report. In the first issue you have to add the following line:

$P{BASE_WEB}+"/../utility/ShowImageLogo?logo=yourcompanydoc

In the second one:

$P{BASE_WEB}+"/../utility/ShowImageLogo?logo=yourcompanymenu"
(0031179)
psarobe   
2010-09-16 19:41   
Hi,

I think this issue is the same as this one:

https://issues.openbravo.com/view.php?id=14577 [^]

Can you confirm this?

Thanks
(0031183)
adrianromero   
2010-09-17 10:04   
As agreed with the reported this issue is a duplicate of 14577