Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041532
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Coupons OTFmajoralways2019-08-02 10:242019-08-02 14:21
Reporterinaki_garciaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041532: [19Q3] Error popup appears when paying a ticket with products that are applicable to get an On The Fly Coupon

DescriptionIn 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 ReproducePRECONDITIONS: 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"
TagsNo tags attached.
Attached Filespng file icon coupon-has-no-template-defined-error-popup.png [^] (279,037 bytes) 2019-08-02 10:27

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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 View Revisions
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 View Revisions
2019-08-02 13:50 inaki_garcia Description Updated View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker