Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025031 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | minor | always | 2013-10-28 09:46 | 2013-12-31 04:57 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | f4dd25a223c4 | |||
Projection | none | ETA | none | Target Version | 3.0PR14Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | pramakrishnan | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 24192 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025031: Wrong price when creating an order from another one if the product doesn't have a price in the price list of the order | |||||||
Description | Wrong price when creating an order from another one if the product doesn't have a price in the price list of the order | |||||||
Steps To Reproduce | Create a sales price list (do not set it as default) and a sales price version Create a new product and add a price in that price list version Create a sales order for a different price list than the created one Add a line with a product with a price defined in the price list of the order Add another line with the product created in the 2nd step Book it Create a new sales order with the same header info Click on the Copy From Order button and select the previously booked order Check that the price of the product in the 1st line is copied in the 2nd line instead of leaving it as 0 as it doesn't have a price defined in the price list of the order | |||||||
Proposed Solution | In CopyFromPOOrder.java initialize the value of the following variables strPriceActual = "0"; strPriceList = "0"; strPriceLimit = "0"; before the following line for (int j = 0; data3 != null && j < data3.length; j++) { | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0063111) AtulOpenbravo (viewer) 2013-12-30 10:40 |
Test Plan - Create a sales price list (do not set it as default) and a sales price version. - Create a new product and add a price in above created price list version. - Create a sales order for a different price list than the created above - Add a line with a product with a price defined in the price list of the order - Add another line with the product created in the 2nd step. - Book the order. - Create a new sales order with the same header info as previous order. - Click on the Copy From Order button and select the previously booked order. - Check that the price of the product in the 1st line is copied properly, in the 2nd line as product is not in the sales order header price list, the price of this product is set as zero. |
(0063113) hgbot (developer) 2013-12-30 11:53 |
Repository: erp/devel/pi Changeset: f4dd25a223c406f555a39ea4e4f6070fff30f56b Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Fri Dec 27 19:53:46 2013 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/f4dd25a223c406f555a39ea4e4f6070fff30f56b [^] Fixes Issue 0025031:Wrong price when creating an order from another one if the product doesn't have a price in the price list of the order --- M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java --- |
(0063115) pramakrishnan (viewer) 2013-12-30 11:57 |
Code review + testing - Ok |
(0063133) hudsonbot (viewer) 2013-12-31 04:57 |
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/987357c24f95 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-10-28 09:46 | ngarcia | New Issue | |
2013-10-28 09:46 | ngarcia | Assigned To | => jonalegriaesarte |
2013-10-28 09:46 | ngarcia | Modules | => Core |
2013-10-28 09:46 | ngarcia | OBNetwork customer | => Yes |
2013-10-28 09:46 | ngarcia | Support ticket | => 24192 |
2013-10-28 09:46 | ngarcia | Resolution time | => 1357599600 |
2013-10-28 09:46 | ngarcia | Triggers an Emergency Pack | => No |
2013-10-28 09:46 | ngarcia | Issue Monitored: networkb | |
2013-12-23 13:49 | jonalegriaesarte | Target Version | 3.0MP31 => 3.0MP32 |
2013-12-27 15:21 | AtulOpenbravo | Assigned To | jonalegriaesarte => AtulOpenbravo |
2013-12-27 15:21 | AtulOpenbravo | Status | new => scheduled |
2013-12-27 15:21 | AtulOpenbravo | fix_in_branch | => pi |
2013-12-30 10:40 | AtulOpenbravo | Note Added: 0063111 | |
2013-12-30 11:53 | hgbot | Checkin | |
2013-12-30 11:53 | hgbot | Note Added: 0063113 | |
2013-12-30 11:53 | hgbot | Status | scheduled => resolved |
2013-12-30 11:53 | hgbot | Resolution | open => fixed |
2013-12-30 11:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f4dd25a223c406f555a39ea4e4f6070fff30f56b [^] |
2013-12-30 11:57 | pramakrishnan | Review Assigned To | => pramakrishnan |
2013-12-30 11:57 | pramakrishnan | Note Added: 0063115 | |
2013-12-30 11:57 | pramakrishnan | Status | resolved => closed |
2013-12-31 04:57 | hudsonbot | Checkin | |
2013-12-31 04:57 | hudsonbot | Note Added: 0063133 |
Copyright © 2000 - 2009 MantisBT Group |