Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053965
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2023-11-16 14:352025-03-27 12:10
ReporteraaroncaleroView Statuspublic 
Assigned Toguilleaer 
PriorityhighResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusopen
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053965: [External Discounts] Discount amount reset when converting a quotation into a ticket

DescriptionWhen 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 ReproduceIn 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€
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0053653 closedRajesh_18 The ExtraProperties entity is not correctly updated in the response call after a quotation has been transformed into a order 

-  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 [^]
(0177479)
hgbot (developer)
2025-03-27 12:10

Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24212 [^]

- 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 OBNetwork customer => No
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 Merge Request Status => open
2023-12-15 07:51 hgbot Note Added: 0158246
2025-02-02 06:35 guillermogil Assigned To Rajesh_18 => guilleaer
2025-03-27 12:10 hgbot Note Added: 0177479
2025-03-27 12:10 hgbot Status scheduled => closed
2025-03-27 12:10 hgbot Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker