Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041536Retail ModulesCoupons OTFpublic2019-08-02 14:212019-08-02 14:21
inaki_garcia 
Retail 
normalminoralways
newopen 
5
main 
 
No
0041536: [19Q3] [UX] Inappropriate message in the misconfiguration error popup
The message of the error popup shown due to misconfiguration of the On The Fly Coupon message isn't consistent with the others of the POS, nor is appropriate for the user that might read it. The popup says "ERROR! The template for coupons has not been defined for this store", where having "error" in capital letters and exclamation mark is of bad practice in portraying a neutral message.

The popup shown is depicted in the attached screenshot.
PRECONDITIONS: the "Coupons OTF" module, and the "Discounts and Promotions" module that it depends on must be installed.

--- Backend - Execute these steps to create an On The Fly Coupon if needed. If there already exist, start from step 7.

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
7. The Organization record in form in the window with the same name, of the organization the On The Fly Coupon has been created and used for (in this case, "Posets Store"). Clear the 'Coupons Template Definition' field in the 'Web POS Formats' section if needed, and save the record.

--- 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"
No tags attached.
png coupon-has-no-template-defined-error-popup.png (279,037) 2019-08-02 14:21
https://issues.openbravo.com/file_download.php?file_id=13207&type=bug
Issue History
2019-08-02 14:21inaki_garciaNew Issue
2019-08-02 14:21inaki_garciaAssigned To => Retail
2019-08-02 14:21inaki_garciaFile Added: coupon-has-no-template-defined-error-popup.png
2019-08-02 14:21inaki_garciaTriggers an Emergency Pack => No
2019-08-02 14:21inaki_garciaIssue generated from0041532

There are no notes attached to this issue.