Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029674 | Openbravo ERP | 09. Financial management | public | 2015-04-22 15:32 | 2016-12-16 18:37 |
|
Reporter | ngarcia | |
Assigned To | AtulOpenbravo | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q1 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 35777 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029674: Not possible to post a payment in if the role does not have access to the Currency window |
Description | Not possible to post a payment in if the role does not have access to the Currency window |
Steps To Reproduce | As group admin role:
Remove the record of Currency window for F&B International Group Admin role
Log out and log in again
Configure a payment method in the financial account in order to accept payments in multiple currencies
Create a payment in a different currency than the currency of the financial account
Try to post it
The following error message is shown in a pop-up:
java.lang.NullPointerException
The log shows:
org.openbravo.base.exception.OBSecurityException: Entity Currency is not directly readable, only id and identifier properties are readable, property Currency.standardPrecision is neither of these. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-04-22 15:32 | ngarcia | New Issue | |
2015-04-22 15:32 | ngarcia | Assigned To | => Triage Finance |
2015-04-22 15:32 | ngarcia | OBNetwork customer | => Yes |
2015-04-22 15:32 | ngarcia | Modules | => Core |
2015-04-22 15:32 | ngarcia | Support ticket | => 35777 |
2015-04-22 15:32 | ngarcia | Triggers an Emergency Pack | => No |
2015-04-22 15:35 | ngarcia | Issue Monitored: networkb | |
2015-04-23 13:35 | ngarcia | Category | Z. Others => 09. Financial management |
2015-07-28 16:29 | AtulOpenbravo | Assigned To | Triage Finance => AtulOpenbravo |
2015-07-28 16:30 | AtulOpenbravo | Status | new => scheduled |
2015-07-28 16:31 | AtulOpenbravo | Note Added: 0079106 | |
2016-03-04 12:16 | psanjuan | Note Added: 0084725 | |
2016-03-04 14:09 | psanjuan | Note Edited: 0079106 | bug_revision_view_page.php?bugnote_id=0079106#r11356 |
2016-03-04 14:37 | psanjuan | Note Edited: 0079106 | bug_revision_view_page.php?bugnote_id=0079106#r11359 |
2016-03-04 14:55 | psanjuan | Note Added: 0084743 | |
2016-10-17 12:10 | hgbot | Checkin | |
2016-10-17 12:10 | hgbot | Note Added: 0090623 | |
2016-10-17 12:10 | hgbot | Status | scheduled => resolved |
2016-10-17 12:10 | hgbot | Resolution | open => fixed |
2016-10-17 12:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/789db27692a68070dadce30358508071032ca639 [^] |
2016-10-17 12:11 | aferraz | Review Assigned To | => aferraz |
2016-10-17 12:11 | aferraz | Note Added: 0090627 | |
2016-10-17 12:11 | aferraz | Status | resolved => closed |
2016-10-17 12:11 | aferraz | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:37 | hudsonbot | Checkin | |
2016-12-16 18:37 | hudsonbot | Note Added: 0092516 | |
Notes |
|
(0079106)
|
AtulOpenbravo
|
2015-07-28 16:31
(edited on: 2016-03-04 14:37) |
|
Test Plan
- Login as group admin role
- Navigate to Role window: Remove the record of Currency window for F&B International Group Admin role.
- Log out and log in again
- Configure a payment method in the financial account in order to accept payments in multiple currencies
- Create a payment in a different currency than the currency of the financial account.
- Try to post it in any of the three steps (Payment In, Financial Account Transaction, Reconciliation)
- Check that posting is successfully done.
Repeat same test for Payment Out.
|
|
|
|
|
|
|
Test plan above verified.
Issue can be code reviewed and closed. |
|
|
(0090623)
|
hgbot
|
2016-10-17 12:10
|
|
Repository: erp/devel/pi
Changeset: 789db27692a68070dadce30358508071032ca639
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jul 28 20:07:53 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/789db27692a68070dadce30358508071032ca639 [^]
Fixes issue 29674: Error posting a payment if no access to Currency window
Change OBContext to admin mode needed before accessing currency objects in isconvertible method of AcctServer class.
---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
---
|
|
|
|
|
|
|
|