Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052552 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | minor | always | 2023-05-17 14:46 | 2023-05-25 09:53 | |||
Reporter | ruben_jimenez | View Status | public | |||||
Assigned To | ruben_jimenez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 23Q2.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 23Q2.1 | |||
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 | 0052552: RM-6155: It is possible to create sales with a delivery mode that is not allowed for a specific schema. | |||||||
Description | The issue arises because we store the delivery mode in the order lines, and the deleted lines are kept in the order records. The deleted lines may have a different delivery mode than the rest. | |||||||
Steps To Reproduce | 1- Select a product in a schema where the allowed delivery mode is 'PickupInStore'. 2- Delete the product. 3- Switch to a different schema where the delivery mode allowed is not 'PickupInStore'. 4- Select a product. 5- Proceed with the payment. If you open the ticket through the order screen, the delivery mode of the ticket will be "PickupInStore" instead of "PickAndCarry," which is the only allowed delivery mode for the current schema. | |||||||
Proposed Solution | Ignore the deleted lines when determining the delivery mode. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0150222) hgbot (developer) 2023-05-24 14:22 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1840 [^] |
(0150227) hgbot (developer) 2023-05-24 14:30 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1211 [^] |
(0150264) hgbot (developer) 2023-05-25 09:52 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1211 [^] |
(0150265) hgbot (developer) 2023-05-25 09:52 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 2a06af68b417feffc2acdad24290a56e30e5d0e3 Author: ruben.jimenez <ruben.jimenez@openbravo.com> Date: 24-05-2023 14:27:54 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/2a06af68b417feffc2acdad24290a56e30e5d0e3 [^] Fixed ISSUE-52552:Ignore deleted lines to get delivery mode in sales orders --- M src/org/openbravo/retail/posterminal/PaidReceiptsFilterProperties.java --- |
(0150267) hgbot (developer) 2023-05-25 09:53 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 4b7deef4be85ed6de190133e12c5e8b4aebbffdd Author: ruben.jimenez <ruben.jimenez@openbravo.com> Date: 25-05-2023 07:53:07 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4b7deef4be85ed6de190133e12c5e8b4aebbffdd [^] Fixed ISSUE-52552: Ignored deleted lines to get delivery mode in sales orders --- M src/org/openbravo/pos2/master/PaidReceiptProperties.java --- |
(0150268) hgbot (developer) 2023-05-25 09:53 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1840 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2023-05-24 12:58 | nicola_uva | Type | design defect => backport |
2023-05-24 12:58 | nicola_uva | Target Version | main => 23Q2.1 |
2023-05-24 14:22 | hgbot | Note Added: 0150222 | |
2023-05-24 14:30 | hgbot | Note Added: 0150227 | |
2023-05-25 09:52 | hgbot | Resolution | open => fixed |
2023-05-25 09:52 | hgbot | Status | scheduled => closed |
2023-05-25 09:52 | hgbot | Note Added: 0150264 | |
2023-05-25 09:52 | hgbot | Fixed in Version | => RR23Q2.1 |
2023-05-25 09:52 | hgbot | Note Added: 0150265 | |
2023-05-25 09:53 | hgbot | Fixed in Version | RR23Q2.1 => 23Q2.1 |
2023-05-25 09:53 | hgbot | Note Added: 0150267 | |
2023-05-25 09:53 | hgbot | Note Added: 0150268 |
Copyright © 2000 - 2009 MantisBT Group |