Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032539 | Openbravo ERP | 09. Financial management | public | 2016-03-23 11:58 | 2016-06-17 19:36 |
|
Reporter | maite | |
Assigned To | Sanjota | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q3 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 41123 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0032539: Accounts with operands not properly calculated in Balance Sheet when tree is defined for * and role has "organization" access |
Description | "selectOperands" query in AccountTree.java is using "#User_Org", so in case role used in defined as "Organization" then * organization is not included in "#User_Org" so elements with operands are not properly calculated |
Steps To Reproduce | 1. Ensure that role is defined as "Manual" and user level= Organization
2. Ensure that Account Tree is defined for * organization
3. Access Balance Sheet and PL Structure window to run "Balance Sheet" or "PL Reports and realize that calculated accounts (totals) are not properly calculated
NOTE: I can provide environment properly configured where problem is directly reproducible |
Proposed Solution | "selectOperands" method should use "Utility.getContext(conn, vars, "#AccessibleOrgTree", "AccountTree")" instead of "Utility.getContext(conn, vars, "#User_Org", "AccountTree")" |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-03-23 11:58 | maite | New Issue | |
2016-03-23 11:58 | maite | Assigned To | => Triage Finance |
2016-03-23 11:58 | maite | OBNetwork customer | => Yes |
2016-03-23 11:58 | maite | Modules | => Core |
2016-03-23 11:58 | maite | Support ticket | => 41123 |
2016-03-23 11:58 | maite | Triggers an Emergency Pack | => No |
2016-03-23 12:11 | maite | Resolution time | => 1459288800 |
2016-03-23 12:11 | maite | Issue Monitored: networkb | |
2016-04-04 10:14 | aferraz | Target Version | 3.0PR16Q2 => |
2016-04-04 14:31 | Sanjota | Assigned To | Triage Finance => Sanjota |
2016-04-05 15:36 | Sanjota | Note Added: 0085446 | |
2016-04-05 15:36 | Sanjota | Status | new => scheduled |
2016-04-05 15:43 | Sanjota | Note Edited: 0085446 | bug_revision_view_page.php?bugnote_id=0085446#r11671 |
2016-04-05 18:34 | hgbot | Checkin | |
2016-04-05 18:34 | hgbot | Note Added: 0085453 | |
2016-04-05 18:34 | hgbot | Status | scheduled => resolved |
2016-04-05 18:34 | hgbot | Resolution | open => fixed |
2016-04-05 18:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5254bc036cf40136e05e63b3b59015b3c06aaab9 [^] |
2016-04-05 18:34 | hgbot | Checkin | |
2016-04-05 18:34 | hgbot | Note Added: 0085454 | |
2016-04-05 19:00 | aferraz | Review Assigned To | => aferraz |
2016-04-05 19:00 | aferraz | Note Added: 0085455 | |
2016-04-05 19:00 | aferraz | Status | resolved => closed |
2016-04-05 19:00 | aferraz | Fixed in Version | => 3.0PR16Q3 |
2016-06-17 19:36 | hudsonbot | Checkin | |
2016-06-17 19:36 | hudsonbot | Note Added: 0087427 | |
2016-06-17 19:36 | hudsonbot | Checkin | |
2016-06-17 19:36 | hudsonbot | Note Added: 0087428 | |
Notes |
|
(0085446)
|
Sanjota
|
2016-04-05 15:36
(edited on: 2016-04-05 15:43) |
|
Test Plan:
1. Created new role with manual=true and user level to O(Organization).
2. Assign any 1 organization in org access
3. Assign any user under User assignment tab.
4. Assign Balance sheet and P&L structure Setup window
5. Assign Balance sheet and P&L structure report
6. Make sure that account tree is defined for * organization.
7. Login with above newly created role and user
8. Create Balance sheet or PL structure report
9. Verify that calculated accounts(totals) are properly calculated
|
|
|
(0085453)
|
hgbot
|
2016-04-05 18:34
|
|
Repository: erp/devel/pi
Changeset: 5254bc036cf40136e05e63b3b59015b3c06aaab9
Author: Sanjota <sanjota.nelagi <at> promantia.com>
Date: Tue Apr 05 18:49:43 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/5254bc036cf40136e05e63b3b59015b3c06aaab9 [^]
Fixes issue 32539: Fixed wrong calculation in acct with operands
Use #AccessibleOrgTree instead of #User_Org.
---
M src/org/openbravo/erpCommon/businessUtility/AccountTree.java
---
|
|
|
(0085454)
|
hgbot
|
2016-04-05 18:34
|
|
|
|
|
|
|
|
|
|
|
|