Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044578 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2020-07-08 11:42 | 2020-07-20 12:32 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | adrianromero | |||||||
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 | |||||||
Tags | NOR | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0121402) hgbot (developer) 2020-07-13 07:45 |
Repository: erp/pmods/org.openbravo.retail.discounts.coupons Changeset: b417d170cb7beff7bd84aeca88575fc475ffd9a2 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Mon Jul 13 11:14:52 2020 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.coupons/rev/b417d170cb7beff7bd84aeca88575fc475ffd9a2 [^] Related to issue-44578: Coupons should not be consumed when deleting the receipt * With Pref. Save Removed Tickets is enabled, Coupons should not be processed/consumed when deleting the receipt with coupons --- M src/org/openbravo/retail/discounts/coupons/PreOrderLoaderHookCoupons.java --- |
(0121528) adrianromero (manager) 2020-07-20 12:32 |
Reviewed |
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 |
Copyright © 2000 - 2009 MantisBT Group |