Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021694Openbravo ERP07. Sales managementpublic2012-09-20 10:132012-09-28 14:38
VictorVillar 
jecharri 
urgentmajoralways
closedfixed 
5
3.0MP14 
3.0MP16 
ioritzCia
Core
No
0021694: Not possible to complete an invoice if a rol has not access to Financial Account window
Not possible to complete an invoice if a rol has not access to Financial Account window
As group Admin role,

Go to Role window,
   Select Sales role for US
 In windows access tab,
    Add the total access to Sales invoice window
 NOT add the access to the Financial account window.

Log in with F&B US, Sales role
   Go to Sales invoice window
      Create a new one ant try to complete it.
Realise that an error appears:
   org.openbravo.base.exception.OBSecurityException: Entity FIN_Financial_Account is not directly readable, only id and identifier properties are readable, property FIN_Financial_Account.financialMgmtFinAccPaymentMethodList is neither of these.
it is necessary to add a setAdminMode() in one point of the process.
No tags attached.
Issue History
2012-09-20 10:13VictorVillarNew Issue
2012-09-20 10:13VictorVillarAssigned To => dmiguelez
2012-09-20 10:13VictorVillarModules => Core
2012-09-20 10:13VictorVillarResolution time => 1349992800
2012-09-20 10:13VictorVillarIssue Monitored: networkb
2012-09-20 11:59dmiguelezAssigned Todmiguelez => jonalegriaesarte
2012-09-24 12:20jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-09-24 17:48jecharriNote Added: 0052367
2012-09-24 17:48hgbotCheckin
2012-09-24 17:48hgbotNote Added: 0052368
2012-09-24 17:48hgbotStatusnew => resolved
2012-09-24 17:48hgbotResolutionopen => fixed
2012-09-24 17:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/325afce7f3a6dc51f215d9a25971da75bfcc0ebb [^]
2012-09-27 13:32ioritzCiaNote Added: 0052832
2012-09-27 13:32ioritzCiaClosed by => ioritzCia
2012-09-27 13:32ioritzCiaStatusresolved => closed
2012-09-27 13:36ioritzCiaStatusclosed => new
2012-09-27 13:36ioritzCiaResolutionfixed => open
2012-09-27 13:37ioritzCiaStatusnew => scheduled
2012-09-27 13:37ioritzCiafix_in_branch => pi
2012-09-27 13:37ioritzCiaStatusscheduled => resolved
2012-09-27 13:37ioritzCiaResolutionopen => fixed
2012-09-27 17:37VictorVillarNote Added: 0052843
2012-09-27 17:37VictorVillarStatusresolved => closed
2012-09-28 14:38hudsonbotCheckin
2012-09-28 14:38hudsonbotNote Added: 0052887

Notes
(0052367)
jecharri   
2012-09-24 17:48   
Test plan:
-with steps to reproduce is enough
(0052368)
hgbot   
2012-09-24 17:48   
Repository: erp/devel/pi
Changeset: 325afce7f3a6dc51f215d9a25971da75bfcc0ebb
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Mon Sep 24 17:47:45 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/325afce7f3a6dc51f215d9a25971da75bfcc0ebb [^]

Fixes issue 21694: Not possible to complete
an invoice if a rol has not access to Financial Account window

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
(0052832)
ioritzCia   
2012-09-27 13:32   
Verified.
(0052843)
VictorVillar   
2012-09-27 17:37   
verified
(0052887)
hudsonbot   
2012-09-28 14:38   
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/6d2f8cffd4b1 [^]

Maturity status: Test