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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049787
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-07-12 13:492024-06-17 08:31
Reporterandre_montenegroView Statuspublic 
Assigned ToRajesh_18 
PriorityurgentResolutionfixedFixed in Version24Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049787: [22Q3] Paid ticket with 100% discount on products appears as unpaid in Order's list

DescriptionHere 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
Steps To ReproducePrecondition: (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"
Proposed Solution- 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.
TagsNo tags attached.
Attached Filespng file icon Unpaid_Ticket_0.png [^] (62,394 bytes) 2022-07-12 13:49


png file icon No_Message_displayed.png [^] (120,975 bytes) 2022-07-12 13:52

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005577924Q2.1 closedRajesh_18 [22Q3] Paid ticket with 100% discount on products appears as unpaid in Order's list 
has duplicate defect 0054278 closedRajesh_18 'NaN.00 €' is shown instead of '0.00' as Total in the 'Orders' list, if pay the Order using Gift Card or a Discount of 100% 
has duplicate defect 0051607 closedSABARINATH P [23Q1] Incorrect behaviour after paying a product with 100% discount 

-  Notes
(0154072)
hgbot (developer)
2023-08-29 06:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2047 [^]
(0165989)
hgbot (developer)
2024-06-17 08:31

Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-49787: Ticket with 100% discount on products appears as paid in Order's list

---
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
---
(0165990)
hgbot (developer)
2024-06-17 08:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2047 [^]

- Issue History
Date Modified Username Field Change
2022-07-12 13:49 andre_montenegro New Issue
2022-07-12 13:49 andre_montenegro Assigned To => Retail
2022-07-12 13:49 andre_montenegro File Added: Unpaid_Ticket_0.png
2022-07-12 13:49 andre_montenegro Regression level => QA functional test
2022-07-12 13:49 andre_montenegro Triggers an Emergency Pack => No
2022-07-12 13:52 andre_montenegro File Added: No_Message_displayed.png
2022-07-15 13:49 andre_montenegro Regression level QA functional test =>
2022-07-15 13:49 andre_montenegro Target Version 22Q3 =>
2023-08-24 15:36 Rajesh_18 Assigned To Retail => Rajesh_18
2023-08-25 10:47 Rajesh_18 Status new => scheduled
2023-08-29 06:40 hgbot Note Added: 0154072
2024-01-17 08:37 Rajesh_18 Relationship added has duplicate 0054278
2024-04-05 12:16 Daria_Sh Relationship added has duplicate 0051607
2024-04-05 12:29 Daria_Sh Description Updated View Revisions
2024-06-17 07:39 Rajesh_18 Status scheduled => acknowledged
2024-06-17 07:39 Rajesh_18 Status acknowledged => scheduled
2024-06-17 08:31 hgbot Resolution open => fixed
2024-06-17 08:31 hgbot Status scheduled => closed
2024-06-17 08:31 hgbot Fixed in Version => 24Q3
2024-06-17 08:31 hgbot Note Added: 0165989
2024-06-17 08:31 hgbot Note Added: 0165990


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker