Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018871Openbravo ERP07. Sales managementpublic2011-10-26 11:312011-12-30 14:01
marvintm 
VictorVillar 
highminoralways
closedfixed 
5
 
3.0MP73.0MP7 
Core
No
0018871: Executing Add Payment In/Out in Sales Invoice on the Finance & HR role fails
When the user is logged in the Finance & HR role, he doesn't have access to the Currency window. This means that any process which reads attributes from currency cannot work without using the DAL System Admin mode.

For example, the Add Payment In/Out process in the Sales Invoice window fails with the error:

Error: Error
org.openbravo.base.exception.OBSecurityException: Entity Currency is not directly readable, only id and identifier properties are readable, property Currency.standardPrecision is neither of these.
- Log in the Finance & HR role
- Create a Sales Invoice and fill the business partner
- Create a Sales Invoice line, set the product, and save.
- Complete the Invoice.
- Try to "Add Payment In/Out". An error happens
The DAL Admin mode should be used in the AddPaymentFromInvoice process. Maybe a review should be done to ensure that no other processes are affected.
OB3-Reviewed
Issue History
2011-10-26 11:31marvintmNew Issue
2011-10-26 11:31marvintmAssigned To => mirurita
2011-10-26 11:31marvintmModules => Core
2011-10-28 20:11iciordiaTag Attached: OB3-Reviewed
2011-11-15 03:55eintelauIssue Monitored: eintelau
2011-11-16 08:33egoitzResolution time => 1327878000
2011-11-16 08:33egoitzSeveritymajor => minor
2011-11-17 19:10jonalegriaesarteTarget Version => 3.0MP7
2011-12-20 10:37jonalegriaesarteAssigned Tomirurita => VictorVillar
2011-12-20 11:41jonalegriaesarteAssigned ToVictorVillar => jecharri
2011-12-20 11:43jonalegriaesarteAssigned Tojecharri => VictorVillar
2011-12-29 09:02hgbotCheckin
2011-12-29 09:02hgbotNote Added: 0044065
2011-12-29 09:02hgbotStatusnew => resolved
2011-12-29 09:02hgbotResolutionopen => fixed
2011-12-29 09:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/490f35995400642eb7f270208adc93e67b856eaf [^]
2011-12-30 12:56jecharriNote Added: 0044079
2011-12-30 12:57jecharriStatusresolved => closed
2011-12-30 12:57jecharriFixed in Version => 3.0MP7
2011-12-30 14:01hudsonbotCheckin
2011-12-30 14:01hudsonbotNote Added: 0044083

Notes
(0044065)
hgbot   
2011-12-29 09:02   
Repository: erp/devel/pi
Changeset: 490f35995400642eb7f270208adc93e67b856eaf
Author: VĂ­ctor Villar <victor.villar <at> openbravo.com>
Date: Wed Dec 28 17:32:25 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/490f35995400642eb7f270208adc93e67b856eaf [^]

Fixed issue 18871: DAL admin mode in AddPaymentFromInvoice process

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
---
(0044079)
jecharri   
2011-12-30 12:56   
Verified
(0044083)
hudsonbot   
2011-12-30 14:01   
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/90c08638786e [^]

Maturity status: Test