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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052737
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2023-06-13 17:492023-06-20 16:14
ReporterrafarodaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in Version23Q3
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

0052737: Cashup is possible even with ticket with payments (without ticket lines)

DescriptionCashup is possible even with ticket with payments (without ticket lines)

This shoudl NOT be allowed and you should have the same message display that you have when trying cashup with tickets with lines

See video https://drive.google.com/file/d/1wFtqtQhgpi_q5pAakjy2w8IMbGHshBgi/view?usp=drive_link [^]
Steps To ReproduceSee video https://drive.google.com/file/d/1wFtqtQhgpi_q5pAakjy2w8IMbGHshBgi/view?usp=drive_link [^]

In Live Builds https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^]
1) Create a ticket in POS 2 and add some lines
2) Click in Menu > Close Till: you have a message saying "There are pending receipts, cashup can not be started": this is correct OK
3) Add some payment in cash, and come back to the ticket
4) delete the 2 lines
5) Click on Menu > Close Till: youa re able to start the cashup, this is KO incorrect
Proposed SolutionIn Step 5 you should have the exact same message than in Step 2 saying There are pending receipts, cashup can not be started"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052539 closedsreehari POS2 RM-6309 Overpayment Not Allowed: this condition is not properly evaluated in the case of removing products 
related to defect 0052209 closedranjith_qualiantech_com Retail Modules POS Payment error when finishing a cashup 

-  Notes
(0151383)
hgbot (developer)
2023-06-20 14:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1253 [^]
(0151384)
hgbot (developer)
2023-06-20 14:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1907 [^]
(0151392)
hgbot (developer)
2023-06-20 16:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1253 [^]
(0151393)
hgbot (developer)
2023-06-20 16:14

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: df0799cd8db109767d75a899c98b199eb77a6de1
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 20-06-2023 14:13:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/df0799cd8db109767d75a899c98b199eb77a6de1 [^]

Related to ISSUE-52737: Added getPendingTickets Util method
* When switching to cashup window, event should be prevented
  if pos has pending tickets across sessions

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/TicketListUtils.js
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup/cashup-model.js
---
(0151394)
hgbot (developer)
2023-06-20 16:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 6d9a65c0199ea33b71a9a437c48e26d82bb8d0ba
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 20-06-2023 14:14:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/6d9a65c0199ea33b71a9a437c48e26d82bb8d0ba [^]

Fixed ISSUE-52737: Cashup window should not be shown if pos has pending tickets

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SwitchToCashupWindow.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/cashup/CashupWindowHooks.js
---
(0151395)
hgbot (developer)
2023-06-20 16:14

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

- Issue History
Date Modified Username Field Change
2023-06-13 17:49 rafaroda New Issue
2023-06-13 17:49 rafaroda Assigned To => Retail
2023-06-13 17:49 rafaroda Triggers an Emergency Pack => No
2023-06-13 17:49 rafaroda Relationship added related to 0052539
2023-06-15 11:38 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-06-15 11:38 ranjith_qualiantech_com Status new => scheduled
2023-06-15 12:05 ranjith_qualiantech_com Relationship added related to 0052209
2023-06-20 14:38 hgbot Note Added: 0151383
2023-06-20 14:38 hgbot Note Added: 0151384
2023-06-20 16:14 hgbot Note Added: 0151392
2023-06-20 16:14 hgbot Note Added: 0151393
2023-06-20 16:14 hgbot Resolution open => fixed
2023-06-20 16:14 hgbot Status scheduled => closed
2023-06-20 16:14 hgbot Fixed in Version => 23Q3
2023-06-20 16:14 hgbot Note Added: 0151394
2023-06-20 16:14 hgbot Note Added: 0151395


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker