Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044635Retail ModulesDiscounts and Promotionspublic2020-07-20 09:412020-11-19 17:01
Leyre 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR20Q4 
No
0044635: Web Pos does not apply correctly the "Ending Date" of a discount or promotion
Web Pos does not apply correctly the "Ending Date" of a discount or promotion
Backend:
1. Configure a new discount, for example: Variable Discount per Total Amount
2. Set Ending Date = today.

Web POS:
1. Open a new till with date = today.
2. Add a product
3. Try to add the previous discount

Actual Result: The discount is not available.
Expected result: The discount should be available:
Ending Dat: The Date To indicates the end date of a range (inclusive)

-> If you modify the Ending date = a later day, the discount is available.
NOR
causes defect 0045465 closed ranjith_qualiantech_com Web Pos still does not apply correctly the "Ending Date" of a discount or promotion 
Issue History
2020-07-20 09:41LeyreNew Issue
2020-07-20 09:41LeyreAssigned To => Retail
2020-07-20 09:41LeyreResolution time => 1597010400
2020-07-20 09:41LeyreTriggers an Emergency Pack => No
2020-07-24 13:34rafarodaIssue Monitored: rafaroda
2020-07-24 13:34rafarodaTag Attached: NOR
2020-08-04 09:14ngarciaIssue Monitored: ngarcia
2020-08-06 18:04ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-08-09 05:12ranjith_qualiantech_comStatusnew => scheduled
2020-08-09 17:01hgbotNote Added: 0121922
2020-08-10 11:56hgbotResolutionopen => fixed
2020-08-10 11:56hgbotStatusscheduled => closed
2020-08-10 11:56hgbotFixed in Version => RR20Q4
2020-08-10 11:56hgbotNote Added: 0121938
2020-08-10 11:56hgbotNote Added: 0121939
2020-11-19 16:53AugustoMauchIssue cloned0045465
2020-11-19 16:54rafarodaRelationship addedcauses 0045465
2020-11-19 17:01rafarodaNote Added: 0124509

Notes
(0121922)
hgbot   
2020-08-09 17:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/2 [^]
(0121938)
hgbot   
2020-08-10 11:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 9b27220499a2dd37be9d7cd5b73b0f010603fdc3
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-08-07T11:39:00+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/9b27220499a2dd37be9d7cd5b73b0f010603fdc3 [^]

Fixed ISSUE-44635: Added Date validation to filter Discounts
* Discounts should be filtered by date instead of date&time

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/interface/discount-posinterface.js
---
(0121939)
hgbot   
2020-08-10 11:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/2 [^]
(0124509)
rafaroda   
2020-11-19 17:01   
See related 0045465