Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0053965 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Discounts and Promotions | major | always | 2023-11-16 14:35 | 2023-12-15 07:51 | |||||||
Reporter | aaroncalero | View Status | public | |||||||||
Assigned To | Rajesh_18 | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | 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 | ||||||||||||
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€ | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0158246) hgbot (developer) 2023-12-15 07:51 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.discounts/-/merge_requests/8 [^] |
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 |
Copyright © 2000 - 2009 MantisBT Group |