Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031957
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementmajoralways2016-01-19 18:152016-02-09 10:25
ReporteraferrazView Statuspublic 
Assigned Toaferraz 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionfb23aa4df32e
ProjectionnoneETAnoneTarget Version3.0PR16Q1
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression levelProduction - QA Approved
Regression date2015-06-22
Regression introduced in release3.0PR15Q4
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/e03c1808e1952c20ef838c8a8b976cff802d5156 [^]
Triggers an Emergency PackNo
Summary

0031957: Cannot void a goods shipment if it has related reservation under some circumstances

DescriptionCannot void a goods shipment if it has related reservation under some circumstances
Steps To ReproduceAs 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=25 in RN-0-0-0 locator.
   Create a sales order, add the previously created product and qty=25. Complete it.
   Add a complete reservation to it (qty=25 in RN-0-0-0).
   Create a shipment from sales order with qty=20 in RN-0-0-0. Complete it.
   Create another shipment from sales order with qty=5 in RN-0-0-0. Complete it.
   Try to void the second shipment. An empty error message is shown.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00319563.0PR16Q2 closedaferraz Cannot void a goods shipment if it has related reservation under some circumstances 

-  Notes
(0084041)
hgbot (developer)
2016-02-09 10:25

Repository: erp/backports/3.0PR16Q1
Changeset: fb23aa4df32ec39178f300e7b52627297359a898
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.0PR16Q1/rev/fb23aa4df32ec39178f300e7b52627297359a898 [^]

Fixes issue 31915 & Fixes issue 31907 & Fixes issue 31957: 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
---
(0084044)
dmiguelez (developer)
2016-02-09 10:25

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2016-01-19 18:17 aferraz Type defect => backport
2016-01-19 18:17 aferraz Target Version 3.0PR16Q2 => 3.0PR16Q1
2016-02-09 10:25 hgbot Checkin
2016-02-09 10:25 hgbot Note Added: 0084041
2016-02-09 10:25 hgbot Status scheduled => resolved
2016-02-09 10:25 hgbot Resolution open => fixed
2016-02-09 10:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/fb23aa4df32ec39178f300e7b52627297359a898 [^]
2016-02-09 10:25 dmiguelez Review Assigned To => dmiguelez
2016-02-09 10:25 dmiguelez Note Added: 0084044
2016-02-09 10:25 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker