Openbravo Issue Tracking System - POS2
View Issue Details
0056005POS2Fashionpublic2024-07-15 09:362024-08-26 07:57
philippe_mui 
Rajesh_18 
urgentmajoralways
closedfixed 
5
 
 
No
0056005: RM-15551 Print Labels of Overlapping price exceptions appear in double/triple and search by scan is KO
In POS, when a user wants to print a product that has 2 or more price excpetions overlapping on a same date, the price displayed is wrong and an error message appears when it is scanned.

Expected results :
1. the last price exception created should be taken into account and this one only should be displayed on POS
2. when scanning the product with price exception, the user should not have an error message

https://openbravo.atlassian.net/browse/RM-15551 [^]
1. Log in BO and go to Product window
2. Choose product P and create a Price exception on it with Unit price = 250€, List Price = 250€ starting on 15/07/2024 and no end date
3. Go to Commercial Operation window and create an opecom with Product P with Unit Price = 175€ from 16/07/2024 to 20/07/2024
4. Create a 2nd opecom with Product P with Unit Price = 150€ from 18/07/2024 to 20/07/2024
5. Log in POS and go to Print label screen
6. Select the overlapped date 19/07/2024, select the template and click on next
7. Scan Product P

Current result : An error message appear as there are 3 price exceptions conflicting

Expected result : Scan is successful as it takes the last created price expection created in step 4.

8. type the name of Product P and search

Current result : 3 results appear for Product P and when ticking one of them, all 3 are selected

Expected result : Only 1 result appears for Product P and it is the price expection lastly created in step 4. that is taken into account


See video : https://drive.google.com/file/d/1ZVhmroRq3N_IweQcksxhnGaQmTqZ9L-_/view?usp=drive_link [^]
No tags attached.
has duplicate defect 0056085 closed Retail RM-15551 Print Labels of Overlapping price exceptions appear in double/triple and search by scan is KO 
Issue History
2024-07-15 09:36philippe_muiNew Issue
2024-07-15 09:36philippe_muiAssigned To => Retail
2024-07-15 09:36philippe_muiTriggers an Emergency Pack => No
2024-07-16 11:46guilleaerStatusnew => acknowledged
2024-07-16 11:47Rajesh_18Assigned ToRetail => Rajesh_18
2024-07-16 11:47Rajesh_18Statusacknowledged => scheduled
2024-07-17 06:43hgbotNote Added: 0167038
2024-07-23 07:00Rajesh_18Relationship addedhas duplicate 0056085
2024-07-24 10:14philippe_muiSummaryPrint Labels of Overlapping price exceptions appear in double/triple and search by scan is KO => RM-15551 Print Labels of Overlapping price exceptions appear in double/triple and search by scan is KO
2024-07-24 10:14philippe_muiDescription Updatedbug_revision_view_page.php?rev_id=28281#r28281
2024-08-26 07:57hgbotResolutionopen => fixed
2024-08-26 07:57hgbotStatusscheduled => closed
2024-08-26 07:57hgbotNote Added: 0168425
2024-08-26 07:57hgbotNote Added: 0168426
2024-08-26 07:57marvintmNote Added: 0168427

Notes
(0167038)
hgbot   
2024-07-17 06:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/71 [^]
(0168425)
hgbot   
2024-08-26 07:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing [^]
Changeset: 705b62f52922041b96ab51e21f57a388737e8d11
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 26-08-2024 05:56:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/commit/705b62f52922041b96ab51e21f57a388737e8d11 [^]

Fixed ISSUE-56005: Added condition while fetching product with price exceptions

---
M src/org/openbravo/pos2/product/label/printing/master/ProductExtension.java
---
(0168426)
hgbot   
2024-08-26 07:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/71 [^]
(0168427)
marvintm   
2024-08-26 07:57   
Confirmed that the added subquery part is the same that already exists in Product.java