Openbravo Issue Tracking System - POS2
View Issue Details
0049448POS2POSpublic2022-05-31 14:582022-06-08 12:52
timothee_catteeuw 
ebecerra 
normalmajoralways
closedfixed 
5
 
 
No
0049448: JIRA 3026 - It is possible to return products in a cancel and replace ticket
It is possible to return a product in a cancel and replace ticket which has been already paid, this is an issue because it does not make sense to return products (or change quantity of products) when the ticket has already been paid.
Go to https://livebuilds.openbravo.com/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]
Login as vallblanca
Start a new ticket
Add several products and pay it
go to orders history and cancel and replace the order you previously did
Click on a product line and select return line
--> OK, this error message appears and the action is blocked --> Cannot return lines with delivered quantity in Cancel and Replace orders.

Then click 3 dots button above the pay button and select convert to return
--> KO, it is possible to do this action, yet the ticket is in cancel in replace mode
Have the same behavior as you want return a product line
No tags attached.
has duplicate defect 0049403 closed Retail Jira 3028 - When we "Cancel and replace" and order, there is pb in the amount we need to rembourse 
Issue History
2022-05-31 14:58timothee_catteeuwNew Issue
2022-05-31 14:58timothee_catteeuwAssigned To => Retail
2022-05-31 14:58timothee_catteeuwTriggers an Emergency Pack => No
2022-05-31 15:14timothee_catteeuwRelationship addedhas duplicate 0049403
2022-06-06 09:46guilleaerStatusnew => scheduled
2022-06-06 09:46guilleaerAssigned ToRetail => ebecerra
2022-06-06 10:58hgbotNote Added: 0138083
2022-06-08 12:52hgbotNote Added: 0138161
2022-06-08 12:52hgbotResolutionopen => fixed
2022-06-08 12:52hgbotStatusscheduled => closed
2022-06-08 12:52hgbotNote Added: 0138162

Notes
(0138083)
hgbot   
2022-06-06 10:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/990 [^]
(0138161)
hgbot   
2022-06-08 12:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/990 [^]
(0138162)
hgbot   
2022-06-08 12:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 26a44175641791db1d0400e923da9264f60e7355
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 08-06-2022 10:52:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/26a44175641791db1d0400e923da9264f60e7355 [^]

Fixes ISSUE-49448: It is possible to return products in a cancel and replace ticket

---
A web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/__test__/ReturnBlindTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/ReturnBlindTicket.js
---