Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023415Openbravo ERP09. Financial managementpublic2013-03-27 15:582013-04-01 18:58
dmiguelez 
dmiguelez 
urgentmajoralways
closedfixed 
20Community Appliance
 
 
Sandrahuguet
Core
No
0023415: Problem when Posting a G/L Journal with a Rol that has no access to the Organization in which the Currency is defined.
Problem when Posting a G/L Journal with a Rol that has no access to the Organization in which the Currency is defined.
Login as Openbravo/openbravo

Create a new Role:
- Client: F&B International Group
- Organization: *
- Name: New Role
- User Level: Organization
Create a new record in Org Access:
- Organization: F&B US
Create a new record in User Assignment:
- User/Contact: Openbravo
- Role Admininstrator: Yes
Click on Grant Access:
- Select Financial Management and All and Click OK.

Log out, Log In and change to New Role.
Go to G/L Journal and create a new one:
- Description: New Journal
- Currency: USD
Go to Header Tab and create a new record with the default values.
Got to Lines Tab and create two records:
- Account: 1130- Accounts Receivable, Debit:500.00
- Account: 1110 - Checking Account, Credit:500.00
Click on Complete and Process the Batch.
Try to Post it and realize that it fails.

No tags attached.
Issue History
2013-03-27 15:58dmiguelezNew Issue
2013-03-27 15:58dmiguelezAssigned To => dmiguelez
2013-03-27 15:58dmiguelezModules => Core
2013-03-27 15:58dmiguelezTriggers an Emergency Pack => No
2013-03-27 16:00hgbotCheckin
2013-03-27 16:00hgbotNote Added: 0057490
2013-03-27 16:00hgbotStatusnew => resolved
2013-03-27 16:00hgbotResolutionopen => fixed
2013-03-27 16:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a0ce156187d72ea319572ab669212a7fdaf82d75 [^]
2013-03-27 17:12SandrahuguetReview Assigned To => Sandrahuguet
2013-03-27 17:12SandrahuguetNote Added: 0057508
2013-03-27 17:12SandrahuguetStatusresolved => closed
2013-04-01 18:58hudsonbotCheckin
2013-04-01 18:58hudsonbotNote Added: 0057545

Notes
(0057490)
hgbot   
2013-03-27 16:00   
Repository: erp/devel/pi
Changeset: a0ce156187d72ea319572ab669212a7fdaf82d75
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Mar 27 15:59:36 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a0ce156187d72ea319572ab669212a7fdaf82d75 [^]

Fixes Issue 23415. Adds OBContext.SetAdminMode(true) before
accessing the Currency.

---
M src/org/openbravo/erpCommon/ad_forms/DocGLJournal.java
---
(0057508)
Sandrahuguet   
2013-03-27 17:12   
Code review + testing OK
(0057545)
hudsonbot   
2013-04-01 18:58   
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/80299f4b6436 [^]

Maturity status: Test