Openbravo Issue Tracking System - POS2
View Issue Details
0055779POS2POSpublic2022-07-12 13:492024-06-17 08:48
andre_montenegro 
Rajesh_18 
urgentmajoralways
closedfixed 
5
 
24Q2.124Q2 
No
0055779: [22Q3] Paid ticket with 100% discount on products appears as unpaid in Order's list
Here we can find 2 issues on orders with 100% discount product:

- Paying ticket: when clicking "Pay" button, no message notifies about the ticket total is zero.

- After pay the ticket: In order list, the ticket appears as unpaid.

- In the ERP Goods Shipment window no entry have been created for the order
Precondition: (Applying 100% Discount for a product)

- Log in ERP as Group -Admin-The White Valley Group
- Go to Discounts and Promotions window
- Click Ctrl + D to create new record
- Navigate to Header tab
- Discount type: Fixed Percentage Discount
   - Name: Fixed 100%
   - Printed Name: Fixed Discount (100%)
   - Starting date: 01-01-2013
   - Included Products: Only those defined
   - Discount: 100
- Navigate to Products tab
   - Product: Alpine skiing backpack 27 L
- Save the record


Steps to reproduce:

- Login POS
- Select “Backpacks & Travel” category
- Add product "Alpine skiing backpack 27 L"
- Verify that gross amount is 0
- Click "Pay" button
- Notice that no message informs about ticket total is zero
- Click "Done"
- Go to "Order" context (5th button on lateral bar)
- Notice the order that has been just paid, it appears as "Unpaid"
- Paying ticket: when clicking "Pay" button, a message should notify about the ticket total is zero (similar to old POS)

- After pay the ticket: In order list, the ticket must appears as paid even if the price has been 0.
No tags attached.
blocks defect 0049787 closed Rajesh_18 [22Q3] Paid ticket with 100% discount on products appears as unpaid in Order's list 
Issue History
2024-06-17 07:39Rajesh_18Typedefect => backport
2024-06-17 07:39Rajesh_18Target Version => 24Q2.1
2024-06-17 08:47hgbotNote Added: 0165996
2024-06-17 08:48hgbotResolutionopen => fixed
2024-06-17 08:48hgbotStatusscheduled => closed
2024-06-17 08:48hgbotFixed in Version => 24Q2
2024-06-17 08:48hgbotNote Added: 0165997
2024-06-17 08:48hgbotNote Added: 0165998

Notes
(0165996)
hgbot   
2024-06-17 08:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2728 [^]
(0165997)
hgbot   
2024-06-17 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c4afd2162356d843a7e3c8671080b2510b500ab7
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 17-06-2024 12:15:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c4afd2162356d843a7e3c8671080b2510b500ab7 [^]

Fixed ISSUE-55779: User defined amount is applied for User Defined Line Amount discount

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/PaymentsGrid.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketTypeStatusHandling.js
M web-jspack/org.openbravo.pos2/src/components/TicketList/TicketListAmountCellRender.jsx
---
(0165998)
hgbot   
2024-06-17 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2728 [^]