Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019120Openbravo ERP07. Sales managementpublic2011-11-21 12:362011-11-30 11:46
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
3.0MP63.0MP6 
Core
No
0019120: The Complete button in the Invoice window fails if a role doesn't have access to the Document Type window
The Complete button in the Invoice window fails if a role doesn't have access to the Document Type window. A DAL error is shown because the role doesn't have access to the DocumentType entity.
- Create a role without access to the Document Type window, but with access to the Sales Invoice window.
- Try to Complete an invoice. The process will fail.
No tags attached.
Issue History
2011-11-21 12:36marvintmNew Issue
2011-11-21 12:36marvintmAssigned To => marvintm
2011-11-21 12:36marvintmModules => Core
2011-11-21 12:38hgbotCheckin
2011-11-21 12:38hgbotNote Added: 0043007
2011-11-21 12:38hgbotStatusnew => resolved
2011-11-21 12:38hgbotResolutionopen => fixed
2011-11-21 12:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/39644a1380559fff19154c87203c16e19eb4acef [^]
2011-11-22 03:50hudsonbotCheckin
2011-11-22 03:50hudsonbotNote Added: 0043060
2011-11-30 11:46alostaleNote Added: 0043424
2011-11-30 11:46alostaleStatusresolved => closed
2011-11-30 11:46alostaleFixed in Version => 3.0MP6

Notes
(0043007)
hgbot   
2011-11-21 12:38   
Repository: erp/devel/pi
Changeset: 39644a1380559fff19154c87203c16e19eb4acef
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Nov 21 12:37:04 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/39644a1380559fff19154c87203c16e19eb4acef [^]

Fixed issue 19120. Sales Invoice complete will no longer fail if the role doesn't have access to the Document Type window.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
(0043060)
hudsonbot   
2011-11-22 03:50   
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/ebd713dfe507 [^]

Maturity status: Test
(0043424)
alostale   
2011-11-30 11:46   
reviewed at pi@1fac7a8950d1

Code review: OK
Executed test plan:
 - Create a role without access to the Document Type window, but with access to the Sales Invoice window.
 - Try to Complete an invoice. The process works.
Regression risk: this fix shouldn't create regressions