Openbravo Issue Tracking System - POS2
View Issue Details
0057882POS2Fashionpublic2025-02-06 09:372025-03-13 14:07
philippe_mui 
ranjith_qualiantech_com 
highminoralways
closedfixed 
5
 
25Q2 
approved
Gold
No
0057882: RM-19264 [PROMO] - Display for Product with discount KO
We face a display issue on a promotion item that has the Printable price option set to List Price + Discount Percentage or UnitPrice/NetPrice. The POS is always showing the List Price + Discount Amount no matter the configuration

Expected behavior :
A. To have only the net price for Net price for Webpos UI, Templates and Product Labels
B. To have the discounted percentage with the promotion name for List price + Discount percentage for Webpos UI, Templates and Product Labels


See video : https://drive.google.com/file/d/1nzzTs1nacl26MALN6LPLTiHvpt_rEIYV/view?usp=sharing [^]

https://openbravo.atlassian.net/browse/RM-19264 [^]
A. Net price
1. Log in BO and Create a promotion associated to a Product in Discount and Promotion window
2. In Product window, Price tab > Select ‘UnitPrice or NetPrice’ as For templates and WebPOS UI for this Product

In the WebPOS when selecting the product with promotion, we have the discount bubble detail : KO

=> Expected result with UnitPrice/net price : only the final price


B. List Price + Discount Percentage
1. Log in BO and Create a promotion associated to a Product in Discount and Promotion window
2. In Product window, Price tab > Select ‘List price + Discount percentage’ as For templates and WebPOS UI for this Product

In the WebPOS when selecting the product with promotion, the amount is displayed in the bubble instead of the percentage : KO

=> Expected result with ‘List price + Discount percentage’ : Crossed list price, Discount bubble with the discount percentage, final price

This should also be applied for Webpos UI, Templates and Product Labels
FASH
Issue History
2025-02-06 09:37philippe_muiNew Issue
2025-02-06 09:37philippe_muiAssigned To => Retail
2025-02-06 09:37philippe_muiOBNetwork customer => Gold
2025-02-06 09:37philippe_muiTriggers an Emergency Pack => No
2025-02-06 09:37philippe_muiTag Attached: FASH
2025-02-06 11:51guillermogilAssigned ToRetail => migueldejuana
2025-02-06 11:51guillermogilSeveritymajor => minor
2025-02-06 12:48migueldejuanaAssigned Tomigueldejuana => guilleaer
2025-02-11 23:45guilleaerStatusnew => acknowledged
2025-02-12 07:57ranjith_qualiantech_comAssigned Toguilleaer => ranjith_qualiantech_com
2025-02-12 10:22guilleaerStatusacknowledged => scheduled
2025-02-14 06:46hgbotMerge Request Status => open
2025-02-14 06:46hgbotNote Added: 0175639
2025-02-14 06:46hgbotNote Added: 0175640
2025-03-13 14:06hgbotMerge Request Statusopen => approved
2025-03-13 14:07hgbotResolutionopen => fixed
2025-03-13 14:07hgbotStatusscheduled => closed
2025-03-13 14:07hgbotFixed in Version => 25Q2
2025-03-13 14:07hgbotNote Added: 0176793
2025-03-13 14:07hgbotNote Added: 0176794
2025-03-13 14:07hgbotNote Added: 0176795
2025-03-13 14:07hgbotNote Added: 0176796

Notes
(0175639)
hgbot   
2025-02-14 06:46   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/155 [^]
(0175640)
hgbot   
2025-02-14 06:46   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3502 [^]
(0176793)
hgbot   
2025-03-13 14:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 581148b30c5640e6524457051741fd71268ef4ea
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 13-03-2025 13:07:09
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/581148b30c5640e6524457051741fd71268ef4ea [^]

Fixed ISSUE-57882: Discount info should not be hidden when price has UnitPrice

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLineDiscount/TicketLineDiscount.jsx
---
(0176794)
hgbot   
2025-03-13 14:07   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3502 [^]
(0176795)
hgbot   
2025-03-13 14:07   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^]
Changeset: d04779740c0c5b163f9097abe12588f44c817476
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 13-03-2025 13:07:13
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/d04779740c0c5b163f9097abe12588f44c817476 [^]

Related to ISSUE-57882: Discount info should not be hidden when price has UnitPrice

---
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/Ticket/SCOTicketView/SCOTicketLines/SCOTicketLine/SCOProductInfoContainer/SCOTicketLineDiscounts/SCOTicketLineDiscounts.jsx
---
(0176796)
hgbot   
2025-03-13 14:07   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/155 [^]