Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029963Openbravo ERP09. Financial managementpublic2015-05-21 17:232016-02-02 09:41
jonalegriaesarte 
AtulOpenbravo 
immediateminorhave not tried
closedfixed 
5
3.0PR15Q1.3 
3.0PR15Q3 
vmromanos
Core
Production - Confirmed Stable
2014-12-23
3.0PR15Q1
https://code.openbravo.com/erp/devel/pi/rev/fbc674d56f04 [^]
No
0029963: 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.
No tags attached.
depends on backport 00299953.0PR15Q2.2 closed AtulOpenbravo Role without access to currency entity can not post a purchase invoice 
depends on backport 00299963.0PR15Q1.5 closed AtulOpenbravo Role without access to currency entity can not post a purchase invoice 
caused by defect 00275803.0PR15Q1 closed Sandrahuguet Wrong journal entries when you void a sales invoice under some circumstances 
Issue History
2015-05-21 17:23jonalegriaesarteNew Issue
2015-05-21 17:23jonalegriaesarteAssigned To => Triage Finance
2015-05-21 17:23jonalegriaesarteModules => Core
2015-05-21 17:23jonalegriaesarteResolution time => 1434319200
2015-05-21 17:23jonalegriaesarteTriggers an Emergency Pack => No
2015-05-22 05:09AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2015-05-22 05:09AtulOpenbravoStatusnew => scheduled
2015-05-22 07:15AtulOpenbravoRegression date => 2014-12-30
2015-05-22 07:15AtulOpenbravoRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/222329b73c20 [^]
2015-05-22 07:25AtulOpenbravoRegression date2014-12-30 => 2014-12-23
2015-05-22 07:25AtulOpenbravoRegression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/222329b73c20 [^] => https://code.openbravo.com/erp/devel/pi/rev/fbc674d56f04 [^]
2015-05-22 08:19AtulOpenbravoNote Added: 0077644
2015-05-25 13:10vmromanosStatusscheduled => acknowledged
2015-05-25 13:11vmromanosStatusacknowledged => scheduled
2015-05-25 18:12dmitry_mezentsevRelationship addedcaused by 0027580
2015-05-26 10:02vmromanosReview Assigned To => vmromanos
2015-05-26 10:02vmromanosRegression level => Production - Confirmed Stable
2015-05-26 10:02vmromanosRegression introduced in release => 3.0PR15Q1
2015-05-26 10:05hgbotCheckin
2015-05-26 10:05hgbotNote Added: 0077738
2015-05-26 10:05hgbotStatusscheduled => resolved
2015-05-26 10:05hgbotResolutionopen => fixed
2015-05-26 10:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b4bff01c84ff8ca11cb0e9102b67ffcd5fee8cc8 [^]
2015-05-26 10:07vmromanosNote Added: 0077741
2015-05-26 10:07vmromanosStatusresolved => closed
2015-05-27 00:39hudsonbotCheckin
2015-05-27 00:39hudsonbotNote Added: 0077777
2016-02-02 09:41hgbotCheckin
2016-02-02 09:41hgbotNote Added: 0083827

Notes
(0077644)
AtulOpenbravo   
2015-05-22 08:19   
Test Plan
- Login and change role to F&B España, S.A - Finance.
- Create a Purchase Invoice.
- Complete it.
- Post it.
- Check that invoice is posted successfully.
(0077738)
hgbot   
2015-05-26 10:05   
Repository: erp/devel/pi
Changeset: b4bff01c84ff8ca11cb0e9102b67ffcd5fee8cc8
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri May 22 10:58:48 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b4bff01c84ff8ca11cb0e9102b67ffcd5fee8cc8 [^]

Fixes Issue 29963: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
---
(0077741)
vmromanos   
2015-05-26 10:07   
Code review + testing OK
(0077777)
hudsonbot   
2015-05-27 00:39   
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/2ac0a8fe23d2 [^]
Maturity status: Test
(0083827)
hgbot   
2016-02-02 09:41   
Repository: tools/automation/int
Changeset: 9c42c78ff7fd8a9ac2e63661ae43bd985987a9ed
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Nov 23 23:38:29 2015 +0100
URL: http://code.openbravo.com/tools/automation/int/rev/9c42c78ff7fd8a9ac2e63661ae43bd985987a9ed [^]

Related to issue 29963: Added some automated tests

---
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRIn_Regressions/APRIn_RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRIn_Regressions/build.xml
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APROut_Regressions/APROut_RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APROut_Regressions/build.xml
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRIn_Regressions/APRRegression29963In.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APROut_Regressions/APRRegression29963Out.java
---