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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055176
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-04-11 17:392024-04-22 18:03
ReporterkchoperenaView Statuspublic 
Assigned ToSABARINATH P 
PriorityhighResolutionfixedFixed 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

0055176: When we are cancelling an order not fully delivered, the Canceled Layaway template is used

DescriptionWe are selecting wrongly the template to be printed in the case of a cancel order. Furthermore, the concept of layaways of layaways is non-existent in React.Even taking this into account, we are trying to use the Canceled Layaway template configured at Organization level whenever we complete a cancel order action
Steps To Reproduce1.- Log into the WebPOS
2.- Create a ticket with a line that uses the 'Pick Up in Store' delivery mode
3.- Pay it and complete it
4.- Reopen again the order and using the contextual menu, try to cancel it
5.- Complete the cancellation and print the report

RESULT: The selected template is the Cancel Layaway template instead of Canceled Receipt Template

VIDEO: https://drive.google.com/file/d/1pSYvYoSkhxyQqNF-ZbiNpXvsrMJ2A6U5/view?usp=sharing [^]
Proposed SolutionThe selectTicketPrintTemplateName function is not correctly calculating the template to be used because the ticket.ordercanceled is false and ticket.cancelLayaway is true

To solve the problem, we should analyze where this status is set and refactor the logic
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0163394)
hgbot (developer)
2024-04-18 14:50

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2581 [^]
(0163544)
hgbot (developer)
2024-04-22 18:03

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2581 [^]
(0163545)
hgbot (developer)
2024-04-22 18:03

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c5bd586a8e06cdfb10ff516f38d7d549c777aee7
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 22-04-2024 16:03:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c5bd586a8e06cdfb10ff516f38d7d549c777aee7 [^]

Fixed ISSUE-55176: Overwrite ticket props in Pos2 to avoid layaway cancelation when CancelTicket.

---
A web-jspack/org.openbravo.pos2/src/model/ticket/actions/CancelOrder.js
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
---

- Issue History
Date Modified Username Field Change
2024-04-11 17:39 kchoperena New Issue
2024-04-11 17:39 kchoperena Assigned To => Retail
2024-04-11 17:39 kchoperena Triggers an Emergency Pack => No
2024-04-11 17:42 kchoperena Steps to Reproduce Updated View Revisions
2024-04-15 09:10 guilleaer Status new => acknowledged
2024-04-15 11:07 SABARINATH P Assigned To Retail => SABARINATH P
2024-04-15 11:07 SABARINATH P Status acknowledged => scheduled
2024-04-18 14:50 hgbot Note Added: 0163394
2024-04-22 18:03 hgbot Note Added: 0163544
2024-04-22 18:03 hgbot Resolution open => fixed
2024-04-22 18:03 hgbot Status scheduled => closed
2024-04-22 18:03 hgbot Fixed in Version => 24Q3
2024-04-22 18:03 hgbot Note Added: 0163545


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker