Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0043502 | Retail Modules | Web POS | public | 2020-03-16 14:25 | 2020-06-05 10:08 |
|
Reporter | marvintm | |
Assigned To | nicola_uva | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR20Q3 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0043502: Discounts characteristics filter should be improved for cases of multiple characteristic values to handle inclusion/exclusion |
Description | There are two improvements that could be done to the discounts filter by characteristics:
- First, if the same characteristic appears multiple times, with different values, then the discounts engine should apply the discount if the corresponding product has one of the specified values
- Second, instead of one tab, there should be two tabs for characteristics filter: one for inclusion, and another for exclusion. For the discount to be considered candidate for a given product, it should comply both with the inclusion requirements, and the exclusion requirements.
A practical example of a discount which would use these two capabilities:
A 10% discount on the price of the product, for products of seasons 2015, 2016 and 2017, for brand "X", but which should not be applied for products of "color" "black".
|
Steps To Reproduce | . |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | feature request | 0043204 | | closed | Retail | Retail Modules | Discounts with Characteristics. It is not possible to create exceptions within characteristics. | related to | design defect | 0051252 | | new | Retail | Openbravo ERP | Different behavior for "Included Characteristics: All of the values defined" discount configuration in the ERP and in POS |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-03-16 14:25 | marvintm | New Issue | |
2020-03-16 14:25 | marvintm | Assigned To | => Retail |
2020-03-16 14:25 | marvintm | Triggers an Emergency Pack | => No |
2020-03-16 14:26 | marvintm | Relationship added | has duplicate 0043204 |
2020-03-16 14:34 | martinsdan | Issue Monitored: martinsdan | |
2020-05-08 14:23 | hgbot | Checkin | |
2020-05-08 14:23 | hgbot | Note Added: 0119702 | |
2020-05-08 14:31 | hgbot | Checkin | |
2020-05-08 14:31 | hgbot | Note Added: 0119703 | |
2020-05-08 14:31 | hgbot | Status | new => resolved |
2020-05-08 14:31 | hgbot | Resolution | open => fixed |
2020-05-08 14:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/af45ed5b5f203ef5727c378d3a86b0adbfd1a267 [^] |
2020-05-08 14:31 | hgbot | Checkin | |
2020-05-08 14:31 | hgbot | Note Added: 0119704 | |
2020-05-08 14:31 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/af45ed5b5f203ef5727c378d3a86b0adbfd1a267 [^] => http://code.openbravo.com/erp/devel/pi/rev/16c52d52a2e42f22d4b9b1988e449e1f05243713 [^] |
2020-05-08 14:34 | hgbot | Checkin | |
2020-05-08 14:34 | hgbot | Note Added: 0119705 | |
2020-05-08 14:34 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/16c52d52a2e42f22d4b9b1988e449e1f05243713 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/c9b927f8d4012fd0fea8d86abe2cfd8886758849 [^] |
2020-05-08 14:36 | hgbot | Checkin | |
2020-05-08 14:36 | hgbot | Note Added: 0119706 | |
2020-05-08 14:36 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/c9b927f8d4012fd0fea8d86abe2cfd8886758849 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7a21406ea8e63be1a1e4d5bcef381547ba5e1a7f [^] |
2020-05-08 14:40 | hgbot | Checkin | |
2020-05-08 14:40 | hgbot | Note Added: 0119707 | |
2020-05-08 14:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7a21406ea8e63be1a1e4d5bcef381547ba5e1a7f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/12c5f7329798cb9ed5bb757a1fcc2a337f211856 [^] |
2020-05-08 14:40 | hgbot | Checkin | |
2020-05-08 14:40 | hgbot | Note Added: 0119708 | |
2020-05-08 14:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/12c5f7329798cb9ed5bb757a1fcc2a337f211856 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/c040b632793a92a40853bbb0bd10413d442a3eb6 [^] |
2020-05-08 14:40 | hgbot | Checkin | |
2020-05-08 14:40 | hgbot | Note Added: 0119709 | |
2020-05-08 14:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/c040b632793a92a40853bbb0bd10413d442a3eb6 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/b1c6d5441524f558aa8dd3e2ece01338b0594229 [^] |
2020-05-08 14:40 | hgbot | Checkin | |
2020-05-08 14:40 | hgbot | Note Added: 0119710 | |
2020-05-08 14:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/b1c6d5441524f558aa8dd3e2ece01338b0594229 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/0dec9777739bc1eb4ad7da56d80bdfda38692d41 [^] |
2020-05-08 14:47 | marvintm | Assigned To | Retail => nicola_uva |
2020-05-12 08:59 | hgbot | Checkin | |
2020-05-12 08:59 | hgbot | Note Added: 0119751 | |
2020-05-12 08:59 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/0dec9777739bc1eb4ad7da56d80bdfda38692d41 [^] => http://code.openbravo.com/erp/devel/pi/rev/93446e384b5ca72effc3e6c535b8d49010a2ac8d [^] |
2020-05-12 09:00 | hgbot | Checkin | |
2020-05-12 09:00 | hgbot | Note Added: 0119752 | |
2020-05-12 09:00 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/93446e384b5ca72effc3e6c535b8d49010a2ac8d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eecc2c13e968ad85c084af9d418bb669fe4e7faf [^] |
2020-05-12 09:01 | hgbot | Checkin | |
2020-05-12 09:01 | hgbot | Note Added: 0119753 | |
2020-05-12 09:01 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eecc2c13e968ad85c084af9d418bb669fe4e7faf [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/a99ca4d875af0cd9166fcb48cabb3a72f8d2e1c0 [^] |
2020-05-12 09:02 | hgbot | Checkin | |
2020-05-12 09:02 | hgbot | Note Added: 0119755 | |
2020-05-12 09:02 | hgbot | Checkin | |
2020-05-12 09:02 | hgbot | Note Added: 0119756 | |
2020-05-12 09:02 | hgbot | Checkin | |
2020-05-12 09:02 | hgbot | Note Added: 0119757 | |
2020-05-12 09:04 | hgbot | Checkin | |
2020-05-12 09:04 | hgbot | Note Added: 0119758 | |
2020-05-12 13:31 | hgbot | Checkin | |
2020-05-12 13:31 | hgbot | Note Added: 0119776 | |
2020-05-12 17:08 | marvintm | Review Assigned To | => marvintm |
2020-05-12 17:08 | marvintm | Status | resolved => closed |
2020-05-12 17:08 | marvintm | Fixed in Version | => RR20Q3 |
2020-06-05 10:08 | hudsonbot | Checkin | |
2020-06-05 10:08 | hudsonbot | Note Added: 0120689 | |
2020-06-05 10:08 | hudsonbot | Checkin | |
2020-06-05 10:08 | hudsonbot | Note Added: 0120690 | |
2020-06-05 10:08 | hudsonbot | Checkin | |
2020-06-05 10:08 | hudsonbot | Note Added: 0120691 | |
2020-06-05 10:08 | hudsonbot | Checkin | |
2020-06-05 10:08 | hudsonbot | Note Added: 0120692 | |
2023-01-30 11:02 | ranjith_qualiantech_com | Relationship added | related to 0051252 |
Notes |
|
(0119702)
|
hgbot
|
2020-05-08 14:23
|
|
|
|
(0119703)
|
hgbot
|
2020-05-08 14:31
|
|
Repository: erp/devel/pi
Changeset: af45ed5b5f203ef5727c378d3a86b0adbfd1a267
Author: Nicola Uva <nicola.uva <at> openbravo.com>
Date: Tue May 05 22:59:09 2020 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/af45ed5b5f203ef5727c378d3a86b0adbfd1a267 [^]
Fixes Issue 0043502: Discounts characteristics filter should be improved for cases of multiple characteristic values to handle inclusion/exclusion
---
M src-db/database/model/tables/M_OFFER.xml
M src-db/database/model/tables/M_OFFER_CHARACTERISTIC.xml
M src-db/database/sourcedata/AD_AUXILIARINPUT.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_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/M_INVENTORYSTATUS.xml
M src-db/database/sourcedata/M_OFFER_TYPE.xml
---
|
|
|
(0119704)
|
hgbot
|
2020-05-08 14:31
|
|
Repository: erp/devel/pi
Changeset: 16c52d52a2e42f22d4b9b1988e449e1f05243713
Author: Nicola Uva <nicola.uva <at> openbravo.com>
Date: Fri May 08 11:15:29 2020 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/16c52d52a2e42f22d4b9b1988e449e1f05243713 [^]
Fixes Issue 0043502: Discounts characteristics filter should be improved for cases of multiple characteristic values to handle inclusion/exclusion
---
M src-db/database/model/tables/M_OFFER_CHARACTERISTIC.xml
---
|
|
|
(0119705)
|
hgbot
|
2020-05-08 14:34
|
|
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: c9b927f8d4012fd0fea8d86abe2cfd8886758849
Author: Nicola Uva <nicola.uva <at> openbravo.com>
Date: Thu May 07 23:28:53 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/c9b927f8d4012fd0fea8d86abe2cfd8886758849 [^]
Fixes Issue 0043502: Discounts characteristics filter inclusion/exclusion
---
M src-db/database/sourcedata/AD_FIELD.xml
M src-test/org/openbravo/retail/discounts/test/base/model/DiscountRule.java
M src-test/org/openbravo/retail/discounts/test/base/model/OfferCharacteristic.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountsUnitTestSuite.java
M src-test/org/openbravo/retail/discounts/test/unittests/combined/I32533_DiscountsByProductCharacteristic.java
M src-test/org/openbravo/retail/discounts/test/unittests/combined/I42883_DiscountsByCharacteristicIsWellApplied.java
M web/org.openbravo.retail.discounts/app/model/businessLogic/discountsengine/engine/discount-rules.js
A src-test/org/openbravo/retail/discounts/test/unittests/combined/I43502_DiscountsByProductCharacteristic.java
---
|
|
|
(0119706)
|
hgbot
|
2020-05-08 14:36
|
|
|
|
(0119707)
|
hgbot
|
2020-05-08 14:40
|
|
|
|
(0119708)
|
hgbot
|
2020-05-08 14:40
|
|
|
|
(0119709)
|
hgbot
|
2020-05-08 14:40
|
|
|
|
(0119710)
|
hgbot
|
2020-05-08 14:40
|
|
|
|
(0119751)
|
hgbot
|
2020-05-12 08:59
|
|
Repository: erp/devel/pi
Changeset: 93446e384b5ca72effc3e6c535b8d49010a2ac8d
Author: Nicola Uva <nicola.uva <at> openbravo.com>
Date: Mon May 11 09:41:00 2020 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/93446e384b5ca72effc3e6c535b8d49010a2ac8d [^]
Fixes Issue 0043502: Discounts characteristics filter
---
M src-db/database/model/tables/M_OFFER.xml
M src-db/database/model/tables/M_OFFER_CHARACTERISTIC.xml
M src-db/database/sourcedata/AD_AUXILIARINPUT.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_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
---
|
|
|
(0119752)
|
hgbot
|
2020-05-12 09:00
|
|
|
|
(0119753)
|
hgbot
|
2020-05-12 09:01
|
|
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: a99ca4d875af0cd9166fcb48cabb3a72f8d2e1c0
Author: Nicola Uva <nicola.uva <at> openbravo.com>
Date: Mon May 11 09:41:29 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/a99ca4d875af0cd9166fcb48cabb3a72f8d2e1c0 [^]
Fixes Issue 0043502: Discounts characteristics
---
M src-test/org/openbravo/retail/discounts/test/base/model/DiscountRule.java
M src-test/org/openbravo/retail/discounts/test/base/model/OfferCharacteristic.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountsUnitTestSuite.java
M src-test/org/openbravo/retail/discounts/test/unittests/combined/I32533_DiscountsByProductCharacteristic.java
M src-test/org/openbravo/retail/discounts/test/unittests/combined/I42883_DiscountsByCharacteristicIsWellApplied.java
M web/org.openbravo.retail.discounts/app/model/businessLogic/discountsengine/engine/discount-rules.js
A src-test/org/openbravo/retail/discounts/test/unittests/combined/I43502_DiscountsByProductCharacteristic.java
---
|
|
|
(0119755)
|
hgbot
|
2020-05-12 09:02
|
|
|
|
(0119756)
|
hgbot
|
2020-05-12 09:02
|
|
|
|
(0119757)
|
hgbot
|
2020-05-12 09:02
|
|
|
|
(0119758)
|
hgbot
|
2020-05-12 09:04
|
|
|
|
(0119776)
|
hgbot
|
2020-05-12 13:31
|
|
Repository: erp/devel/pi
Changeset: f70123c9b65139cc988be6a0be5d07c5f03bbfd6
Author: Nicola Uva <nicola.uva <at> openbravo.com>
Date: Tue May 12 13:29:11 2020 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f70123c9b65139cc988be6a0be5d07c5f03bbfd6 [^]
Related to the issue 43502 : moved aux input on exclude characteristic tab
---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|