Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047665Retail ModulesDiscounts and Promotionspublic2021-09-09 11:522021-09-17 08:56
jetxarri 
rqueralta 
highmajoralways
closedfixed 
5
pi 
RR21Q4 
No
0047665: Possible to include summary product categories in discounts
It is possible to include summary product categories in discounts and they are not going to work and the user consider that all the children of a summary categories are included.
-Go to ERP
-Go to discounts and promotions
-Create a header
-Go to tab product category
-Select a summary product category
Check the patch.

The patch is not complete, because it is necessary to create an eventhandler in window product category to avoid to change one product category to summary when it is already configured in a discount
NOR
diff patch.diff (2,899) 2021-09-09 11:58
https://issues.openbravo.com/file_download.php?file_id=16188&type=bug
Issue History
2021-09-09 11:52jetxarriNew Issue
2021-09-09 11:52jetxarriAssigned To => Retail
2021-09-09 11:52jetxarriTriggers an Emergency Pack => No
2021-09-09 11:52jetxarriTag Attached: NOR
2021-09-09 11:58jetxarriFile Added: patch.diff
2021-09-09 11:59jetxarriProposed Solution updated
2021-09-12 13:39rqueraltaAssigned ToRetail => rqueralta
2021-09-12 13:39rqueraltaStatusnew => scheduled
2021-09-14 12:47hgbotNote Added: 0131778
2021-09-14 12:48hgbotNote Added: 0131779
2021-09-16 14:25hgbotNote Added: 0131871
2021-09-16 14:29hgbotNote Added: 0131872
2021-09-17 08:56hgbotResolutionopen => fixed
2021-09-17 08:56hgbotStatusscheduled => closed
2021-09-17 08:56hgbotFixed in Version => PR21Q4
2021-09-17 08:56hgbotNote Added: 0131893
2021-09-17 08:56hgbotNote Added: 0131894
2021-09-17 08:56hgbotFixed in VersionPR21Q4 => RR21Q4
2021-09-17 08:56hgbotNote Added: 0131895
2021-09-17 08:56hgbotNote Added: 0131896

Notes
(0131778)
hgbot   
2021-09-14 12:47   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/432 [^]
(0131779)
hgbot   
2021-09-14 12:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/575 [^]
(0131871)
hgbot   
2021-09-16 14:25   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/575 [^]
(0131872)
hgbot   
2021-09-16 14:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/578 [^]
(0131893)
hgbot   
2021-09-17 08:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 6f9a2effdd1c9a225cdeae81b260352c21909b92
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-09-16T05:44:45+00:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/6f9a2effdd1c9a225cdeae81b260352c21909b92 [^]

Fixed BUG-47665: Avoid the possibility to include summary product categories in discounts

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0131894)
hgbot   
2021-09-17 08:56   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/432 [^]
(0131895)
hgbot   
2021-09-17 08:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d870e3dcedaa4c77a4607260c5974b6e332ce337
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-09-17T06:55:40+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d870e3dcedaa4c77a4607260c5974b6e332ce337 [^]

Fixed BUG-47665: Avoid the possibility to include summary product categories in discounts

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/event/ProductCategoryEventHandler.java
---
(0131896)
hgbot   
2021-09-17 08:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/578 [^]