Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0041532 | Retail Modules | Coupons OTF | public | 2019-08-02 10:24 | 2019-08-02 14:21 |
Reporter | inaki_garcia | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | main | ||||
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 | 0041532: [19Q3] Error popup appears when paying a ticket with products that are applicable to get an On The Fly Coupon | ||||
Description | In spite of trying to configure an On The Fly Coupon as best as possible for a store (in this case, "Posets Store") by following the documentation and using the Retail with Modules livebuild sampledata as reference, a popup error shows saying that the template for coupons has not been defined for this store after paying a ticket with products applicable to receive the coupon. There is no clue or indication on where to do the definition of such template in the documentation. Assuming that this configuration is correct, then the functional issue is clear: it blocks any usage of the 'On The Fly Coupons', as the coupon isn't printed. And in any case, the process should be better explained in the documentation section for this module. The popup shown is depicted in the attached screenshot. | ||||
Steps To Reproduce | PRECONDITIONS: the "Coupons OTF" module, and the "Discounts and Promotions" module that it depends on must be installed. --- Backend 0. Log in the ERP as user "Openbravo", with the "The White Valley Group Admin" role 1. Go to the "Discounts and Promotions" window and create a new record in form with the following data, and save it: - Organization: * - Discount/Promotion Type: Price Adjustment - Name: OTF Coupons - Coupon 5 EUR in "Backpacks & Travel" - Active: checked ('Filter Options' section) - Starting Date: today's date - Apply Next Discount/Promotion: checked - Included Product Categories: Only those defined - <the rest of the fields>: All excluding defined ('Definition' section) - Discount Amount: 5.00 - Uses coupon codes: checked ('Availability' section) - All week: checked ('OTF Coupons configuration' section) - Is OTF Coupon: checked 2. Go to the 'Product Category' subtab, and create a new record for 'Backpacks & Travel' 3. Go to the "OTF Coupons Generation Rules" window and create a new record in form with the following data, and save it: - Organization: Posets Store - Applicant: Posets Store User - Search Key: OTF_5_EUR_PS - Promotion/Discount: OTF Coupons - Coupon 5 EUR in "Backpacks & Travel" (previously created one) - Description: Coupon of 5 EUR in "Backpacks & Travel" purchasing 100 EUR in "Trekking & Camping" - Request date: today's date - Starting date: today's date - Is one coupon per transaction: checked - Min. Receipt Amount: 100.00 ('Filter Options' section) - Included Product Categories: Only those defined - <the rest of the fields>: All excluding defined ('Availability of coupon generation' section) - All: checked 4. Go to the 'Product Category' subtab, and create a new record with 'Posets Store' Organization, and 'Trekking & Camping' Product Category 5. Go to the 'Print' subtab, create a new record in form with the following data, and save it: - Organization: Posets Store - Language ID: English (USA) - Print Title: 5 € - Print Text: Coupon of 5€ in "Backpacks & Travel" purchasing 100 € in "Trekking & Camping" - Active: checked 6. Go to back to the header tab of 'OTF Coupons Generation Rules', check the Active checkbox, and save it --- Frontend 0. Log in the Web POS with the PS-1 terminal as user "posets" 1. Click on the "SEARCH" button, search "Compression sacks cordura" product, and add 2 units of it to the ticket 2. Search "Down sleeping bag 500", and add 1 unit of it to the ticket 3. Click on the Total to Pay button button showing "258.34" 4. Click on the tick button to pay completely with cash, and click on Done to pay the ticket NOTICE that an error popup appears with the following message: "ERROR! The template for coupons has not been defined for this store" | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | coupon-has-no-template-defined-error-popup.png (279,037) 2019-08-02 10:27 https://issues.openbravo.com/file_download.php?file_id=13204&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-08-02 10:24 | inaki_garcia | New Issue | |||
2019-08-02 10:24 | inaki_garcia | Assigned To | => Retail | ||
2019-08-02 10:24 | inaki_garcia | File Added: coupon-has-no-template-defined-error-popup.png | |||
2019-08-02 10:24 | inaki_garcia | Triggers an Emergency Pack | => No | ||
2019-08-02 10:26 | inaki_garcia | File Deleted: coupon-has-no-template-defined-error-popup.png | |||
2019-08-02 10:26 | inaki_garcia | File Added: coupon-has-no-template-defined-error-popup.jpg | |||
2019-08-02 10:26 | inaki_garcia | File Deleted: coupon-has-no-template-defined-error-popup.jpg | |||
2019-08-02 10:27 | inaki_garcia | File Added: coupon-has-no-template-defined-error-popup.png | |||
2019-08-02 10:31 | inaki_garcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=19249#r19249 | ||
2019-08-02 10:56 | inaki_garcia | Summary | [19Q3] Error popup appears when paying a ticket with products that are applicable to get an On The Fly Coupon => [19Q3] Error popup appears when paying a ticket with products that are applicable to get an On The Fly Coupon on any store | ||
2019-08-02 10:56 | inaki_garcia | Description Updated | bug_revision_view_page.php?rev_id=19253#r19253 | ||
2019-08-02 13:50 | inaki_garcia | Description Updated | bug_revision_view_page.php?rev_id=19254#r19254 | ||
2019-08-02 13:51 | inaki_garcia | Summary | [19Q3] Error popup appears when paying a ticket with products that are applicable to get an On The Fly Coupon on any store => [19Q3] Error popup appears when paying a ticket with products that are applicable to get an On The Fly Coupon | ||
2019-08-02 14:21 | inaki_garcia | Issue cloned | 0041536 |
There are no notes attached to this issue. |