Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032539 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2016-03-23 11:58 | 2016-06-17 19:36 | |||
Reporter | maite | View Status | public | |||||
Assigned To | Sanjota | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5254bc036cf4 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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")" | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0085446) Sanjota (viewer) 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 (developer) 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 (developer) 2016-04-05 18:34 |
Repository: erp/devel/pi Changeset: 9f3e39f45db1a02bbdaca6f3f93328bbfcdd9a51 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Tue Apr 05 18:08:46 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/9f3e39f45db1a02bbdaca6f3f93328bbfcdd9a51 [^] Related to issue 32539: Update copyright --- M src/org/openbravo/erpCommon/businessUtility/AccountTree.java --- |
(0085455) aferraz (viewer) 2016-04-05 19:00 |
Code review OK |
(0087427) hudsonbot (viewer) 2016-06-17 19:36 |
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/0dc7be081b1c [^] Maturity status: Test |
(0087428) hudsonbot (viewer) 2016-06-17 19:36 |
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/0dc7be081b1c [^] Maturity status: Test |
![]() |
|||
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |