Openbravo Issue Tracking System - POS2
View Issue Details
0053499POS2POSpublic2023-09-20 10:452023-10-17 08:34
Daria_Sh 
sreehari 
normalminorhave not tried
closedno change required 
5
 
 
marvintm
No
No
0053499: Incorrect behavior when sell Gift Card
If create a Gift Card as a payment method and sell it, Order is not created in the Sales Order window and new Gift Card is not displayed in the Gift Card instance window

Create a Gift Card as a payment method
Go to Backoffice (User:Openbravo/Password:openbravo)-> Product window
Create a new Product, specify the values:
-Organization: Vall Blanca Store
-Search Key: GC/1
-Name: Gift Card
-UOM: Unit
-Tax Category: Exento
-Product Category: Backpacks & Travel
-Purchase: ✔
-Sale: ✔
-Stocked: unselected
-Product Type: Item
-Active: ✔
-Returnable: ✔
-Grouped Product: unselected
-Gift card Type: Gift Card
-Gift card initial amount: 50.00
-Show Characteristics Description: ✔
-Gift card as payment method: ✔
-Allow Anonymous Sale: ✔
    
Navigate to the 'Price' tab
Add new record in the form with the following values:
-Price List Version: The White Valley Group Sale Price List Version
-Unit Price: 50.00
-List Price: 50.00

Go to the 'Assortment' window
Open the 'White Valley Group Product List'-> Go to the 'Product' tab
Add new record in the form with the following values:
-Active: ✔
-Product: Gift Card
-Product Category: Backpacks & Travel
-Bestseller: No
1.Go to POS2 (login: vallblanca/password: openbravo)
2.Specify the 'Gift Card' product to the Search line
3.Click on it
4.Specify Identifier* = 1 -> Click the top right 'Finish' button
5.Push 'Pay' button -> Cash -> 'Done' button
6.Go to Orders -> Pay attention to created Order
7.Go to Backoffice: (login: Openbravo/password: openbravo)-> Sales Order window -> Find the Order by Order Date and Total Gross Amount
8.Go to the Gift Card Instance window

Actual result: Order is not created in the Sales Order window and new Gift Card is not displayed in the Gift Card instance window

Expected result: Order is created in the Sales Order window and new Gift Card is displayed in the Gift Card instance window
No tags attached.
Issue History
2023-09-20 10:45Daria_ShNew Issue
2023-09-20 10:45Daria_ShAssigned To => Retail
2023-09-20 10:45Daria_ShOBNetwork customer => No
2023-09-20 10:45Daria_ShTriggers an Emergency Pack => No
2023-10-13 10:15Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=26966#r26966
2023-10-13 10:16Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=26967#r26967
2023-10-13 11:47sreehariAssigned ToRetail => sreehari
2023-10-16 07:52sreehariStatusnew => scheduled
2023-10-16 13:30sreehariNote Added: 0155888
2023-10-16 13:32sreehariNote Added: 0155889
2023-10-16 13:32sreehariStatusscheduled => resolved
2023-10-16 13:32sreehariResolutionopen => fixed
2023-10-17 08:33marvintmStatusresolved => new
2023-10-17 08:33marvintmResolutionfixed => open
2023-10-17 08:34marvintmReview Assigned To => marvintm
2023-10-17 08:34marvintmNote Added: 0155900
2023-10-17 08:34marvintmStatusnew => closed
2023-10-17 08:34marvintmResolutionopen => no change required

Notes
(0155888)
sreehari   
2023-10-16 13:30   
Following the Document Type Configuration as described in below issue https://issues.openbravo.com/view.php?id=52175 [^]
The Order & Gift card details are created as expected.
(0155889)
sreehari   
2023-10-16 13:32   
1) Create Document Type
   Name: GiftCard Shipment DocType VBS Store
   Print Text: GiftCard Shipment DocType VBS Store
   Document Category: Material Delivery
2) Create Document Type
   Name: GiftCard DocType VBS Store
   Print Text: GiftCard DocType VBS Store
   Document Category: Sales Order
   So Sub Type: Gift Card
   Document Type for Shipment: GiftCard Shipment DocType VBS Store
3) Organization - Vall Blanca Store
   Document Type for Gift Cards: GiftCard DocType VBS Store
(0155900)
marvintm   
2023-10-17 08:34   
Works correctly after configuration is properly done.