Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041838Retail ModulesQuotationspublic2019-09-18 13:422019-11-11 20:03
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q4 
jorge-garcia
No
0041838: Removing an order created from a quotation closes the quotation when it is synchronized
With the Web POS Save Removed Tickets configured, when a draft ticket is removed from web pos it is automativally saved as removed in the server.
With that preference configured, when a quotation is converted into a sales order, and that sales order is removed from webpos, the quotation's status changes to 'Closed - Order Created' and it is no longer possible to do anything with it.
Log in backend, go to the Preference window and configure the preference Web POS Save Removed Tickets with value Y.
Log in WebPOS.
Create a new Quotation (Menu > Create Quotation)
Add a product and complete the quotation by clicking on the Total Amount button.
> The quotation is created in backend in status 'Under Evaluation'
In WebPOS, with the quotation open, go to the menu > Create Sales Order and on the confirmation popup click again on Create Sales Order.
Remove the receipt from web pos.
The status of the quotation in backend will change to 'Closed - Order Created' and it won't be possible to do anything with it (neither the closed quotation nor the deleted ticket can be loaded in webpos).
A deleted ticket should not change the status of a related quotation. Check the associateOrderToQuotation function in the OrderLoader.java file.
No tags attached.
Issue History
2019-09-18 13:42aaroncaleroNew Issue
2019-09-18 13:42aaroncaleroAssigned To => Retail
2019-09-18 13:42aaroncaleroResolution time => 1570572000
2019-09-18 13:42aaroncaleroTriggers an Emergency Pack => No
2019-09-19 12:43ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-09-20 07:51ranjith_qualiantech_comStatusnew => scheduled
2019-09-23 11:23hgbotCheckin
2019-09-23 11:23hgbotNote Added: 0114722
2019-09-23 11:23hgbotStatusscheduled => resolved
2019-09-23 11:23hgbotResolutionopen => fixed
2019-09-23 11:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06ef79c7d335da17bc452efa4a60adcdca69d137 [^]
2019-09-26 17:19jorge-garciaReview Assigned To => jorge-garcia
2019-09-26 17:34jorge-garciaNote Added: 0114822
2019-09-26 17:34jorge-garciaStatusresolved => closed
2019-09-26 17:34jorge-garciaFixed in Version => RR19Q4
2019-11-11 20:03hgbotCheckin
2019-11-11 20:03hgbotNote Added: 0115539

Notes
(0114722)
hgbot   
2019-09-23 11:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 06ef79c7d335da17bc452efa4a60adcdca69d137
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Sep 23 14:53:32 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06ef79c7d335da17bc452efa4a60adcdca69d137 [^]

Fixed issue 41838 : Order should not be associated to Quotation when it is deleted in POS

* With 'Save Remove Ticket' Pref. is enabled,
  if quotation's order is deleted, then deleted Order should not be associated to Quotation

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0114822)
jorge-garcia   
2019-09-26 17:34   
Code reviewed and tested
(0115539)
hgbot   
2019-11-11 20:03   
Repository: tools/automation/pi-mobile
Changeset: 25644ed8579a4e32cab12df4cfb1dda88240599c
Author: Fidel <fidel.campos <at> doceleguas.com>
Date: Tue Nov 05 13:42:31 2019 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/25644ed8579a4e32cab12df4cfb1dda88240599c [^]

Related to issue 41838: Added automated test I41838_CreateOrderFromQuotationRemoveTicketAndVerifyStatusQuotation

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I41838_CreateOrderFromQuotationRemoveTicketAndVerifyStatusQuotation.java
---