Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050203 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [POS2] POS | major | have not tried | 2022-09-08 13:51 | 2022-09-20 08:04 | |||
Reporter | ebecerra | View Status | public | |||||
Assigned To | ebecerra | |||||||
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 | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050203: Improve the discount engine to allow to extend it | |||||||
Description | Add a hook that will allow to include custom property in the computable ticket (small version of the ticket used by the discounts engine to calculate discounts) | |||||||
Steps To Reproduce | N/A | |||||||
Proposed Solution | 1. Define a new hooks in discount engine to be able to add properties to the computed ticket (ticket version used by the discount engine to calculate discounts) 2. Create a utily function to generate payload for ticket model. This code now is internal and cannot be used from othr points. Doing an utility function allow us to call to it | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0140890) hgbot (developer) 2022-09-09 09:07 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/918 [^] |
(0140891) hgbot (developer) 2022-09-09 09:08 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/63 [^] |
(0141233) hgbot (developer) 2022-09-20 08:04 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/918 [^] |
(0141234) hgbot (developer) 2022-09-20 08:04 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 7bb9a1627b16ddada083787dfb6477201b27580c Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com> Date: 20-09-2022 06:04:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7bb9a1627b16ddada083787dfb6477201b27580c [^] Fixes ISSUE-50203: Improvement the customization in discounts engine --- M web-test/model/business-object/ticket/TicketUtils.test.js M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CalculateTotalsModelHook.js M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js --- |
(0141235) hgbot (developer) 2022-09-20 08:04 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^] Changeset: 6b61f0cc7c4cd9d58e2db5add2c7ef6fd2af83f3 Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com> Date: 20-09-2022 06:04:50 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/6b61f0cc7c4cd9d58e2db5add2c7ef6fd2af83f3 [^] Related ISSUE-50203: Improvement the customization in discounts engine --- A web-test/model/business-logic/discounts-engine/engine/discount-engine.test.js M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-engine.js --- |
(0141236) hgbot (developer) 2022-09-20 08:04 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/63 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-09-08 13:51 | ebecerra | New Issue | |
2022-09-08 13:51 | ebecerra | Assigned To | => Retail |
2022-09-08 13:51 | ebecerra | OBNetwork customer | => No |
2022-09-08 13:51 | ebecerra | Triggers an Emergency Pack | => No |
2022-09-08 13:51 | ebecerra | Assigned To | Retail => ebecerra |
2022-09-08 13:51 | ebecerra | Status | new => scheduled |
2022-09-09 08:48 | guilleaer | Summary | Improvement the customization in discounts engine => Improve the discount engine to allow to extend it |
2022-09-09 08:48 | guilleaer | Description Updated | View Revisions |
2022-09-09 08:48 | guilleaer | Proposed Solution updated | |
2022-09-09 09:07 | hgbot | Merge Request Status | => open |
2022-09-09 09:07 | hgbot | Note Added: 0140890 | |
2022-09-09 09:08 | hgbot | Note Added: 0140891 | |
2022-09-19 15:03 | hgbot | Merge Request Status | open => approved |
2022-09-20 08:04 | hgbot | Resolution | open => fixed |
2022-09-20 08:04 | hgbot | Status | scheduled => closed |
2022-09-20 08:04 | hgbot | Note Added: 0141233 | |
2022-09-20 08:04 | hgbot | Fixed in Version | => RR22Q4 |
2022-09-20 08:04 | hgbot | Note Added: 0141234 | |
2022-09-20 08:04 | hgbot | Note Added: 0141235 | |
2022-09-20 08:04 | hgbot | Note Added: 0141236 |
Copyright © 2000 - 2009 MantisBT Group |