Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0047572 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2021-08-19 14:53 | 2021-11-03 07:25 | |||
Reporter | Sergio_Gomez | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
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 | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0047572: Discounts which include or exclude certain characteristic values are not working properly | |||||||
Description | "All of the values defined" doesn't work like in the definition: http://wiki.openbravo.com/wiki/Retail:Discounts_and_Promotions_Rules#Discounts_which_include_or_exclude_certain_characteristic_values [^] If Included Characteristics as “All of the values defined”, where discount should apply if ALL the characteristics are present in the product but it is never applied. If Excluded Characteristics as “All of the values defined”, where only if ALL the characteristics are present in the product the discount should not be applied, but if one of the values is present in the product then the discount is not applied (works like Any of the ones defined). "Any of the ones defined" works fine in both cases. | |||||||
Steps To Reproduce | In https://livebuilds.openbravo.com/retail_mp_3.0RR21Q3 [^] In the Product window set a test product (with "Is Generic" selected) and in the Price tab set a price. In the Characteristics tab set two characteristics for the product (such as Diameter and Dynafit System, with "Variant" selected). Press the "Manage Variants" button to create a variant of the product (for example the one with Dynafit System: Yes, Diameter: 7.3 mm). In the Discounts and Promotions window set a test discount with Discount/promotion type = Price Adjustment, Starting Date and Included Characteristics = All of the values defined. In the Include Characteristics tab set the two characteristics of the product. In the Sales Order window create a new sale order with the product in the Lines tab. Book the sale order and check that the discount hasn't been applied. In the Excluded Characteristics repeat the last steps to check that All of the values defined doesn't apply the discount if any of the characteristic is defined instead of if all of the characteristics are defined. See the attached images and an example video: https://drive.google.com/file/d/1QlWzAEZ5BefOD-PQukr5Gdgrn1U86c_8/view?usp=sharing [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | product.png [^] (127,588 bytes) 2021-08-19 14:54
discount.png [^] (165,330 bytes) 2021-08-19 14:54 sale_order.png [^] (181,402 bytes) 2021-08-19 14:54 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0131580) hgbot (developer) 2021-09-07 03:37 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/428 [^] |
(0131632) marvintm (manager) 2021-09-08 08:00 |
The old discounts engine implementation based on PL functions in the backoffice is no longer supported since 19Q4 release, when the new discounts engine feature was introduced. All subsequent feature improvements, like the new characteristics filter, do not work there, and defects are no longer being fixed either. |
(0132802) hgbot (developer) 2021-11-03 07:24 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/428 [^] |
(0132803) hgbot (developer) 2021-11-03 07:25 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 6329dceefcd9ef6411738ce76480159b4e78026d Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-11-02T09:05:12+00:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/6329dceefcd9ef6411738ce76480159b4e78026d [^] Fixed ISSUE-47572: Updated Promotion Calculation for Characteristics * Promotions should be calculated based on Include and Exclude Characteristics Configuration --- M src-db/database/model/functions/M_PROMOTION_CALCULATE.xml --- |
(0132804) marvintm (manager) 2021-11-03 07:25 |
Finally, an implementation of a fix for this issue has been merged. The new Include and Exclude separate filters for Product characteristics in Discounts definition will now work in the backoffice flows. |
Issue History | |||
Date Modified | Username | Field | Change |
2021-08-19 14:53 | Sergio_Gomez | New Issue | |
2021-08-19 14:53 | Sergio_Gomez | Assigned To | => Retail |
2021-08-19 14:53 | Sergio_Gomez | Triggers an Emergency Pack | => No |
2021-08-19 14:54 | Sergio_Gomez | File Added: product.png | |
2021-08-19 14:54 | Sergio_Gomez | File Added: discount.png | |
2021-08-19 14:54 | Sergio_Gomez | File Added: sale_order.png | |
2021-08-19 14:57 | Sergio_Gomez | Steps to Reproduce Updated | View Revisions |
2021-08-19 15:35 | Practics | Issue Monitored: Practics | |
2021-09-02 17:39 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2021-09-02 17:39 | ranjith_qualiantech_com | Status | new => scheduled |
2021-09-07 03:37 | hgbot | Note Added: 0131580 | |
2021-09-08 08:00 | marvintm | Review Assigned To | => marvintm |
2021-09-08 08:00 | marvintm | Note Added: 0131632 | |
2021-09-08 08:00 | marvintm | Status | scheduled => closed |
2021-09-08 08:00 | marvintm | Resolution | open => no change required |
2021-11-03 07:24 | hgbot | Note Added: 0132802 | |
2021-11-03 07:25 | hgbot | Resolution | no change required => fixed |
2021-11-03 07:25 | hgbot | Fixed in Version | => PR22Q1 |
2021-11-03 07:25 | hgbot | Note Added: 0132803 | |
2021-11-03 07:25 | marvintm | Note Added: 0132804 | |
2022-12-28 12:33 | aferraz | Relationship added | related to 0051252 |
Copyright © 2000 - 2009 MantisBT Group |