Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049194
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2022-05-03 14:272024-09-26 06:18
ReporterrfaconView Statuspublic 
Assigned Toradhakrishnan 
PrioritynormalResolutionfixedFixed in VersionRR22Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049194: Discount availability should be validated with POS time instead of server time

DescriptionDiscount availability should be validated with POS time instead of server time
Steps To Reproduce1. Configure a discount in the Backend, for example:
- Discount/Promotion Type: Price adjustment
- Active = Y
- Availability subtab: Monday and Tuesday (do not inform the fields "Starting Time" and "Ending Time").
- Define the discount for a product, for example Baby carrier and select "Included Products" = Only those defined.

2. Open a terminal on Monday and verify that the discount is applied correctly to the "Baby Carrier" product.

3. In the Backend, open the discount defined in point 1, and inform:
- Availability: Tuesday -> "Starting Time" Tuesday = 8:00:00 and "Ending Time" Tuesday =18:05:00

Result: Open the terminal again the next Tuesday and verify that the discount is not applied to the "Baby Carrier" product.
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0048383pi closedjetxarri Allow to activate promotions on 2 distinct time slots within the same day 
related to defect 0049204 closedranjith_qualiantech_com Modifying the Availibility subtab doesn't update the discount audit section 
related to defect 0049195 closedradhakrishnan Availability subtab records can be deleted 
related to defect 0049518 closedradhakrishnan API call - A promotion with an availability set on the last hours of a day is also applied on the last hours of the day before 
related to defect 0049517 closedradhakrishnan API call - Availability of a promotion is calculated on universal time by the API 

-  Notes
(0138589)
hgbot (developer)
2022-06-21 08:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/57 [^]
(0138685)
hgbot (developer)
2022-06-23 12:26

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/57 [^]
(0138686)
hgbot (developer)
2022-06-23 12:26

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 641202873812c8e322ce8b6b3280e47c8a3c9ff4
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 21-06-2022 11:43:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/641202873812c8e322ce8b6b3280e47c8a3c9ff4 [^]

Fixed ISSUE-49194: Updated validation in Discount availability
Discount availability time should be validated with POS time instead of server time

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
---

- Issue History
Date Modified Username Field Change
2022-05-03 14:27 rfacon New Issue
2022-05-03 14:27 rfacon Assigned To => Retail
2022-05-03 14:27 rfacon Triggers an Emergency Pack => No
2022-05-04 10:28 rafaroda Relationship added related to 0049204
2022-05-04 10:28 rafaroda Relationship added related to 0049195
2022-05-04 10:29 rafaroda Relationship added related to 0048383
2022-05-04 10:29 rafaroda Tag Attached: NOR
2022-05-04 10:30 rafaroda Type backport => defect
2022-06-07 21:44 rafaroda Issue Monitored: rafaroda
2022-06-08 16:10 radhakrishnan Assigned To Retail => radhakrishnan
2022-06-09 15:03 radhakrishnan Status new => scheduled
2022-06-09 23:45 rafaroda Relationship added related to 0049518
2022-06-09 23:45 rafaroda Relationship added related to 0049517
2022-06-21 08:23 hgbot Note Added: 0138589
2022-06-23 12:26 hgbot Note Added: 0138685
2022-06-23 12:26 hgbot Resolution open => fixed
2022-06-23 12:26 hgbot Status scheduled => closed
2022-06-23 12:26 hgbot Fixed in Version => RR22Q3
2022-06-23 12:26 hgbot Note Added: 0138686
2024-09-26 06:18 maruusa Note Added: 0169607
2024-09-27 09:53 shuehner Note Deleted: 0169607


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker