Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031908Openbravo ERP04. Warehouse managementpublic2016-01-15 11:102016-02-09 10:23
aferraz 
aferraz 
immediatemajoralways
closedfixed 
30Professional Appliance
 
3.0PR15Q4.3 
dmiguelez
Core
Production - QA Approved
2015-06-22
3.0PR15Q4
https://code.openbravo.com/erp/devel/pi/rev/e03c1808e1952c20ef838c8a8b976cff802d5156 [^]
No
0031908: Cannot void a goods shipment if it has related reservation and there is less stock than double of shipment quantity
Cannot void a goods shipment if it has related reservation and there is less stock than double of shipment quantity
As group admin role:
   Create the Enable Stock Reservations preference
   Log out and log in
   Create a product for EspaƱa and add a price list for "Tarifa de Bebidas Alegres" and "Tarifa de ventas" .
   Create a receipt for created product, qty=29 in RN-0-0-0 locator.
   Create a sales order, add the previously created product and qty=15. Complete it.
   Add a complete reservation to it (qty=15 in RN-0-0-0).
   Create a shipment from sales order with qty=15 in RN-0-0-0. Complete it.
   Try to void the shipment. An empty error message is shown.
No tags attached.
blocks defect 00319023.0PR16Q2 closed aferraz Cannot void a goods shipment if it has related reservation and there is less stock than double of shipment quantity 
Issue History
2016-01-15 12:42aferrazTypedefect => backport
2016-01-15 12:42aferrazTarget Version3.0PR16Q2 => 3.0PR15Q4.2
2016-01-22 08:15vmromanosTarget Version3.0PR15Q4.2 => 3.0PR15Q4.3
2016-01-22 12:05aferrazAssigned ToTriage Finance => aferraz
2016-02-09 10:23hgbotCheckin
2016-02-09 10:23hgbotNote Added: 0084034
2016-02-09 10:23hgbotStatusscheduled => resolved
2016-02-09 10:23hgbotResolutionopen => fixed
2016-02-09 10:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q4.3/rev/7dbcbbf94ecf1b14c2ebd1f83acb4f9be4d6b1e6 [^]
2016-02-09 10:23dmiguelezReview Assigned To => dmiguelez
2016-02-09 10:23dmiguelezNote Added: 0084037
2016-02-09 10:23dmiguelezStatusresolved => closed

Notes
(0084034)
hgbot   
2016-02-09 10:23   
Repository: erp/backports/3.0PR15Q4.3
Changeset: 7dbcbbf94ecf1b14c2ebd1f83acb4f9be4d6b1e6
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Feb 01 18:49:06 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4.3/rev/7dbcbbf94ecf1b14c2ebd1f83acb4f9be4d6b1e6 [^]

Fixes issue 31916 & Fixes issue 31908 & Fixes issue 31958: Cannot void shipment

Cannot void shipment related to reservation.
New reservation to replace the closed related one when voiding a shipment will be done after update m_storage_detail, in order to have voided shipment quantity available.
Reservation stock lines will be created with related shipment line movement quantity in case this quantity is less than pending order quantity.
Reservation will be created with the least quantity between ordered quantity and movement quantity.

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0084037)
dmiguelez   
2016-02-09 10:23   
Code Review + Testing Ok