Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049073 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Discounts and Promotions | major | have not tried | 2022-04-19 10:10 | 2022-09-02 13:30 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | 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 | 0049073: Create new hook in discount engine to filter out discounts programatically, using ticket information | |||||||
Description | A 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 | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 [^] |
![]() |
|||
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 |