Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029996Openbravo ERP09. Financial managementpublic2015-05-21 17:232015-05-26 10:05
jonalegriaesarte 
AtulOpenbravo 
immediateminorhave not tried
closedfixed 
5
3.0PR15Q1.3 
3.0PR15Q1.5 
vmromanos
Core
2014-12-23
https://code.openbravo.com/erp/devel/pi/rev/fbc674d56f04 [^]
No
0029996: Role without access to currency entity can not post a purchase invoice
Role without access to currency entity can not post a purchase invoice
- Access using Role F&B EspaƱa, S.A - Finance
- Create a Purchase Invoice
- Complete it
- Post it
Error
Entity Currency is not directly readable, only id and identifier properties are readable, property Currency.standardPrecision is neither of these.
Approved
blocks defect 00299633.0PR15Q3 closed AtulOpenbravo Role without access to currency entity can not post a purchase invoice 
Issue History
2015-05-25 13:11vmromanosTypedefect => backport
2015-05-25 13:11vmromanosTarget Version3.0PR15Q3 => 3.0PR15Q1.5
2015-05-25 18:14dmitry_mezentsevTag Attached: Approved
2015-05-26 10:03hgbotCheckin
2015-05-26 10:03hgbotNote Added: 0077736
2015-05-26 10:03hgbotStatusscheduled => resolved
2015-05-26 10:03hgbotResolutionopen => fixed
2015-05-26 10:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.5/rev/1dfe454219d507a5d1cb65aed0477bdd0402434b [^]
2015-05-26 10:05vmromanosReview Assigned To => vmromanos
2015-05-26 10:05vmromanosNote Added: 0077740
2015-05-26 10:05vmromanosStatusresolved => closed

Notes
(0077736)
hgbot   
2015-05-26 10:03   
Repository: erp/backports/3.0PR15Q1.5
Changeset: 1dfe454219d507a5d1cb65aed0477bdd0402434b
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri May 22 10:58:48 2015 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.5/rev/1dfe454219d507a5d1cb65aed0477bdd0402434b [^]

Fixes Issue 29996:Role without access to currency entity can not post a
purchase invoice

Entity Currency not readable issue is fixed by using switching context
to Admin mode and restoring it back again.

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0077740)
vmromanos   
2015-05-26 10:05   
Code review + testing OK