Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0015255 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 01. General setup | minor | always | 2010-11-21 22:29 | 2012-05-25 12:10 | |||
| Reporter | tgarcia | View Status | public | |||||
| Assigned To | marvintm | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | 3.0MP12 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 26977a15e890 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
| OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
| Product Version | SCM revision | |||||||
| 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) | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0048454) hgbot (developer) 2012-05-08 15:59 |
Repository: erp/devel/pi Changeset: 26977a15e890b8db3a12014218865b5aeebb820a Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue May 08 15:57:47 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/26977a15e890b8db3a12014218865b5aeebb820a [^] Fixed issue 15255. Client image will be retrieved if there is no org image. --- M src/org/openbravo/erpCommon/utility/Utility.java --- |
|
(0048513) AugustoMauch (administrator) 2012-05-09 16:21 |
Code reviewed and verified in pi@e720f25cba62 |
|
(0049053) hudsonbot (viewer) 2012-05-25 12:10 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5401e185a8b0 [^] Maturity status: Test |
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 | |
| Copyright © 2000 - 2009 MantisBT Group |