Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055176 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2024-04-11 17:39 | 2024-04-22 18:03 | |||
Reporter | kchoperena | View Status | public | |||||
Assigned To | SABARINATH P | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 24Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0055176: When we are cancelling an order not fully delivered, the Canceled Layaway template is used | |||||||
Description | We 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 Reproduce | 1.- 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 Solution | The 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 --- |
![]() |
|||
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 |