Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055155Retail ModulesDiscounts and Promotionspublic2024-04-10 12:232024-05-07 13:09
malsasua 
Rajesh_18 
normalmajorhave not tried
scheduledopen 
5
 
 
No
0055155: in Cross Store, one discount product deactivated in one assortment of other store is removed of this store
Using Cross Store, if one product is deactivated in the assortment of one store, the product in discount filter product is removed of all stores belonging to the same cross store.

It is caused because the Incremental Refresh query is doing join with cross store assortments instead of "exists":
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/master/src/org/openbravo/retail/posterminal/master/DiscountFilterProduct.java?ref_type=heads#L63 [^]
. in live:
https://livebuilds.openbravo.com/context/pos2_mp_24Q1.1/web/org.openbravo.retail.posterminal/?terminal=OS-1 [^]
-in BO:
1. create a new discount (see attachment):
org: *
type: Price Adj
Discount %: 10
 - rest of fields by default
 . new record in discount-product tab:
 - product: Adhesive body warmers
-->> discount should be applied for all products except for Adhesive body warmers
in POS
2. do login in OS-1
3. add product Adhesive body warmers -> discount is not applied
in BO
4. for assortment White Valley Group Product List -> deactivate the product Adhesive body warmers
in POS
5. execute incremental refresh
6. add product Adhesive body warmers -> discount is applied


 
No tags attached.
png disc_conf.png (97,386) 2024-04-10 12:36
https://issues.openbravo.com/file_download.php?file_id=19637&type=bug
png
Issue History
2024-04-10 12:23malsasuaNew Issue
2024-04-10 12:23malsasuaAssigned To => Retail
2024-04-10 12:23malsasuaTriggers an Emergency Pack => No
2024-04-10 12:26marvintmStatusnew => acknowledged
2024-04-10 12:28PracticsIssue Monitored: Practics
2024-04-10 12:36malsasuaFile Added: disc_conf.png
2024-04-16 08:51Rajesh_18Assigned ToRetail => Rajesh_18
2024-04-16 08:51Rajesh_18Statusacknowledged => scheduled
2024-05-07 13:09hgbotNote Added: 0164146

Notes
(0164146)
hgbot   
2024-05-07 13:09   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1558 [^]