Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048169 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | minor | N/A | 2021-11-26 14:52 | 2021-11-30 11:20 | |||
Reporter | gorka_gil | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR22Q1 | |||
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 | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048169: scaled discount per total amount | |||||||
Description | The idea is to be able to define a new type of discount per total amount. Like for the “scaled price” promotions, we need to define in a subtab different stages and rewards (can be in amount or percentage) For instance, We could create a new discount with type “scaled discount per total amount” from 01/12/2021 to 31/12/2021. We could define different stages in a new tab : - Amount = 5 , Ticket amount = 50 : Give 5€ discount total if the total of the ticket is equal or higher than 50€ - Amount = 10 , Ticket amount = 80 : Give 10€ discount total if the total of the ticket is equal or higher than 80€ - Amount = 15 , Ticket amount = 100 : Give 15€ discount total if the total of the ticket is equal or higher than 100€ And the same for percentages. | |||||||
Steps To Reproduce | - | |||||||
Tags | NOR | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0133393) hgbot (developer) 2021-11-26 17:35 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal [^] Changeset: 421cfd4907ad07fee5ef72482345466a4be78990 Author: Gorka Gil <gorka.gil@openbravo.com> Date: 2021-11-26T17:34:20+01:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal/-/commit/421cfd4907ad07fee5ef72482345466a4be78990 [^] Fixes ISSUE-48169: Merge branch 'fr/scaledBytotal' --- A src-db/database/model/tables/DISCT_SCALEDBYTOTAL.xml A src-db/database/sourcedata/AD_REFERENCE.xml A src-db/database/sourcedata/AD_REF_LIST.xml A src-test/org/openbravo/discounts/bytotal/test/base/model/ScaledBytotalStep.java A src-test/org/openbravo/discounts/bytotal/test/base/model/definition/ByTotalAmountScaled.java A src-test/org/openbravo/discounts/bytotal/test/base/model/definition/ByTotalPercentageScaled.java A src-test/org/openbravo/discounts/bytotal/test/unittests/DiscountByTotalAmountScaledTest.java A src-test/org/openbravo/discounts/bytotal/test/unittests/DiscountByTotalPercentageScaledTest.java A src/org/openbravo/retail/discounts/bytotal/master/ScaledBytotal.java A src/org/openbravo/retail/discounts/bytotal/master/ScaledBytotalProperties.java A web/org.openbravo.retail.discounts.bytotal/app/model/business-logic/discounts-engine/engine/rules/by-total-discount.js A web/org.openbravo.retail.discounts.bytotal/app/model/masterdata/DiscountFilterScaledBytotalModel.js M src-db/database/model/modifiedTables/M_OFFER.xml M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_ELEMENT.xml M src-db/database/sourcedata/AD_FIELD.xml M src-db/database/sourcedata/AD_TAB.xml M src-db/database/sourcedata/AD_TABLE.xml M src/org/openbravo/retail/discounts/bytotal/ByToTalDiscountsEngineAppComponentProvider.java M src/org/openbravo/retail/discounts/bytotal/ByTotalDataHook.java M src/org/openbravo/retail/discounts/bytotal/DiscTComponentProvider.java M web/org.openbravo.retail.discounts.bytotal/app/model/business-logic/discounts-engine/engine/rules/by-total-amount-discount.js M web/org.openbravo.retail.discounts.bytotal/app/model/business-logic/discounts-engine/engine/rules/by-total-percentage-discount.js M web/org.openbravo.retail.discounts.bytotal/js/bytotal-datahook.js --- |
(0133394) hgbot (developer) 2021-11-26 17:38 |
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^] Changeset: 584fe9bf213a780b45222e97458efd29222e0b88 Author: Gorka Gil <gorka.gil@openbravo.com> Date: 2021-11-26T17:37:16+01:00 URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/584fe9bf213a780b45222e97458efd29222e0b88 [^] Related to ISSUE-48169: Merge branch 'fr/scaledBytotal' --- M referencedata/sampledata/The_White_Valley_Group/M_OFFER.xml --- |
(0133395) hgbot (developer) 2021-11-26 17:39 |
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^] Changeset: 929d6d127a237367c41869876adcc096ecc67407 Author: Gorka Gil <gorka.gil@openbravo.com> Date: 2021-11-26T17:38:56+01:00 URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/929d6d127a237367c41869876adcc096ecc67407 [^] Related to ISSUE-48169: Merge branch 'fr/scaledBytotal' --- M referencedata/sampledata/Retail_Test/M_OFFER.xml --- |
(0133396) gorka_gil (administrator) 2021-11-26 17:40 |
MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal/-/merge_requests/11 [^] https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/16 [^] https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/12 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-11-26 14:52 | gorka_gil | New Issue | |
2021-11-26 14:52 | gorka_gil | Assigned To | => gorka_gil |
2021-11-26 14:52 | gorka_gil | OBNetwork customer | => No |
2021-11-26 14:52 | gorka_gil | Triggers an Emergency Pack | => No |
2021-11-26 17:35 | hgbot | Resolution | open => fixed |
2021-11-26 17:35 | hgbot | Status | new => resolved |
2021-11-26 17:35 | hgbot | Note Added: 0133393 | |
2021-11-26 17:38 | hgbot | Note Added: 0133394 | |
2021-11-26 17:39 | hgbot | Note Added: 0133395 | |
2021-11-26 17:40 | gorka_gil | Note Added: 0133396 | |
2021-11-26 17:41 | gorka_gil | Review Assigned To | => marvintm |
2021-11-26 17:41 | gorka_gil | Status | resolved => closed |
2021-11-26 17:41 | gorka_gil | Fixed in Version | => RR22Q1 |
2021-11-30 11:20 | sebastien_liron | Tag Attached: NOR |
Copyright © 2000 - 2009 MantisBT Group |