Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029429Openbravo ERP07. Sales managementpublic2015-03-26 12:242015-05-07 22:17
jonalegriaesarte 
reinaldoguerra 
highmajorhave not tried
closedfixed 
5
 
3.0PR15Q3 
eduardo_Argal
Core
No
0029429: Sales quotation can not be managed if the user creates an order from quotation and removes it
Sales quotation can not be managed if the user creates an order from quotation and removes it. In the process of removing the quotation, the system should set the status of the quotation from Closed - Order Created to Completed, for example.
- Create a quotation with one line
- Complete it
- Create the order
- Reactivate the order and remove it
- Quotation can not be managed (to remove it, for example)
No tags attached.
Issue History
2015-03-26 12:24jonalegriaesarteNew Issue
2015-03-26 12:24jonalegriaesarteAssigned To => Sandrahuguet
2015-03-26 12:24jonalegriaesarteModules => Core
2015-03-26 12:24jonalegriaesarteResolution time => 1431813600
2015-03-26 12:24jonalegriaesarteTriggers an Emergency Pack => No
2015-03-26 16:28reinaldoguerraAssigned ToSandrahuguet => reinaldoguerra
2015-03-26 16:28reinaldoguerraStatusnew => scheduled
2015-03-27 14:39reinaldoguerraNote Added: 0076089
2015-05-06 08:48hgbotCheckin
2015-05-06 08:48hgbotNote Added: 0077034
2015-05-06 08:48hgbotStatusscheduled => resolved
2015-05-06 08:48hgbotResolutionopen => fixed
2015-05-06 08:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b509a9c376d0416031bd3b3c283e3875c7b8493a [^]
2015-05-06 08:54eduardo_ArgalReview Assigned To => eduardo_Argal
2015-05-06 08:54eduardo_ArgalNote Added: 0077035
2015-05-06 08:54eduardo_ArgalStatusresolved => closed
2015-05-07 22:17hudsonbotCheckin
2015-05-07 22:17hudsonbotNote Added: 0077216

Notes
(0076089)
reinaldoguerra   
2015-03-27 14:39   
Test plan used:
1- Login into Openbravo ERP
2- Go to Sales quotation window and create a new header (any organization and busnis partner)
3- Go to lines tab and create a new one.
4- Book it and then click on Create Order button completing the process.
5- Check that a new order is created and the quotation status is now (Closed - Order Created)
6- Go to Sales order window and select created order.
7- Click on Close button and select Reactivate option
8- Delete the sales order.
9- Go to previous created quotation and refresh it. Realize that now its status is Under Evaluation, so you can manage it again (Reactivate it and Delete it)
(0077034)
hgbot   
2015-05-06 08:48   
Repository: erp/devel/pi
Changeset: b509a9c376d0416031bd3b3c283e3875c7b8493a
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Fri Mar 27 15:57:12 2015 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/b509a9c376d0416031bd3b3c283e3875c7b8493a [^]

Fixed bug 29429: Sales quotation can not be managed if its order is removed.

On delete function in Order event handler, is now defined to reset the quotation status, when the order generated by this quotation is modified and deleted.
Now, it is possible to manage again the original order (quotation) when the order generated is not existent anymore.

---
M src/org/openbravo/event/OrderEventHandler.java
---
(0077035)
eduardo_Argal   
2015-05-06 08:54   
Code Reviewed and tested.
Test plan used:
1- Login into Openbravo ERP
2- Go to Sales quotation window and create a new header (any organization and busnis partner)
3- Go to lines tab and create a new one.
4- Book it and then click on Create Order button completing the process.
5- Check that a new order is created and the quotation status is now (Closed - Order Created)
6- Go to Sales order window and select created order.
7- Click on Close button and select Reactivate option
8- Delete the sales order.
9- Go to previous created quotation and refresh it. Realize that now its status is Under Evaluation, so you can manage it again (Reactivate it and Delete it)
(0077216)
hudsonbot   
2015-05-07 22:17   
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/a1817f84bd8b [^]
Maturity status: Test