Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0044578 | Retail Modules | Web POS | public | 2020-07-08 11:42 | 2020-07-20 12:32 | |||||||
Reporter | AugustoMauch | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | adrianromero | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0044578: Deleting a receipt that contains a coupon consumes the coupon | |||||||||||
Description | If the webpos is configured to store deleted receipts, and a receipt containing a coupon is deleted, the coupon will be consumed. This happens because the [1] PreOrderLoaderHookCoupons is not checking if the order has been deleted. [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/blob/master/src/org/openbravo/retail/discounts/coupons/PreOrderLoaderHookCoupons.java#L23 [^] | |||||||||||
Steps To Reproduce | In an environment with the org.openbravo.retail.discounts.coupons module installed: - Configure the preference to store deleted receipts: Web POS Save Removed Tickets - In the backend, configure a discount to be used with coupons, create a coupon - In webpos, add some products to a ticket and then add the coupon created in the previous step. - Remove the ticket, and check that the coupon status has been changed to Not Available | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | NOR | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-07-08 11:42 | AugustoMauch | New Issue | ||||||||||
2020-07-08 11:42 | AugustoMauch | Assigned To | => Retail | |||||||||
2020-07-08 11:42 | AugustoMauch | Resolution time | => 1595368800 | |||||||||
2020-07-08 11:42 | AugustoMauch | Triggers an Emergency Pack | => No | |||||||||
2020-07-08 11:42 | AugustoMauch | Tag Attached: NOR | ||||||||||
2020-07-10 06:32 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2020-07-13 07:45 | hgbot | Checkin | ||||||||||
2020-07-13 07:45 | hgbot | Note Added: 0121402 | ||||||||||
2020-07-13 08:18 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2020-07-14 18:20 | ranjith_qualiantech_com | Status | scheduled => resolved | |||||||||
2020-07-14 18:20 | ranjith_qualiantech_com | Resolution | open => fixed | |||||||||
2020-07-20 05:25 | ranjith_qualiantech_com | Relationship added | has duplicate 0044591 | |||||||||
2020-07-20 12:32 | adrianromero | Review Assigned To | => adrianromero | |||||||||
2020-07-20 12:32 | adrianromero | Note Added: 0121528 | ||||||||||
2020-07-20 12:32 | adrianromero | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|