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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026054
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Warehouse Pickingminorhave not tried2014-03-21 08:202014-06-10 22:24
ReporterjecharriView Statuspublic 
Assigned Torafaroda 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision5596aec8b534
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0026054: Reservations are not deleted

DescriptionReservations are not deleted
Steps To Reproduce-Enable reservations --> http://wiki.openbravo.com/wiki/Stock_Reservation [^]
-Create a product
-Create a sales order with that product
-Choose "automatic" stock reservation
-Book it
-Try to create a picking list
You will get not enought stock error and this is fine

-Reactivate the order
-Change a product with stock
-Book it and try to create picking list
You will get not enought stock error and this is wrong

The problem is that the reservation is still related with not stocked product
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0027452 closedAtulOpenbravo Openbravo ERP Regression in 0026054: c_orderline_trg has invalid sql 

-  Notes
(0067806)
rafaroda (manager)
2014-06-06 12:53

Problem here is that you were allowed to change the product in order lines related to reservations in complete status, when you should not be allowed.

Steps to test:

1) Install Warehouse Picking and Enable Reservations http://wiki.openbravo.com/wiki/Projects:Warehouse_picking/User_Guide [^]

2) Create a sales order and a line with Stock Reservation = Automatic

3) Book this order and Generate Picking List

4) See that a reservation is created for this order line and product in Stock reservation window in status Completed

5) Go to the sales order and Reactivate it: you will be allowed to change the quantities of the sales order line but not the product. Error displays: The Order Line is related to a Reservation. It is not possible to change its Product.

If the Stock reservation is in Draft status, you will be allowed to change also the product of the order line: stock reservation product for this order line will be updated and reservations lines deleted.
(0067833)
hgbot (developer)
2014-06-10 08:22

Repository: erp/devel/pi
Changeset: 5596aec8b534a9690f16dea0323ff48567daf178
Author: Rafa Roda Palacios <rafa.roda <at> ubiquads.com>
Date: Sat Jun 07 17:01:54 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5596aec8b534a9690f16dea0323ff48567daf178 [^]

Fixes issue 26054 Not allowing to change product of order lines related to completed reservations

---
M src-db/database/model/triggers/C_ORDERLINE_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0067835)
AtulOpenbravo (developer)
2014-06-10 08:29

Verified
(0067891)
hudsonbot (developer)
2014-06-10 22:24

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/763f16c2ad2e [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-03-21 08:20 jecharri New Issue
2014-03-21 08:20 jecharri Assigned To => naiaramartinez
2014-03-21 08:20 jecharri Resolution time => 1401314400
2014-05-05 13:43 jonalegriaesarte Assigned To naiaramartinez => pramakrishnan
2014-06-05 09:54 rafaroda Assigned To pramakrishnan => rafaroda
2014-06-05 09:54 rafaroda Status new => scheduled
2014-06-06 12:53 rafaroda Note Added: 0067806
2014-06-10 08:22 hgbot Checkin
2014-06-10 08:22 hgbot Note Added: 0067833
2014-06-10 08:22 hgbot Status scheduled => resolved
2014-06-10 08:22 hgbot Resolution open => fixed
2014-06-10 08:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5596aec8b534a9690f16dea0323ff48567daf178 [^]
2014-06-10 08:29 AtulOpenbravo Note Added: 0067835
2014-06-10 08:29 AtulOpenbravo Status resolved => closed
2014-06-10 22:24 hudsonbot Checkin
2014-06-10 22:24 hudsonbot Note Added: 0067891
2014-08-24 14:03 shuehner Relationship added causes 0027452


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker