Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033912Openbravo ERP07. Sales managementpublic2016-09-06 14:062017-11-21 21:37
psanjuan 
collazoandy4 
urgentmajoralways
scheduledopen 
5
 
 
Core
No
0033912: Automatic Stock Reservation does not work if an order set as Manual is reactivated and then changed to Automatic.
Automatic Stock Reservation does not work if an order set as Manual is reactivated and then changed to Automatic.
Make sure "Enable Stock Reservations" preference is Active.

As F&B International Group Admin go to Product window and create a new one.
Purchase some quantity of this new product. Create a Goods Receipt and receipt the whole quantity in the storage bin RN-0-0-0, for instance.

Go to Sales Order, create a new one and include this product and some units of it. Go to "Stock Reservation" field and select "Manual". Book the order

Reactivate the order, go to the line and change "Stock Reservation" field to "Automatic". Book the order.

Check that nothing has been automatically reserved for the order and this is not correct. Reservation status of the order is "Not Reserved".

See image attached.
A new stock reservation needs to be created for the product in status complete as "Automatic" stock reservation is set and there is available stock to reserve for the order.
No tags attached.
related to defect 0035958 closed collazoandy4 Reactivating a sales order and decreasing the ordered quantity that is already reserved causes wrong reservation 
png Issue_33912.png (130,340) 2016-09-06 14:07
https://issues.openbravo.com/file_download.php?file_id=9789&type=bug
png
Issue History
2016-09-06 14:06psanjuanNew Issue
2016-09-06 14:06psanjuanAssigned To => Triage Finance
2016-09-06 14:06psanjuanModules => Core
2016-09-06 14:06psanjuanTriggers an Emergency Pack => No
2016-09-06 14:07psanjuanFile Added: Issue_33912.png
2016-09-06 15:01psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13070#r13070
2016-09-06 15:01psanjuanProposed Solution updated
2016-09-06 15:02psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13071#r13071
2017-05-09 11:41ngarciaRelationship addedrelated to 0035958
2017-11-20 17:12collazoandy4Assigned ToTriage Finance => collazoandy4
2017-11-20 22:58collazoandy4Statusnew => scheduled
2017-11-21 21:37collazoandy4Note Added: 0100658

Notes
(0100658)
collazoandy4   
2017-11-21 21:37   
Test Plan
  As F&B International Group Admin Role
    Go to Preference window and create a new record:
      Property: Enable Stock Reservations
      Value: Y
    Log out and Log In
    Go to Sales Order window and create a new record for Alimentos bp
      Create a new record in Lines tab;
        Product: Zumo de PiƱa 0,5L
        Stock Reservation: Manual
      Book it
    Go to Stock Reservation window and check a new reservation in draf was created for the previous order line
    Reactivate the previous order created
      Edit the Stock Reservation field to Automatic and check a warning message is show:
      'A reservation in Draft status is already associated to this order line. This situation might affect your change, please review the reservation before booking the order.'