Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056692 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | minor | always | 2024-10-08 14:17 | 2025-01-10 09:06 | |||
Reporter | dorian_robillard | View Status | public | |||||
Assigned To | Bimla_vm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 25Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | Pre packaging ( pi ) | |||||||
Regression date | 2025-01-09 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/5ee26b1ddfe51fc5f8da2d8d4c23ab0410678d1c [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056692: VIP price : ‘display discount in order line when not apply’ is not working in POS | |||||||
Description | When the ‘display discount in order line when not apply’ field is ticked in the BO, the ‘lack’ of promotion does not appear on the ticket line on the POS, unlike the ‘display discount in order total when not apply’ field, which is correctly applied on the POS | |||||||
Steps To Reproduce | Create a promotion "Price adjustment" set "price adjustment for all products" Percentage 20% Min 3 Boolean"‘display discount in order line when not apply’ selected Boolean"‘display discount in order total when not apply’ selected In pos Add one product --> the display is not done at line level | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
|
![]() |
|
(0172850) hgbot (developer) 2024-12-02 06:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3185 [^] |
(0172851) hgbot (developer) 2024-12-02 06:50 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/159 [^] |
(0173951) hgbot (developer) 2025-01-09 15:40 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/159 [^] |
(0173962) hgbot (developer) 2025-01-09 18:00 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: b4b26e3fd05f183bfc74c795d45cd31b6947407a Author: Bimla V Mayavan <b.mayavan@external.orisha.com> Date: 09-01-2025 17:00:40 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b4b26e3fd05f183bfc74c795d45cd31b6947407a [^] Fixed ISSUE-56692: fix discounts visibility - ticket line: send productId instead id - overwrite getDiscountValues and calculateShortLabel since they called inside the main method, and needs the discount from cache, instead the discount that returns the main method of discounts visibility - use formatCurrency instead OB.I18N.formatCurrency, to have the currency symbol - adapt tests --- M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLineDiscount/TicketLineDiscount.jsx M web-jspack/org.openbravo.pos2/src/core/discount/__test__/registerDiscountVisibilityPosFunctions.test.js M web-jspack/org.openbravo.pos2/src/core/discount/registerDiscountVisibilityPosFunctions.js --- |
(0173963) hgbot (developer) 2025-01-09 18:00 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3185 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2024-10-08 14:17 | dorian_robillard | New Issue | |
2024-10-08 14:17 | dorian_robillard | Assigned To | => Retail |
2024-10-08 14:17 | dorian_robillard | File Added: Capture d’écran 2024-10-08 141444.png | |
2024-10-08 14:17 | dorian_robillard | Triggers an Emergency Pack | => No |
2024-10-08 14:18 | dorian_robillard | File Added: Capture d’écran 2024-10-08 141828.png | |
2024-11-08 08:38 | guilleaer | Assigned To | Retail => guilleaer |
2024-11-08 08:38 | guilleaer | Status | new => acknowledged |
2024-11-08 09:38 | Bimla_vm | Assigned To | guilleaer => Bimla_vm |
2024-11-08 09:38 | Bimla_vm | Status | acknowledged => scheduled |
2024-11-11 09:56 | gorka_gil | Relationship added | related to 0056937 |
2024-12-02 06:49 | hgbot | Note Added: 0172850 | |
2024-12-02 06:50 | hgbot | Note Added: 0172851 | |
2024-12-18 15:15 | guillermogil | Relationship added | related to 0057397 |
2025-01-09 07:46 | Bimla_vm | Regression level | => Pre packaging ( pi ) |
2025-01-09 07:46 | Bimla_vm | Regression date | => 2025-01-09 |
2025-01-09 07:46 | Bimla_vm | Regression introduced in release | => pi |
2025-01-09 07:46 | Bimla_vm | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/5ee26b1ddfe51fc5f8da2d8d4c23ab0410678d1c [^] |
2025-01-09 15:40 | hgbot | Note Added: 0173951 | |
2025-01-09 15:45 | guillermogil | Status | scheduled => acknowledged |
2025-01-09 15:46 | guillermogil | Status | acknowledged => scheduled |
2025-01-09 18:00 | hgbot | Resolution | open => fixed |
2025-01-09 18:00 | hgbot | Status | scheduled => closed |
2025-01-09 18:00 | hgbot | Fixed in Version | => 25Q2 |
2025-01-09 18:00 | hgbot | Note Added: 0173962 | |
2025-01-09 18:00 | hgbot | Note Added: 0173963 | |
2025-01-10 09:06 | gorka_gil | Relationship added | caused by 0055872 |
2025-01-21 12:56 | gorka_gil | Relationship added | has duplicate 0057446 |
Copyright © 2000 - 2009 MantisBT Group |