Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049858Retail ModulesWeb POSpublic2022-07-20 15:022022-09-04 08:41
cberner 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR22Q4 
Production - Confirmed Stable
2020-08-10
RR20Q3
No
0049858: Add association to service request doesn't filter out orderlines that can't be associated
When adding associations to a service product, a popup appears that shows the order lines that can be associated to the selected service. This list shows order lines that do not have the given product configured to it, so that means it shows order lines that shouldn't appear.

This is a regression from WebSQL change to indexeddb, as previously it was working correctly.
1. Connect and login on WebPOS
2. Add a GPS Handheld product
3. Click on services button, and add an Installation Pack product
4. Click on installation pack, and on top right, select Add Associations option
5. Click on filter, check that there are order lines that shouldn't appear, for example Avalanche Transceiver.

A couple gifs have been provided with correct behaviour(pre-regression) and incorrect behaviour.
In AssociateOrderLines.java hql query, it is assumed that some filters from backend have values 'Y' or 'N', but since the change of WebSQL, this values are now false/true, so should be handled as so on the corresponding filtering.
No tags attached.
gif wrong behaviour add association query.gif (799,224) 2022-07-20 15:02
https://issues.openbravo.com/file_download.php?file_id=17329&type=bug
gif correct behaviour add association query.gif (435,723) 2022-07-20 15:04
https://issues.openbravo.com/file_download.php?file_id=17330&type=bug
Issue History
2022-07-20 15:02cbernerNew Issue
2022-07-20 15:02cbernerAssigned To => Retail
2022-07-20 15:02cbernerFile Added: wrong behaviour add association query.gif
2022-07-20 15:02cbernerTriggers an Emergency Pack => No
2022-07-20 15:04cbernerRegression level => Production - Confirmed Stable
2022-07-20 15:04cbernerRegression date => 2020-08-10
2022-07-20 15:04cbernerRegression introduced in release => RR20Q3
2022-07-20 15:04cbernerFile Added: correct behaviour add association query.gif
2022-07-21 11:23ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-07-21 11:23ranjith_qualiantech_comStatusnew => scheduled
2022-07-22 08:48hgbotNote Added: 0139530
2022-09-04 08:41hgbotResolutionopen => fixed
2022-09-04 08:41hgbotStatusscheduled => closed
2022-09-04 08:41hgbotFixed in Version => RR22Q4
2022-09-04 08:41hgbotNote Added: 0140640
2022-09-04 08:41hgbotNote Added: 0140641

Notes
(0139530)
hgbot   
2022-07-22 08:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/870 [^]
(0140640)
hgbot   
2022-09-04 08:41   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/870 [^]
(0140641)
hgbot   
2022-09-04 08:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ad62c1ee2b1984d1e2e2904e3be71d0732ab387b
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-09-2022 06:41:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ad62c1ee2b1984d1e2e2904e3be71d0732ab387b [^]

Fixed ISSUE-49858: Updated Association Filter to use boolean value in service product filter

---
M src/org/openbravo/retail/posterminal/AssociateOrderLines.java
---