Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015255 | Openbravo ERP | 01. General setup | public | 2010-11-21 22:29 | 2012-05-25 12:10 |
Reporter | tgarcia | ||||
Assigned To | marvintm | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | |||||
Target Version | Fixed in Version | 3.0MP12 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0015255: erpCommon Utility class doesn't retrieve Client Documentation Image | ||||
Description | this is related src.org.openbravo.erpCommon.utility.Utility.java, when invoking the getImageLogo function (line 2637 and following) with "yourcompanydoc" as 1st argument. The expected behaviour would be: 1- if there's a "org" argument, get the doc image for the organization 2- else if exists a doc image for current client, return it 3- else return default client's image Step 2 is not implemented, so there is no way to get the client's document image from the api. | ||||
Steps To Reproduce | follow the steps on this page from the wiki: http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/How_to_change_an_existing_report [^] | ||||
Proposed Solution | add the following lines to src.org.openbravo.erpCommon.utility.Utility.java, after line 2667: if (img == null) { img = OBDal.getInstance().get(ClientInformation.class, OBContext.getOBContext().getCurrentClient().getId()).getYourCompanyDocumentImage(); } (this code is syntacticly validated but was not tested in any other way) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-11-21 22:29 | tgarcia | New Issue | |||
2010-11-21 22:29 | tgarcia | Assigned To | => adrianromero | ||
2011-06-03 10:58 | dalsasua | Assigned To | adrianromero => dalsasua | ||
2011-07-20 18:13 | dalsasua | Assigned To | dalsasua => jonalegriaesarte | ||
2011-09-19 11:35 | psarobe | OBNetwork customer | => No | ||
2011-09-19 11:35 | psarobe | Priority | normal => high | ||
2011-09-19 11:35 | psarobe | Status | new => scheduled | ||
2012-02-15 19:04 | iciordia | Assigned To | jonalegriaesarte => vmromanos | ||
2012-02-16 16:20 | vmromanos | Assigned To | vmromanos => alostale | ||
2012-03-30 15:30 | alostale | Assigned To | alostale => marvintm | ||
2012-05-08 15:59 | hgbot | Checkin | |||
2012-05-08 15:59 | hgbot | Note Added: 0048454 | |||
2012-05-08 15:59 | hgbot | Status | scheduled => resolved | ||
2012-05-08 15:59 | hgbot | Resolution | open => fixed | ||
2012-05-08 15:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/26977a15e890b8db3a12014218865b5aeebb820a [^] | ||
2012-05-09 16:21 | AugustoMauch | Note Added: 0048513 | |||
2012-05-09 16:21 | AugustoMauch | Status | resolved => closed | ||
2012-05-09 16:22 | AugustoMauch | Fixed in Version | => 3.0MP12 | ||
2012-05-25 12:10 | hudsonbot | Checkin | |||
2012-05-25 12:10 | hudsonbot | Note Added: 0049053 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|