Notes |
|
|
Actually, same issue happens in quantity 1
The problem seems linked to the promotion
(See POS Product exchange with promotion 1 KO.png) |
|
|
(0165947)
|
hgbot
|
2024-06-14 09:09
|
|
|
|
(0169470)
|
hgbot
|
2024-09-23 09:23
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 21effb56cf8bc38f567810499917789aeb03cae7
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 23-09-2024 07:07:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/21effb56cf8bc38f567810499917789aeb03cae7 [^]
Fixed ISSUE-55680: Handled ExchangeProduct with promotion
---
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/ExchangeOrderLineWrapper/__test__/ExchangeOrderLineWrapper.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Exchange/ExchangeProductSelector/__test__/ExchangeProductSelector.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/__test__/SelectLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLineDiscount/TicketLineDiscount.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketLineRenderCell/TicketLineRenderCell.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketLineRenderCell/__test__/TicketLineRenderCell.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/TicketLineRenderCellWrapper/__test__/TicketLineRenderCellWrapper.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/__test__/VerifiedReturnsGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/ExchangeProduct.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/ExchangeProduct.test.js
---
|
|
|
(0169471)
|
hgbot
|
2024-09-23 09:23
|
|
|
|
|
Verified that after creating the initial return, and adding the positive line, the total amount of the order is positive (because discount is not applied to the positive line, as it was disabled).
Then, verified that afterwards when the Exchange flow is used, the positive line receives the discount, and the total amount of the order is 0, as expected.
Verified that when the order is completed, the created sales order in the backoffice is ok. |
|
|
(0169502)
|
hgbot
|
2024-09-24 08:23
|
|
|
|
(0169503)
|
hgbot
|
2024-09-24 08:26
|
|
|
|
(0169504)
|
hgbot
|
2024-09-24 08:26
|
|
|