Openbravo Issue Tracking System - Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0032651 | Modules | Warehouse Picking | public | 2016-04-11 19:07 | 2016-05-12 14:08 | ||||||||||||||
Reporter | ngarcia | ||||||||||||||||||
Assigned To | markmm82 | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Regression level | |||||||||||||||||||
Review Assigned To | aferraz | ||||||||||||||||||
Support ticket | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Summary | 0032651: Stock Reservations are not deleted when cancelling a picking list if the reserved quantity has decimals | ||||||||||||||||||
Description | Stock Reservations are not deleted when cancelling a picking list if the reserved quantity has decimals | ||||||||||||||||||
Steps To Reproduce | As group admin role: Set the Enable Stock Reservations to Y Log out and log in Create a sales order with a product with stock. Set a quantity with decimals such as 4.5 Book it Generate Picking List from it Go to Warehouse Picking List window and cancel it Go to Stock Reservation window and check the reservation is not deleted although the reserved quantity is not 0 Repeat the process with a non decimal value and check the Stock Reservation is deleted | ||||||||||||||||||
Proposed Solution | Change the <variable>.equals(BigDecimal.ZERO) with BigDecimal.ZERO.compareTo(<variable>) == 0 in EditActionHandler.java: if (resStock.getQuantity().equals(BigDecimal.ZERO)) { DeletePickingLineHandler.java: if (reservation.getReservedQty().equals(BigDecimal.ZERO) Utilities.java: if (resStock.getQuantity().equals(BigDecimal.ZERO) && !resStock.isAllocated()) { PickingListActionHandler.java: if (resStock.getQuantity().equals(BigDecimal.ZERO)) { PickingListActionHandler.java: if (res.getReservedQty().equals(BigDecimal.ZERO) | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2016-04-11 19:07 | ngarcia | New Issue | |||||||||||||||||
2016-04-11 19:07 | ngarcia | Assigned To | => Triage Finance | ||||||||||||||||
2016-04-11 19:07 | ngarcia | Resolution time | => 1464127200 | ||||||||||||||||
2016-04-11 19:07 | ngarcia | Issue Monitored: networkb | |||||||||||||||||
2016-04-12 09:29 | ngarcia | Proposed Solution updated | |||||||||||||||||
2016-04-12 19:23 | aferraz | Assigned To | Triage Finance => Sanjota | ||||||||||||||||
2016-04-19 17:09 | aferraz | Assigned To | Sanjota => markmm82 | ||||||||||||||||
2016-04-19 17:15 | markmm82 | Status | new => scheduled | ||||||||||||||||
2016-05-11 21:44 | markmm82 | Note Added: 0086387 | |||||||||||||||||
2016-05-12 14:06 | hgbot | Checkin | |||||||||||||||||
2016-05-12 14:06 | hgbot | Note Added: 0086401 | |||||||||||||||||
2016-05-12 14:06 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2016-05-12 14:06 | hgbot | Resolution | open => fixed | ||||||||||||||||
2016-05-12 14:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/f3ba7528afec8ad5ec35b3be15237edd2d512db4 [^] | ||||||||||||||||
2016-05-12 14:07 | hgbot | Checkin | |||||||||||||||||
2016-05-12 14:07 | hgbot | Note Added: 0086402 | |||||||||||||||||
2016-05-12 14:08 | aferraz | Review Assigned To | => aferraz | ||||||||||||||||
2016-05-12 14:08 | aferraz | Note Added: 0086403 | |||||||||||||||||
2016-05-12 14:08 | aferraz | Status | resolved => closed | ||||||||||||||||
2017-03-17 14:36 | aferraz | Relationship added | related to 0035542 | ||||||||||||||||
2017-03-22 16:43 | markmm82 | Relationship added | related to 0035600 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|