Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049427Retail ModulesWeb POSpublic2022-05-27 10:022022-09-04 08:40
cberner 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR22Q4 
Production - Confirmed Stable
2020-09-01
RR20Q4
No
0049427: Removing a product with services associated, removes the service from the ticket instead of removing the association
If two products have the same service associated in the ticket, when removing one of them, it should remove the association of that product to the service. Instead, right now it removes the entire service from the ticket.

This is a regression introduced between 20Q3 and 21Q1.

Two gifs have been attached one shows the current behaviour, and the other, the expected behaviour(this was taken from 20Q3).
1. Open and login to WebPOS
2. Add two GPS Handheld(product with services)
3. Click on the Service configuration button on one GPS and add an "Installation Pack" service
4. Do the same for the other GPS Handheld ticket line
4.1 After doing this, in the ticket there should be a ticketline "Installation Pack" with two products associated to it, two lines like so "for GPS Handheld".
5. Remove any of the two GPS Handheld from the ticket, by clicking on it and then clicking on delete line

See that the "Installation Pack" service is also removed, instead of only removing the association to that GPS handheld product.
No tags attached.
gif ticketServiceRemovedIncorrectly.gif (1,027,206) 2022-05-27 10:02
https://issues.openbravo.com/file_download.php?file_id=17070&type=bug
gif correctBehaviourServicesProductRemove.gif (1,086,426) 2022-05-27 10:04
https://issues.openbravo.com/file_download.php?file_id=17071&type=bug
Issue History
2022-05-27 10:02cbernerNew Issue
2022-05-27 10:02cbernerAssigned To => Retail
2022-05-27 10:02cbernerFile Added: ticketServiceRemovedIncorrectly.gif
2022-05-27 10:02cbernerRegression level => Production - Confirmed Stable
2022-05-27 10:02cbernerRegression date => 2020-09-01
2022-05-27 10:02cbernerRegression introduced in release => RR20Q4
2022-05-27 10:02cbernerTriggers an Emergency Pack => No
2022-05-27 10:02cbernerDescription Updatedbug_revision_view_page.php?rev_id=24171#r24171
2022-05-27 10:04cbernerFile Added: correctBehaviourServicesProductRemove.gif
2022-05-30 12:27cbernerDescription Updatedbug_revision_view_page.php?rev_id=24191#r24191
2022-07-08 09:01ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-07-08 09:01ranjith_qualiantech_comStatusnew => scheduled
2022-07-12 08:57hgbotNote Added: 0139259
2022-09-04 08:40hgbotResolutionopen => fixed
2022-09-04 08:40hgbotStatusscheduled => closed
2022-09-04 08:40hgbotFixed in Version => RR22Q4
2022-09-04 08:40hgbotNote Added: 0140638
2022-09-04 08:40hgbotNote Added: 0140639

Notes
(0139259)
hgbot   
2022-07-12 08:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/854 [^]
(0140638)
hgbot   
2022-09-04 08:40   
Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-49427: Added condition when deleting the receipt line
* When deleting the receipt line, ServiceRelation should be removed in service lines

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
---
(0140639)
hgbot   
2022-09-04 08:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/854 [^]