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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050203
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] POSmajorhave not tried2022-09-08 13:512022-09-20 08:04
ReporterebecerraView Statuspublic 
Assigned Toebecerra 
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

0050203: Improve the discount engine to allow to extend it

DescriptionAdd 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 ReproduceN/A
Proposed Solution1. 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- Issue History
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 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 Note Added: 0140890
2022-09-09 09:08 hgbot Note Added: 0140891
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
Powered by Mantis Bugtracker