Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051970 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2023-03-24 12:30 | 2023-04-21 09:47 | |||
Reporter | meriem_azaf | View Status | public | |||||
Assigned To | meriem_azaf | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 23Q2 | |||
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 | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0051970: Checked return : product having modifiers reduced to 1 € if product having modifiers is added | |||||||
Description | A use case concerning product verified return causes a price modification. | |||||||
Steps To Reproduce | 1- Connect to Pos2. 2- Create a new ticket. 3- Add a product having modifiers. 4- Pay the ticket. 5- Go to sales history screen. 6- Open the previous ticket. 7- Select verified return option and select the product having modifiers. 8- Add a product having modifiers in the same ticket. 9- When the 1st modifier appears, select and validate it. KO –> the first product amount switch to -1€. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0147950) hgbot (developer) 2023-03-24 12:43 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1632 [^] |
(0148698) hgbot (developer) 2023-04-21 09:46 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1632 [^] |
(0148699) hgbot (developer) 2023-04-21 09:46 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 42f6f5a044744d289a81929cf24e682a73bb8467 Author: meriem azaf <meriem.azaf@openbravo.com> Date: 21-04-2023 07:46:41 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/42f6f5a044744d289a81929cf24e682a73bb8467 [^] Fixes ISSUE-51970: Checked return : product having modifiers reduced to 1 € if product having modifiers is added A use case concerning product verified return causes a price modification, when you have already a ticket that contain a product that has modifiers and you want to do the verified return and add another product that has modifiers so the first product amount switch to -1€. The problem here that we updated the price of the product even the its modifiers have not an extra price. --- M web-jspack/org.openbravo.pos2/src/model/ticket/TicketUtils.js M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/UpdateProductModifiersExtraPrice.test.js --- |
(0148703) hgbot (developer) 2023-04-21 09:47 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 8703b06d32655e656e8c74f7319aa8449356fc11 Author: meriem azaf <meriem.azaf@openbravo.com> Date: 21-04-2023 07:47:35 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8703b06d32655e656e8c74f7319aa8449356fc11 [^] Fixes ISSUE-51970: Checked return : product having modifiers reduced to 1 € if product having modifiers is added A use case concerning product verified return causes a price modification, when you have already a ticket that contain a product that has modifiers and you want to do the verified return and add another product that has modifiers so the first product amount switch to -1€. The problem here that we updated the price of the product even the its modifiers have not an extra price. --- M web-jspack/org.openbravo.pos2/src/model/ticket/TicketUtils.js M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/UpdateProductModifiersExtraPrice.test.js --- |
(0148705) hgbot (developer) 2023-04-21 09:47 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 4009348d92240d53d95b0ee8c88f310fb10ca5aa Author: meriem azaf <meriem.azaf@openbravo.com> Date: 21-04-2023 07:47:43 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4009348d92240d53d95b0ee8c88f310fb10ca5aa [^] Fixes ISSUE-51970: Checked return : product having modifiers reduced to 1 € if product having modifiers is added A use case concerning product verified return causes a price modification, when you have already a ticket that contain a product that has modifiers and you want to do the verified return and add another product that has modifiers so the first product amount switch to -1€. The problem here that we updated the price of the product even the its modifiers have not an extra price. --- M web-jspack/org.openbravo.pos2/src/model/ticket/TicketUtils.js M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/UpdateProductModifiersExtraPrice.test.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2023-03-24 12:30 | meriem_azaf | New Issue | |
2023-03-24 12:30 | meriem_azaf | Assigned To | => Retail |
2023-03-24 12:30 | meriem_azaf | OBNetwork customer | => No |
2023-03-24 12:30 | meriem_azaf | Triggers an Emergency Pack | => No |
2023-03-24 12:31 | meriem_azaf | Assigned To | Retail => meriem_azaf |
2023-03-24 12:31 | meriem_azaf | Status | new => scheduled |
2023-03-24 12:40 | meriem_azaf | Steps to Reproduce Updated | View Revisions |
2023-03-24 12:43 | hgbot | Merge Request Status | => open |
2023-03-24 12:43 | hgbot | Note Added: 0147950 | |
2023-03-24 14:25 | meriem_azaf | Status | scheduled => acknowledged |
2023-03-24 14:25 | meriem_azaf | Status | acknowledged => scheduled |
2023-04-12 15:12 | guilleaer | Status | scheduled => acknowledged |
2023-04-12 15:12 | guilleaer | Status | acknowledged => scheduled |
2023-04-21 09:46 | hgbot | Merge Request Status | open => approved |
2023-04-21 09:46 | hgbot | Resolution | open => fixed |
2023-04-21 09:46 | hgbot | Status | scheduled => closed |
2023-04-21 09:46 | hgbot | Note Added: 0148698 | |
2023-04-21 09:46 | hgbot | Fixed in Version | => 23Q3 |
2023-04-21 09:46 | hgbot | Note Added: 0148699 | |
2023-04-21 09:47 | hgbot | Fixed in Version | 23Q3 => 23Q1.2 |
2023-04-21 09:47 | hgbot | Note Added: 0148703 | |
2023-04-21 09:47 | hgbot | Fixed in Version | 23Q1.2 => 23Q2 |
2023-04-21 09:47 | hgbot | Note Added: 0148705 |
Copyright © 2000 - 2009 MantisBT Group |