Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055710Retail ModulesDiscounts and Promotionspublic2024-06-06 21:482024-06-21 07:38
sdossantos 
Triage Omni OMS 
normalmajoralways
closedfixed 
5
RR23Q4.2 
RR23Q4.4 
No
0055710: Price modification of type 'Buy X and get Y as a gift' does not apply in POS when the product has a price of 0
In 'Buy X and get Y as a gift' type promotions, when the product inserted in the Products tab has a price of €0 in the store rate, the promotion does not apply.
If we modify the price to €0.01, the promotion already applies.
1 - Open terminal https://livebuilds.openbravo.com/context/pos2_mp_23Q4.3/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^]

2- Add Basecamp lantern
 and change the price 0

3- Add Torch mini
And we see that the discount is not applied

4 - Change price 0.1 in the product Basecamp lantern
The discount is applied.
No tags attached.
? Videograbación 2024-06-06 16:48:23.mp4 (620,062) 2024-06-06 21:48
https://issues.openbravo.com/file_download.php?file_id=19888&type=bug
Issue History
2024-06-06 21:48sdossantosNew Issue
2024-06-06 21:48sdossantosAssigned To => Retail
2024-06-06 21:48sdossantosFile Added: Videograbación 2024-06-06 16:48:23.mp4
2024-06-06 21:48sdossantosTriggers an Emergency Pack => No
2024-06-06 22:10eugeniIssue Monitored: eugeni
2024-06-10 12:21guillermogilAssigned ToRetail => Triage Omni OMS
2024-06-10 16:01frank_gonzalezNote Added: 0165732
2024-06-17 16:24hgbotNote Added: 0166042
2024-06-21 07:38hgbotResolutionopen => fixed
2024-06-21 07:38hgbotStatusnew => closed
2024-06-21 07:38hgbotFixed in Version => RR23Q4.4
2024-06-21 07:38hgbotNote Added: 0166175
2024-06-21 07:38hgbotNote Added: 0166176

Notes
(0165732)
frank_gonzalez   
2024-06-10 16:01   
Jira: https://openbravo.atlassian.net/browse/RM-14563 [^]
(0166042)
hgbot   
2024-06-17 16:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/147 [^]
(0166175)
hgbot   
2024-06-21 07:38   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: df660281134051a7f5b417088c595f36e5822592
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 21-06-2024 05:38:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/df660281134051a7f5b417088c595f36e5822592 [^]

Fixes ISSUE-55710: Condition modified to satisfy promotion when price is set 0

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
---
(0166176)
hgbot   
2024-06-21 07:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/147 [^]