Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023327Openbravo ERP09. Financial managementpublic2013-03-18 12:202013-04-07 01:03
naiaramartinez 
naiaramartinez 
normalminorhave not tried
closedfixed 
5
 
 
dmiguelez
Core
No
0023327: Add SetAdminMode(true) to avoid an error
In DocInvoice.java the following code can find:

int stdPrecision = OBDal.getInstance().get(Currency.class, this.C_Currency_ID).getStandardPrecision().intValue();
   
An error can raised if the role has not access to C_CURRENCY
 Go to DocInvoice.java, line 807:

int stdPrecision = OBDal.getInstance().get(Currency.class, this.C_Currency_ID).getStandardPrecision().intValue();
Add SetAdminMode(true) to read the properties of C_CURRENCY
No tags attached.
related to defect 0022694 closed naiaramartinez wrong amount with accruals & deferrals post invoice [oracle] 
Issue History
2013-03-18 12:20naiaramartinezNew Issue
2013-03-18 12:20naiaramartinezAssigned To => dmiguelez
2013-03-18 12:20naiaramartinezModules => Core
2013-03-18 12:20naiaramartinezTriggers an Emergency Pack => No
2013-03-18 12:20naiaramartinezStatusnew => scheduled
2013-03-18 12:20naiaramartinezAssigned Todmiguelez => naiaramartinez
2013-03-18 12:20naiaramartinezfix_in_branch => pi
2013-03-18 12:20naiaramartinezRelationship addedrelated to 0022694
2013-04-03 10:06hgbotCheckin
2013-04-03 10:06hgbotNote Added: 0057703
2013-04-03 10:06hgbotStatusscheduled => resolved
2013-04-03 10:06hgbotResolutionopen => fixed
2013-04-03 10:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9145aad14222b1bc234174d1dedc78ac8e3a110c [^]
2013-04-03 10:11dmiguelezReview Assigned To => dmiguelez
2013-04-03 10:11dmiguelezNote Added: 0057704
2013-04-03 10:11dmiguelezStatusresolved => closed
2013-04-07 01:03hudsonbotCheckin
2013-04-07 01:03hudsonbotNote Added: 0057760

Notes
(0057703)
hgbot   
2013-04-03 10:06   
Repository: erp/devel/pi
Changeset: 9145aad14222b1bc234174d1dedc78ac8e3a110c
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Mon Mar 18 12:21:57 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9145aad14222b1bc234174d1dedc78ac8e3a110c [^]

fixed bug 23327: Add SetAdminMode(true) in DocInvoice.java to avoid an error

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0057704)
dmiguelez   
2013-04-03 10:11   
Code Review + Testing OK
(0057760)
hudsonbot   
2013-04-07 01:03   
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/b03a336bd23b [^]

Maturity status: Test