Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0050706 | Retail Modules | Web POS | public | 2022-11-02 14:15 | 2023-02-17 11:24 |
|
Reporter | noemieroussel | |
Assigned To | prakashmurugesan88 | |
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR23Q2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | Gold |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0050706: [PROMO] - Product category and Characteristics KO in "Buy X and get Y as a gift" promotion |
Description | In "Buy X and get Y as a gift" promotion type, the filter "Product category" and "Characteristics" are not taken into account.
ggi:
Filter the discounts by product category with buyxgifty has a design defect. Since the gift product needs to be added to product tab, but in the combo is selected all products except defined, since we are filtering by product category.
The solution should be defined by product management team (maybe move the gift products to a new tab like in free products per total amount) |
Steps To Reproduce | 1. Go to the Backoffice.
2. Create a promotion "Buy X and get Y as a gift" with those parameters:
Filters:
-Product category=Only those defined
Product category subtab (X):
-in the product category subtab, add "Mountains"
Characteristics subtab :
-in the characteristics subtab, add "Color"="Blue"
Product subtab (Y):
-in the product subtab, add "Bottle 1L", tick the checkbox "Gift product", add quantity =1
Definition:
-"Buy Any X Gift Any Y"
-X unit=2
-Min Y Units=0 ; Max Y Units=1
POS Configuration:
-Gift reminder notification checked
-Application method: Automatic
In the WebPOS, add 2 products from the Mountain category filtered by color=Blue, and see that the promotion do not appears. |
Proposed Solution | |
Additional Information | |
Tags | FASH |
Relationships | has duplicate | defect | 0050771 | | closed | radhakrishnan | Retail Modules | Promo type "Buy X and get Y as gift" isn't trigger on characteristics value | related to | defect | 0051684 | | closed | Retail | Retail Modules | Accumulating several filters for Promo type Buy X Get Y | related to | defect | 0051897 | | closed | Retail | Retail Modules | [Promo] - Buy X Get Y - Promotion KO when product categories and / or product characteristics selected in the filters | causes | defect | 0052762 | | closed | ranjith_qualiantech_com | Openbravo ERP | Problem with 'Product' tab in 'Discounts and promotions' window in a customer without retail |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-11-02 14:15 | noemieroussel | New Issue | |
2022-11-02 14:15 | noemieroussel | Assigned To | => Retail |
2022-11-02 14:15 | noemieroussel | OBNetwork customer | => Gold |
2022-11-02 14:15 | noemieroussel | Triggers an Emergency Pack | => No |
2022-11-02 14:15 | noemieroussel | Tag Attached: FASH | |
2022-11-02 14:25 | gorka_gil | Category | Discounts and Promotions => Web POS |
2022-11-02 14:25 | gorka_gil | Type | defect => design defect |
2022-11-02 14:25 | gorka_gil | Proposed Solution updated | |
2022-11-02 14:29 | noemieroussel | OBNetwork customer | Gold => No |
2022-11-23 10:19 | noemieroussel | Summary | [PROMO] - Product category KO in "Buy X and get Y as a gift" promotion => [PROMO] - Product category and Characteristics KO in "Buy X and get Y as a gift" promotion |
2022-11-23 10:19 | noemieroussel | Description Updated | bug_revision_view_page.php?rev_id=25160#r25160 |
2022-11-23 10:19 | noemieroussel | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25162#r25162 |
2022-11-23 11:02 | rafaroda | OBNetwork customer | No => Gold |
2022-11-23 11:02 | rafaroda | Priority | normal => urgent |
2022-11-30 10:13 | rafaroda | Relationship added | related to 0050771 |
2022-11-30 13:55 | gorka_gil | Description Updated | bug_revision_view_page.php?rev_id=25192#r25192 |
2022-11-30 13:55 | gorka_gil | Proposed Solution updated | |
2022-11-30 13:57 | gorka_gil | Relationship replaced | has duplicate 0050771 |
2023-01-20 07:14 | prakashmurugesan88 | Assigned To | Retail => prakashmurugesan88 |
2023-01-20 07:14 | prakashmurugesan88 | Status | new => scheduled |
2023-02-10 06:49 | hgbot | Merge Request Status | => open |
2023-02-10 06:49 | hgbot | Note Added: 0146349 | |
2023-02-10 06:52 | hgbot | Note Added: 0146350 | |
2023-02-10 06:57 | hgbot | Note Added: 0146351 | |
2023-02-15 16:56 | hgbot | Merge Request Status | open => approved |
2023-02-16 13:47 | hgbot | Note Added: 0146640 | |
2023-02-16 13:47 | hgbot | Note Added: 0146641 | |
2023-02-16 13:47 | hgbot | Note Added: 0146642 | |
2023-02-16 13:47 | hgbot | Note Added: 0146643 | |
2023-02-16 13:47 | hgbot | Resolution | open => fixed |
2023-02-16 13:47 | hgbot | Status | scheduled => closed |
2023-02-16 13:47 | hgbot | Fixed in Version | => RR23Q2 |
2023-02-16 13:47 | hgbot | Note Added: 0146644 | |
2023-02-16 13:47 | hgbot | Note Added: 0146645 | |
2023-02-16 13:47 | hgbot | Note Added: 0146646 | |
2023-02-16 13:47 | hgbot | Note Added: 0146647 | |
2023-02-16 13:48 | hgbot | Note Added: 0146648 | |
2023-02-16 13:48 | hgbot | Note Added: 0146649 | |
2023-02-16 13:48 | hgbot | Note Added: 0146650 | |
2023-02-16 13:48 | hgbot | Note Added: 0146651 | |
2023-02-16 14:04 | hgbot | Note Added: 0146652 | |
2023-02-16 17:34 | hgbot | Note Added: 0146663 | |
2023-02-17 11:24 | hgbot | Note Added: 0146690 | |
2023-02-23 17:17 | rafaroda | Relationship added | related to 0051684 |
2023-03-20 11:12 | rafaroda | Relationship added | related to 0051897 |
2023-07-05 09:09 | rafaroda | Relationship added | causes 0052762 |
Notes |
|
(0146349)
|
hgbot
|
2023-02-10 06:49
|
|
|
|
(0146350)
|
hgbot
|
2023-02-10 06:52
|
|
|
|
(0146351)
|
hgbot
|
2023-02-10 06:57
|
|
|
|
(0146640)
|
hgbot
|
2023-02-16 13:47
|
|
|
|
(0146641)
|
hgbot
|
2023-02-16 13:47
|
|
|
|
(0146642)
|
hgbot
|
2023-02-16 13:47
|
|
|
|
(0146643)
|
hgbot
|
2023-02-16 13:47
|
|
|
|
(0146646)
|
hgbot
|
2023-02-16 13:47
|
|
|
|
(0146647)
|
hgbot
|
2023-02-16 13:47
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 624e6ffeb9f827ef5f3ce58b3fdc7b8bb5ada8e3
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 16-02-2023 13:47:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/624e6ffeb9f827ef5f3ce58b3fdc7b8bb5ada8e3 [^]
Fixed ISSUE-50706: Merged branch fix/50706
---
A src-db/database/model/modifiedTables/M_OFFER_CHARACTERISTIC.xml
A src-db/database/model/modifiedTables/M_OFFER_PROD_CAT.xml
A src/org/openbravo/retail/discounts/event/MOfferCharacteristicsEventHandler.java
A src/org/openbravo/retail/discounts/event/MOfferProductCtgryEventHandler.java
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_MESSAGE.xml
M src-test/org/openbravo/retail/discounts/test/base/model/OfferCharacteristic.java
M src-test/org/openbravo/retail/discounts/test/base/model/ProductCategory.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountBuyAllXGiftAllYTest.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountBuyAllXGiftAnyYTest.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountBuyAnyXGiftAllYTest.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountBuyAnyXGiftAnyYTest.java
M src/org/openbravo/retail/discounts/event/MOfferEventHandler.java
M src/org/openbravo/retail/discounts/event/MOfferProductEventHandler.java
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/rules/buy-x-gift-y-discount.js
---
|
|
|
(0146645)
|
hgbot
|
2023-02-16 13:47
|
|
|
|
(0146644)
|
hgbot
|
2023-02-16 13:47
|
|
|
|
(0146648)
|
hgbot
|
2023-02-16 13:48
|
|
|
|
(0146649)
|
hgbot
|
2023-02-16 13:48
|
|
|
|
(0146650)
|
hgbot
|
2023-02-16 13:48
|
|
|
|
(0146651)
|
hgbot
|
2023-02-16 13:48
|
|
|
|
(0146652)
|
hgbot
|
2023-02-16 14:04
|
|
|
|
(0146663)
|
hgbot
|
2023-02-16 17:34
|
|
|
|
(0146690)
|
hgbot
|
2023-02-17 11:24
|
|
|