Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0055932 | Retail Modules | Discounts and Promotions | public | 2024-07-05 16:39 | 2024-08-23 09:21 |
|
Reporter | rqueralta | |
Assigned To | rqueralta | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0055932: Improvements for Scaled Price type of discount |
Description | Several customers, among all of Intersport, have asked several times to extend the functionality of one of the Discounts Openbravo has in the standard.
This type of discount can be defined discounts just in percentage but it needed to also defined by:
Fixed Price
Amount discount
This other way to define the discount is in other types of discounts such as Price Adjustment.
|
Steps To Reproduce | User Story 1: Define the discount as Fixed Price.
As a manager I want to define a fixed price in the condition instead of a percentage in order to apply a specific discount/price on the product when it is selling.
User Story 2: Approval to allow the discount to apply
As a manager I want to define a fixed amount discount in the condition instead of a percentage in order to apply a specific amount discount on the product when it is selling.
The current logic of this type of discount does not change in the sense of applying or selecting the products defined.
What it only changes is the discount to be applied. Right now it is only calculating the discount based on a percentage. And after this development needs to apply the discount based on three possible different scenarios/discounts.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-07-05 16:39 | rqueralta | New Issue | |
2024-07-05 16:39 | rqueralta | Assigned To | => Retail |
2024-07-05 16:39 | rqueralta | Triggers an Emergency Pack | => No |
2024-07-05 16:39 | rqueralta | Assigned To | Retail => rqueralta |
2024-07-05 16:40 | rqueralta | Status | new => scheduled |
2024-07-17 15:40 | hgbot | Note Added: 0167071 | |
2024-08-22 11:48 | hgbot | Note Added: 0168356 | |
2024-08-22 11:48 | hgbot | Note Added: 0168357 | |
2024-08-22 11:48 | hgbot | Resolution | open => fixed |
2024-08-22 11:48 | hgbot | Status | scheduled => closed |
2024-08-22 11:48 | hgbot | Note Added: 0168358 | |
2024-08-22 11:48 | hgbot | Note Added: 0168359 | |
2024-08-22 11:48 | hgbot | Note Added: 0168360 | |
2024-08-22 11:48 | hgbot | Note Added: 0168361 | |
2024-08-22 11:48 | hgbot | Note Added: 0168362 | |
2024-08-22 11:48 | hgbot | Note Added: 0168363 | |
2024-08-22 11:48 | hgbot | Note Added: 0168364 | |
2024-08-22 11:48 | hgbot | Note Added: 0168365 | |
2024-08-22 11:48 | hgbot | Note Added: 0168366 | |
2024-08-22 11:48 | hgbot | Note Added: 0168367 | |
2024-08-23 09:21 | hgbot | Note Added: 0168389 | |
Notes |
|
(0167071)
|
hgbot
|
2024-07-17 15:40
|
|
|
|
(0168356)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168357)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168358)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168359)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168360)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168361)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168362)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168363)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168364)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168365)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168366)
|
hgbot
|
2024-08-22 11:48
|
|
|
|
(0168367)
|
hgbot
|
2024-08-22 11:48
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.scaledprice [^]
Changeset: e68d27c251c58e2ee91227bb172f4b067af1756b
Author: Inigo Fernandez <inigo.fernandez@openbravo.com>
Date: 22-08-2024 11:46:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.scaledprice/-/commit/e68d27c251c58e2ee91227bb172f4b067af1756b [^]
Fixes ISSUE-55932: Improvements for Scaled Price type of discount
---
A src-test/org/openbravo/discounts/scaledprice/test/unittests/DiscountScaledPriceByAmountTest.java
A src-test/org/openbravo/discounts/scaledprice/test/unittests/DiscountScaledPriceByFixedPriceTest.java
A src-test/org/openbravo/discounts/scaledprice/test/unittests/DiscountScaledPriceByPercentTest.java
M src-db/database/model/tables/OBDSCAL_SCALE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-test/org/openbravo/discounts/scaledprice/test/base/model/PriceScale.java
M src-test/org/openbravo/discounts/scaledprice/test/base/model/definition/ScaledPrice.java
M src-test/org/openbravo/discounts/scaledprice/test/unittests/DiscountsUnitTestSuite.java
M src/org/openbravo/retail/discounts/scaledprice/ScaledPriceProperties.java
M web/org.openbravo.retail.discounts.scaledprice/app/model/business-logic/discounts-engine/engine/rules/scaled-price-discount.js
---
|
|
|
(0168389)
|
hgbot
|
2024-08-23 09:21
|
|
|