Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0053965 | Retail Modules | Discounts and Promotions | public | 2023-11-16 14:35 | 2023-12-15 07:51 | |||||||
Reporter | aaroncalero | |||||||||||
Assigned To | Rajesh_18 | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | scheduled | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0053965: [External Discounts] Discount amount reset when converting a quotation into a ticket | |||||||||||
Description | When the External Discounts Engine is configured, and a quotation is created in WebPOS, if the quotation includes discounts from the external system and this quotation is converted into a ticket, the amounts of the discounts are returned to the initial value of the dummy discount used as template. This issue is only visible after the fix of 0053653, which fixes the issue of discounts being removed after converting a quotation into a ticket. | |||||||||||
Steps To Reproduce | In a modules environment (or pos2-modules). In backoffice, configure the following: * Organization window: Vall Blanca Store record, check "Use External Discounts Engine" and configure disc_fixed_5_euro as the discount to be used. * External System window: Define a new record with protocol = 'Javascript - Frontend' and JS Class Name OB.CDISCTEST.DiscountsEngineSimulator?mode=test defined in its subtab * Events Subscription window: Define a new record with event = "Event Discounts Provider" and the external system defined previously. Steps: Log in terminal VBS-1 Go to the menu > Create Quotation Add two products and complete the quotation. => The external discounts call will be triggered and several discounts with different amounts will be added to the quotation Go to the menu > Create Sales Order On the "Firm quotation" popup click on Create Sales Order Verify that all discounts have been reverted to 5€ | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-11-16 14:35 | aaroncalero | New Issue | ||||||||||
2023-11-16 14:35 | aaroncalero | Assigned To | => Retail | |||||||||
2023-11-16 14:35 | aaroncalero | Triggers an Emergency Pack | => No | |||||||||
2023-11-16 14:35 | aaroncalero | Relationship added | related to 0053653 | |||||||||
2023-12-14 11:17 | Rajesh_18 | Assigned To | Retail => Rajesh_18 | |||||||||
2023-12-14 11:18 | Rajesh_18 | Status | new => scheduled | |||||||||
2023-12-15 07:51 | hgbot | Note Added: 0158246 |
Notes | |||||
|
|||||
|
|