Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029995Openbravo ERP09. Financial managementpublic2015-05-21 17:232015-05-26 10:05
jonalegriaesarte 
AtulOpenbravo 
immediateminorhave not tried
closedfixed 
5
3.0PR15Q1.3 
3.0PR15Q2.2 
vmromanos
Core
2014-12-23
https://code.openbravo.com/erp/devel/pi/rev/fbc674d56f04 [^]
No
0029995: 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.0PR15Q2.2
2015-05-25 18:14dmitry_mezentsevTag Attached: Approved
2015-05-26 10:03hgbotCheckin
2015-05-26 10:03hgbotNote Added: 0077737
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.0PR15Q2.2/rev/465185f879ef30cfd9bdc3b7f9fc5a56f9ee926b [^]
2015-05-26 10:05vmromanosReview Assigned To => vmromanos
2015-05-26 10:05vmromanosNote Added: 0077739
2015-05-26 10:05vmromanosStatusresolved => closed

Notes
(0077737)
hgbot   
2015-05-26 10:03   
Repository: erp/backports/3.0PR15Q2.2
Changeset: 465185f879ef30cfd9bdc3b7f9fc5a56f9ee926b
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.0PR15Q2.2/rev/465185f879ef30cfd9bdc3b7f9fc5a56f9ee926b [^]

Fixes Issue 29995: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
---
(0077739)
vmromanos   
2015-05-26 10:05   
Code review + testing OK