Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045494 | Retail Modules | Coupons OTF | public | 2020-11-24 11:13 | 2021-06-09 11:37 |
|
Reporter | wicherr | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045494: OTF rules expired continue to generate coupons |
Description | When an OTF rule is expired, even after till refresh (not full refresh),
the rule continues to generate coupons.
For information, the "refresh data" updated the ending date well in the web browser cache. |
Steps To Reproduce | - Create a valid OTF rule
- Check on webPOS the rule generate a coupon
- Change the ending date to a previous date than today
- Refresh the terminal (menu > Refresh data)
- do the same ticket than previously
=> The coupon is still generated
To reproduce, I used the last version in livebuild with modules.
We need a fix on 20q3 for Norauto. |
Proposed Solution | If the OTF rule is expired, the coupons should stop to be generated. A patch has been attached |
Additional Information | |
Tags | NOR, NORAUTO |
Relationships | related to | defect | 0045885 | | closed | ranjith_qualiantech_com | OTF Rule generate cupons with products that are excluded. | related to | defect | 0045495 | | closed | prakashmurugesan88 | Head settings of OTF rules doesn't work as expected |
|
Attached Files | OTF.patch (1,247) 2021-02-09 11:00 https://issues.openbravo.com/file_download.php?file_id=15308&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2020-11-24 11:13 | wicherr | New Issue | |
2020-11-24 11:13 | wicherr | Assigned To | => Retail |
2020-11-24 11:13 | wicherr | Triggers an Emergency Pack | => No |
2020-11-24 11:13 | wicherr | Tag Attached: NOR | |
2020-11-24 11:13 | wicherr | Tag Attached: NORAUTO | |
2020-11-27 12:25 | AugustoMauch | File Added: issue45494.diff | |
2020-11-27 12:26 | AugustoMauch | Proposed Solution updated | |
2020-11-27 13:15 | rafaroda | Relationship added | related to 0045495 |
2020-11-27 21:59 | rafaroda | File Deleted: issue45494.diff | |
2021-02-08 10:10 | rafaroda | Resolution time | => 1614726000 |
2021-02-08 10:10 | rafaroda | Note Added: 0126023 | |
2021-02-08 10:11 | rafaroda | Note Edited: 0126023 | bug_revision_view_page.php?bugnote_id=0126023#r22110 |
2021-02-08 10:11 | rafaroda | Issue Monitored: rafaroda | |
2021-02-09 10:59 | cbrazier | Issue Monitored: cbrazier | |
2021-02-09 10:59 | cbrazier | Issue End Monitor: cbrazier | |
2021-02-09 11:00 | cbrazier | File Added: OTF.patch | |
2021-02-11 15:31 | rafaroda | Relationship added | related to 0045885 |
2021-02-15 05:39 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2021-02-15 11:44 | ranjith_qualiantech_com | Status | new => scheduled |
2021-02-16 06:47 | hgbot | Note Added: 0126114 | |
2021-02-19 08:11 | hgbot | Resolution | open => fixed |
2021-02-19 08:11 | hgbot | Status | scheduled => closed |
2021-02-19 08:11 | hgbot | Note Added: 0126190 | |
2021-02-19 08:11 | hgbot | Note Added: 0126191 | |
2021-06-09 11:37 | sebastien_liron | Note Added: 0129248 | |
Notes |
|
(0126023)
|
rafaroda
|
2021-02-08 10:10
(edited on: 2021-02-08 10:11) |
|
Patch will be added by Christophe Brazier
|
|
|
(0126114)
|
hgbot
|
2021-02-16 06:47
|
|
|
|
(0126190)
|
hgbot
|
2021-02-19 08:11
|
|
|
|
(0126191)
|
hgbot
|
2021-02-19 08:11
|
|
|
|
(0129248)
|
sebastien_liron
|
2021-06-09 11:37
|
|
It might lake this line, since new Date () will take the current hour, etc ... now.setHours(0, 0, 0, 0); |
|