Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012510 | Openbravo ERP | 09. Financial management | public | 2010-03-01 16:21 | 2010-04-16 00:00 |
|
Reporter | mirurita | |
Assigned To | dalsasua | |
Priority | urgent | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | main | |
Target Version | | Fixed in Version | 2.50MP15 | |
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 | 0012510: General Ledger Report: project name is displayed instead of the project identifier |
Description | In the general ledger report the name of the project is displayed instead of the identifier of the Project table: value + name.
It happens for the html, pdf and xls output. |
Steps To Reproduce | 1) Go to Financial Management || Accounting || Analysis Tools || General Ledger Report
2) Fill the following fields:
- Accounting schema
- From / To Date
- Group by: project
3) Click on search / pdf / xls button
|
Proposed Solution | Use ad_column_identifier function to get the table identifier.
|
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-03-01 16:21 | mirurita | New Issue | |
2010-03-01 16:21 | mirurita | Assigned To | => dalsasua |
2010-03-01 16:21 | mirurita | OBNetwork customer | => No |
2010-03-08 18:01 | pjuvara | Note Added: 0025149 | |
2010-03-08 18:01 | pjuvara | Priority | normal => urgent |
2010-03-09 11:30 | mirurita | Note Added: 0025167 | |
2010-03-11 19:48 | hgbot | Checkin | |
2010-03-11 19:48 | hgbot | Note Added: 0025253 | |
2010-03-11 19:48 | hgbot | Status | new => resolved |
2010-03-11 19:48 | hgbot | Resolution | open => fixed |
2010-03-11 19:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5224213157be13d07d65eb6833d0297b1c7ef67b [^] |
2010-03-12 22:41 | hudsonbot | Checkin | |
2010-03-12 22:41 | hudsonbot | Note Added: 0025432 | |
2010-03-15 08:11 | arunkumar | Note Added: 0025442 | |
2010-03-15 09:05 | dalsasua | Note Added: 0025449 | |
2010-03-15 10:52 | pjuvara | Note Added: 0025456 | |
2010-03-15 11:08 | arunkumar | Note Added: 0025459 | |
2010-03-15 11:08 | arunkumar | Status | resolved => new |
2010-03-15 11:08 | arunkumar | Resolution | fixed => open |
2010-03-15 11:09 | arunkumar | Status | new => scheduled |
2010-03-15 11:09 | arunkumar | fix_in_branch | => pi |
2010-03-15 11:44 | dalsasua | Note Added: 0025465 | |
2010-03-15 12:03 | pjuvara | Note Added: 0025470 | |
2010-03-15 12:10 | dalsasua | Note Added: 0025471 | |
2010-03-15 14:34 | hgbot | Checkin | |
2010-03-15 14:34 | hgbot | Note Added: 0025477 | |
2010-03-15 14:34 | hgbot | Status | scheduled => resolved |
2010-03-15 14:34 | hgbot | Resolution | open => fixed |
2010-03-15 14:34 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/5224213157be13d07d65eb6833d0297b1c7ef67b [^] => http://code.openbravo.com/erp/devel/pi/rev/594c63d5321a28373c08e63d0582b02707011a50 [^] |
2010-03-15 15:41 | hgbot | Checkin | |
2010-03-15 15:41 | hgbot | Note Added: 0025479 | |
2010-03-15 15:41 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/594c63d5321a28373c08e63d0582b02707011a50 [^] => http://code.openbravo.com/erp/devel/pi/rev/5a269b5f4b167fe727401497b312fd14899ed0e2 [^] |
2010-03-17 09:01 | hudsonbot | Checkin | |
2010-03-17 09:01 | hudsonbot | Note Added: 0025548 | |
2010-03-17 09:01 | hudsonbot | Checkin | |
2010-03-17 09:01 | hudsonbot | Note Added: 0025549 | |
2010-04-15 16:59 | psarobe | Note Added: 0026280 | |
2010-04-15 16:59 | psarobe | Status | resolved => closed |
2010-04-15 16:59 | psarobe | Fixed in Version | => 2.50MP15 |
2010-04-16 00:00 | anonymous | sf_bug_id | 0 => 2987962 |
Notes |
|
|
Although this issue is trivial, we need to fix this as soon as possible since we very recently reviewed this report and this type of issue should not be there now. |
|
|
(0025167)
|
mirurita
|
2010-03-09 11:30
|
|
It's also reproducible for Business Partner and Product: name is displayed instead of the identifier.
But in these cases the name column matches with the identifier of the table in a default Openbravo installation. |
|
|
(0025253)
|
hgbot
|
2010-03-11 19:48
|
|
Repository: erp/devel/pi
Changeset: 5224213157be13d07d65eb6833d0297b1c7ef67b
Author: Salvador Zapata <salvador.zapata <at> openbravo.com>
Date: Thu Mar 11 19:26:24 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5224213157be13d07d65eb6833d0297b1c7ef67b [^]
Fixed bug 12510: Group by project identifier instead of by name
---
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger_data.xsql
---
|
|
|
|
|
|
|
While testing this fix I can see for project ** is displayed. Is this the right behavior? Can you please confirm? |
|
|
|
Please make sure you have a project with permissions for current user. |
|
|
|
Guys, I tested this behavior and it appears that ** is used to group by project transactions that are not related to any project.
This seems to be a side effect (the outcome of an outer join) rather than an intentional design choice. If it were a choice, it would be a poor UI choice as ** is very confusing.
Better options would be:
1) List "N/A" or even better "Not applicable". Question: how do we make it translatable?
2) Leave the field blank.
To me this bug must be re-opened.
Side note related to dalsasua's remark: let's make sure that we do not require financial staff to have direct access to projects in order to run a General Ledger report. That would be functionally very incorrect as it breaks proper segregation of duties. |
|
|
|
According to pjuvara's notes I am reopening this issue. David please take care of this issue. |
|
|
|
@Paolo. Maybe I didn't explain correctly. I was thinking about a user that cannot see the project because, for example, belongs to another organization, although they share the accounting schema.
@Salva: please have a look to your changeset, and add a case in the select, so whenever ad_column_identifier returns '**', shows an empty string, instead of '**'.
Thanks all. Regards. |
|
|
|
David,
let me state two different scenarios here:
1) Grouping by project transactions that are not associated to any project. See my comment and proposed solutions above.
2) User does have access to the accounting entry but does not have access to the project either because of functional (no privilege to open the project window) or organizational (no access to the organization of the project) restriction.
In this case, in the windows we display **<object name>, to indicate that object exists but you do not have access to it.
For reports, we do not have a specific convention (I am not sure how consistently this is implemented, but I would not be surprised if the level of consistency is very low). If we need to establish a convention now, I would choose the same we use in windows and display **<object name> instead of only **.
Can you please make sure that both cases are properly handled in this fix and properly tested?
As you do this, please make sure that the same does not only apply to projects but also to products and business partners.
Also, the same applies to the case where you do not group. |
|
|
|
Sure, both scenarios will be tested for projects, products and business partners. I will take care of that. |
|
|
(0025477)
|
hgbot
|
2010-03-15 14:34
|
|
Repository: erp/devel/pi
Changeset: 594c63d5321a28373c08e63d0582b02707011a50
Author: Salvador Zapata <salvador.zapata <at> openbravo.com>
Date: Mon Mar 15 14:05:26 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/594c63d5321a28373c08e63d0582b02707011a50 [^]
Fixed bug 12510: Group by project,product,business partner identifier instead of by name
---
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger_data.xsql
---
|
|
|
(0025479)
|
hgbot
|
2010-03-15 15:41
|
|
|
|
|
|
|
|
|
|
|
|