Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0045495 | Retail Modules | Coupons OTF | public | 2020-11-24 11:37 | 2021-02-11 15:31 | ||||||||||||||
Reporter | wicherr | ||||||||||||||||||
Assigned To | prakashmurugesan88 | ||||||||||||||||||
Priority | high | 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 | 0045495: Head settings of OTF rules doesn't work as expected | ||||||||||||||||||
Description | There are 2 ways to control an amount in the OTF settings : 1rst : in the header settings. Should control the receipt amount 2nd : in the product tab, should control the product line amount Currently, if : - I uncheck "is one coupon per transaction" - I put for instance 100€ in minimum amount in the header If I put 2 different products at 150€ for instance (so my receipt is at 300€) => 6 coupons are generated! (expected 3) | ||||||||||||||||||
Steps To Reproduce | - Create an OTF rule with a minimum amount in header and uncheck "is one coupon per transaction" - On webPOS, add several products which the prices are more than the minimum defined - finalize the sale => The number of coupons generated is : (total receipt amount)modulo(minimum defined) * (number of lines with price > minimum defined) | ||||||||||||||||||
Proposed Solution | If the minimum amount is defined in the header of the rule, the amount checked should be ONLY the one of the ticket (taking into account the inclusions and exclusions for sure) If the minimum amount is defined at product level of the OTF rule, the amounts checked should be the one of the products defined in this way. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | NOR | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2020-11-24 11:37 | wicherr | New Issue | |||||||||||||||||
2020-11-24 11:37 | wicherr | Assigned To | => Retail | ||||||||||||||||
2020-11-24 11:37 | wicherr | Triggers an Emergency Pack | => No | ||||||||||||||||
2020-11-24 11:37 | wicherr | Tag Attached: NOR | |||||||||||||||||
2020-11-24 11:37 | wicherr | Tag Attached: NORAUTO | |||||||||||||||||
2020-11-24 11:41 | wicherr | Note Added: 0124581 | |||||||||||||||||
2020-11-24 11:58 | rafaroda | Tag Detached: NORAUTO | |||||||||||||||||
2020-11-24 17:18 | marvintm | Resolution time | => 1607382000 | ||||||||||||||||
2020-11-25 05:10 | prakashmurugesan88 | Assigned To | Retail => prakashmurugesan88 | ||||||||||||||||
2020-11-26 11:41 | hgbot | Note Added: 0124629 | |||||||||||||||||
2020-11-26 11:41 | prakashmurugesan88 | Status | new => scheduled | ||||||||||||||||
2020-11-27 08:58 | hgbot | Note Added: 0124644 | |||||||||||||||||
2020-11-27 08:58 | hgbot | Resolution | open => fixed | ||||||||||||||||
2020-11-27 08:58 | hgbot | Status | scheduled => closed | ||||||||||||||||
2020-11-27 08:58 | hgbot | Note Added: 0124645 | |||||||||||||||||
2020-11-27 13:15 | rafaroda | Relationship added | related to 0045494 | ||||||||||||||||
2021-02-11 15:31 | rafaroda | Relationship added | related to 0045885 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|