Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043778Openbravo ERP07. Sales managementpublic2020-04-17 19:372020-04-28 13:02
martinsdan 
Triage Omni OMS 
normalmajorsometimes
newopen 
30Ubuntu 18.04.1 LTS
 
 
Core
No
0043778: [Cancel and Replace] Reserved stock should be reused when replacing an order
If an order is canceled and replaced, the reserved stock should be used for the replacement order.
- Login into the POS
- Create a ticked with a line (stock > 1) with delivery method "pick up in store"
- Pay the ticket
- Login into the backend and mode the reserved stock
- Login into the POS
- Load the ticket
- Cancel and Replace
- Pay the ticket

It is likely that the new reserved stock is in a different bin.
Reuse the same bin for the replacement reservation
No tags attached.
Issue History
2020-04-17 19:37martinsdanNew Issue
2020-04-17 19:37martinsdanAssigned To => Triage Finance
2020-04-17 19:37martinsdanModules => Core
2020-04-17 19:37martinsdanResolution time => 1589497200
2020-04-17 19:37martinsdanTriggers an Emergency Pack => No
2020-04-28 12:19dmiguelezResolution time1589497200 =>
2020-04-28 12:19dmiguelezSeverityminor => major
2020-04-28 12:19dmiguelezTypedefect => design defect
2020-04-28 13:02dmiguelezNote Added: 0119465

Notes
(0119465)
dmiguelez   
2020-04-28 13:02   
This is a problem, specially for Reservations flagged as Allocated.

But the solution is complex. A canceled order can be replaced by more than one. Also, the lines can be deleted, modified or added.
That is why the original reservations might not work for the new order.

One possible solution would be to create a new Warehouse Rule for this scenario, and set this warehouse rule in the new orderline. This will allow to modify the stock proposed while creating the new reservation, and it would be possible to use the stock of the original reservation as a proposal for the new one.