Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049502Retail ModulesWeb POSpublic2022-06-07 21:282022-11-21 07:50
alekosmp86 
radhakrishnan 
highmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR23Q1 
No
0049502: Filters are not reset when closing the Open Receipt popup
After making an initial search, if you close and reopen the Open Receipt popup, the results shown are the same of the initial search. Although this allows to quickly open an order that matches the criteria of the initial search, this can cause problems since that order could have another status, thus being wrongly loaded.
1 - Create a quotation (using Create Quotation menu entry)
2 - Add a product and synchronize. This will set the Quotation from Draft to Under Evaluation
3 - Close the quotation and click on Open Receipt menu entry
4 - Click on Search button (you'll see the quotation as the first result)
5 - Open the previously created quotation
6 - Click on Create Sales Order menu entry, and confirm. This will convert the quotation into an order
7 - Add a payment and synchronize the order.
8 - Click on Open Receipt menu entry. You'll see the quotation from the previous search, not the order created from the quotation.
9 - Click on Search button and verify that now it shows the order instead of the quotation
Reset the filters in the executeOnHide event of the Open Receipt popup. This will force a new search every time the popup is loaded, which will show the orders with the correct status.

The following code should do the trick
executeOnHide: function(){
  this.getFilterSelectorTableHeader().clearFilter();
}
No tags attached.
Issue History
2022-06-07 21:28alekosmp86New Issue
2022-06-07 21:28alekosmp86Assigned To => Retail
2022-06-07 21:28alekosmp86Triggers an Emergency Pack => No
2022-07-07 09:37radhakrishnanAssigned ToRetail => radhakrishnan
2022-07-07 09:37radhakrishnanStatusnew => scheduled
2022-07-27 07:54hgbotNote Added: 0139625
2022-07-27 07:56hgbotNote Added: 0139626
2022-11-21 07:50hgbotResolutionopen => fixed
2022-11-21 07:50hgbotStatusscheduled => closed
2022-11-21 07:50hgbotFixed in Version => RR23Q1
2022-11-21 07:50hgbotNote Added: 0143855
2022-11-21 07:50hgbotNote Added: 0143856
2022-11-21 07:50hgbotNote Added: 0143857
2022-11-21 07:50hgbotNote Added: 0143858

Notes
(0139625)
hgbot   
2022-07-27 07:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/877 [^]
(0139626)
hgbot   
2022-07-27 07:56   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/214 [^]
(0143855)
hgbot   
2022-11-21 07:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5cf4610e1a1d59995d5e0a6b679ae181b13376b8
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 21-11-2022 06:49:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5cf4610e1a1d59995d5e0a6b679ae181b13376b8 [^]

Fixed ISSUE-49502: Clear the filter when the open receipt popup is close

---
M web/org.openbravo.retail.posterminal/js/actions/openreceipt.js
---
(0143856)
hgbot   
2022-11-21 07:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/877 [^]
(0143857)
hgbot   
2022-11-21 07:50   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/214 [^]
(0143858)
hgbot   
2022-11-21 07:50   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: bc2c7bc1a50010ae1a2ac0e20c96086d01e74f7f
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 21-11-2022 06:49:56
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/bc2c7bc1a50010ae1a2ac0e20c96086d01e74f7f [^]

Verifies ISSUE-49502: Ignored Test KeepFiltersInOpenReceiptSelectorTest

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/KeepFiltersInOpenReceiptSelectorTest.java
---