Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Discounts and Promotionsmajorhave not tried2022-04-19 10:102022-05-20 12:48
ReporterAugustoMauchView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0049073: Create new hook in discount engine to filter out discounts programatically, using ticket information

DescriptionA new hook should be added to discount engine to allow filtering out discounts with the ticket information. This allows to extend the engine with several filters from different modules.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2022-04-20 12:13

Merge Request created: [^]
hgbot (developer)
2022-05-20 12:48

Repository: [^]
Changeset: b151b08cca361248228e5d7593573db4a6a0b34c
Author: Cristian Berner <>
Date: 20-05-2022 12:46:48
URL: [^]

Related to FR-49073: Merge branch 'fr/49073-hook-discounts'

Create a new hook to allow introducing different rules to filter out if
a discount should be applied to the current ticket or not. This adds
isApplicableToTicket hooks to the main discount engine and a way to
register them in other modules.

A src-test/org/openbravo/retail/discounts/test/base/model/
M src-test/org/openbravo/retail/discounts/test/base/model/
M src-test/org/openbravo/retail/discounts/test/base/model/
M src/org/openbravo/retail/discounts/
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-engine.js
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
hgbot (developer)
2022-05-20 12:48

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2022-04-19 10:10 AugustoMauch New Issue
2022-04-19 10:10 AugustoMauch Assigned To => cberner
2022-04-19 10:10 AugustoMauch Triggers an Emergency Pack => No
2022-04-19 13:16 AugustoMauch Status new => scheduled
2022-04-19 17:50 cberner Description Updated View Revisions
2022-04-20 12:13 hgbot Note Added: 0136625
2022-05-20 12:48 hgbot Note Added: 0137574
2022-05-20 12:48 hgbot Note Added: 0137575

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker