Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006910Openbravo ERP07. Sales managementpublic2009-01-15 13:182009-01-20 11:27
villind 
gorkaion 
urgentcriticalalways
closedduplicate 
5
2.40MP1 
 
Core
No
0006910: Shadow reservations for products after re-activating the sales order
Re-activating a sales order and changing product (and quantity) for a sales order line leaves the previous reservation intact.
1. Create sales order
2. Add line with product A, quantity 10
3. Complete the sales order
4. Re-activate the sales order
5. Change the product to B for the sales order line
6. Complete the sales order

-> there is still reservation for product A
Reset reserver quantity when re-activating the sales order.
No tags attached.
duplicate of defect 0006912 closed gorkaion It is not possible to deactivate a product which has an ordered quantity of zero. 
Issue History
2009-01-15 13:18villindNew Issue
2009-01-15 13:18villindAssigned To => rafaroda
2009-01-15 13:18villindsf_bug_id0 => 2509715
2009-01-15 13:18villindRegression testing => No
2009-01-16 06:56pjuvaraPrioritynormal => urgent
2009-01-16 09:24rafarodaNote Added: 0012245
2009-01-16 09:24rafarodaStatusnew => feedback
2009-01-19 21:21villindNote Added: 0012368
2009-01-20 10:46rafarodaRelationship addedrelated to 0006912
2009-01-20 11:17rafarodaAssigned Torafaroda => gorkaion
2009-01-20 11:27gorkaionRelationship replacedduplicate of 0006912
2009-01-20 11:27gorkaionStatusfeedback => closed
2009-01-20 11:27gorkaionDuplicate ID0 => 6912
2009-01-20 11:27gorkaionResolutionopen => duplicate

Notes
(0012245)
rafaroda   
2009-01-16 09:24   
Ville, is this bug duplicated of https://issues.openbravo.com/view.php?id=6912 [^]
(0012368)
villind   
2009-01-19 21:21   
I think that the above bug is at least related, if not duplicate. I suggest that the fix and testing is done based on both of these reports.

This issue also changes the product, not just updating the quantity of the existing product. So one database transaction can update both the product ID and the quantity.