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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049073
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Discounts and Promotionsmajorhave not tried2022-04-19 10:102022-09-02 13:30
ReporterAugustoMauchView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix 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
Summary

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
(0136625)
hgbot (developer)
2022-04-20 12:13

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/53 [^]
(0137574)
hgbot (developer)
2022-05-20 12:48

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: b151b08cca361248228e5d7593573db4a6a0b34c
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 20-05-2022 12:46:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/b151b08cca361248228e5d7593573db4a6a0b34c [^]

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/ExternalBusinessPartner.java
M src-test/org/openbravo/retail/discounts/test/base/model/DiscountsTestModelObject.java
M src-test/org/openbravo/retail/discounts/test/base/model/Ticket.java
M src/org/openbravo/retail/discounts/DiscountDataHookSelector.java
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
---
(0137575)
hgbot (developer)
2022-05-20 12:48

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/53 [^]

- 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
2022-09-02 13:30 AugustoMauch Status scheduled => resolved
2022-09-02 13:30 AugustoMauch Resolution open => fixed
2022-09-02 13:30 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker