Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021959
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2012-10-16 19:512012-11-12 10:40
ReporterXpand-ITView Statuspublic 
Assigned Tonaiaramartinez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionb7a3476440f0
ProjectionnoneETAnoneTarget Version
OSWindowsDatabasePostgreSQLJava version
OS Version7Database versionAnt version
Product Version3.0MP15SCM revision 
Review Assigned Todmiguelez
Web browserGoogle Chrome
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2012-06-25
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/9dd08cf8bac0 [^]
Triggers an Emergency PackNo
Summary

0021959: Sales role can't "Copy from Order"

DescriptionA user logged in with the role Sales gets an error trying to use the Copy from Order button.
The error showed is:
Error
ProcessRunError
Steps To ReproduceLogin as Sales
Create a new Order
Click Copy from Order and select an order
When you click ok the error is shown
Proposed SolutionIn org.openbravo.erpCommon.ad_actionButton.CopyFromPOOrder use Admin mode to access currency (line 98):

int stdPrecision;
int pricePrecision;

try {
       OBContext.setAdminMode(true);
       stdPrecision = order.getCurrency().getStandardPrecision().intValue();
       pricePrecision = order.getCurrency().getPricePrecision().intValue();
} finally {
       OBContext.restorePreviousMode();
}
TagsNo tags attached.
Attached Filespng file icon Openbravo - Sales Order - 1000024.png [^] (80,836 bytes) 2012-10-16 19:51

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0022237 closeddmiguelez Sales role, not able to complete sales order  
related to defect 0022238 closedpramakrishnan Copy Lines process fails in Sales invoice 

-  Notes
(0053537)
naiaramartinez (developer)
2012-10-22 17:09

Thank you for your proposed solution.
(0054102)
hgbot (developer)
2012-11-08 17:13

Repository: erp/devel/pi
Changeset: b7a3476440f0e9b27095c6dc81666ff5b62ebbf2
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Mon Oct 22 17:07:51 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b7a3476440f0e9b27095c6dc81666ff5b62ebbf2 [^]

fixed bug 21959: Sales role can't "Copy from Order"

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
---
(0054104)
dmiguelez (developer)
2012-11-08 17:16

Code Review + Testing OK
(0054151)
hudsonbot (developer)
2012-11-12 10:40

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/b0eb45e159c6 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-10-16 19:51 Xpand-IT New Issue
2012-10-16 19:51 Xpand-IT Assigned To => dmiguelez
2012-10-16 19:51 Xpand-IT File Added: Openbravo - Sales Order - 1000024.png
2012-10-16 19:51 Xpand-IT Web browser => Google Chrome
2012-10-16 19:51 Xpand-IT Modules => Core
2012-10-22 16:03 naiaramartinez Assigned To dmiguelez => naiaramartinez
2012-10-22 16:42 naiaramartinez Status new => scheduled
2012-10-22 16:42 naiaramartinez fix_in_branch => pi
2012-10-22 17:01 naiaramartinez Web browser Google Chrome => Google Chrome
2012-10-22 17:01 naiaramartinez Regression level => Production - Confirmed Stable
2012-10-22 17:01 naiaramartinez Regression date => 2012-06-25
2012-10-22 17:01 naiaramartinez Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/9dd08cf8bac0 [^]
2012-10-22 17:01 naiaramartinez fix_in_branch pi =>
2012-10-22 17:09 naiaramartinez Note Added: 0053537
2012-11-08 12:21 plujan Relationship added related to 0022237
2012-11-08 12:56 plujan Relationship added related to 0022238
2012-11-08 17:13 hgbot Checkin
2012-11-08 17:13 hgbot Note Added: 0054102
2012-11-08 17:13 hgbot Status scheduled => resolved
2012-11-08 17:13 hgbot Resolution open => fixed
2012-11-08 17:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b7a3476440f0e9b27095c6dc81666ff5b62ebbf2 [^]
2012-11-08 17:16 dmiguelez Review Assigned To => dmiguelez
2012-11-08 17:16 dmiguelez Note Added: 0054104
2012-11-08 17:16 dmiguelez Status resolved => closed
2012-11-12 10:40 hudsonbot Checkin
2012-11-12 10:40 hudsonbot Note Added: 0054151


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker