Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043540 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2020-03-23 10:14 | 2020-05-04 12:17 | |||
Reporter | shankarb | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | unable to reproduce | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 15299 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0043540: Duplication of lines in Verified Returns if the order line has multiple shipment lines | |||||||
Description | There is an issue of duplicated lines and incorrect quantities when doing returns for a customer. The issue comes from Picking the Product Quantity for the Return Receipts from the shipments. If there are multiple shipment lines for the same order line, then while doing Verified Returns, they select one line, but multiple lines are added based on the number of shipments. Also in this same scenario, the quantity is set to -1 instead of the actual quantity. Refer support ticket for more information. | |||||||
Steps To Reproduce | 1. Configure a product back office with multiple attributes and different stocks. 2. In POS, Create a ticket for a product. 3. Make sure to give enough quantity so that the Product is picking up 2 different attribute values. 4. Complete the ticket. 5. In the back office check that for the Sales Order line of this Product, there are multiple shipment lines created. 6. In POS, go to Verified returns. 7. Select the previous order and select the Product configured above. 8. Select the desired quantity and click Apply. 9. Notice that multiple return lines are created and the quantity is also incorrect. | |||||||
Proposed Solution | The issue about the quantity comes in OB.UTIL.ReturnUtils.addReturnLines method. Here, var qty = line.selectedQuantity; if (receipt.get('orderType') !== 1) { qty = qty ? -qty : -1; } The selectedQuantity is null in case of multiple shipment lines, so the system sets -1 as default. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0119514) ranjith_qualiantech_com (viewer) 2020-05-04 09:56 |
Issue is not reproducible from 19Q2 and its reproducible in 18Q4 and 19Q1. Issue is fixed in https://issues.openbravo.com/view.php?id=40185 [^] |
(0119525) marvintm (viewer) 2020-05-04 12:17 |
Issue cannot be reproduced in pi. We are trying to find the changeset that fixed it, if we find it we will add a note with the link. |
![]() |
|||
Date Modified | Username | Field | Change |
2020-03-23 10:14 | shankarb | New Issue | |
2020-03-23 10:14 | shankarb | Assigned To | => Retail |
2020-03-23 10:14 | shankarb | OBNetwork customer | => OBPS |
2020-03-23 10:14 | shankarb | Support ticket | => 15299 |
2020-03-23 10:14 | shankarb | Resolution time | => 1586728800 |
2020-03-23 10:14 | shankarb | Triggers an Emergency Pack | => No |
2020-03-23 14:04 | rqueralta | Assigned To | Retail => rqueralta |
2020-03-23 14:06 | rqueralta | Status | new => scheduled |
2020-04-02 10:13 | guilleaer | Assigned To | rqueralta => Retail |
2020-04-02 10:14 | guilleaer | Status | scheduled => feedback |
2020-04-02 10:14 | guilleaer | Status | feedback => new |
2020-04-02 13:40 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2020-04-02 13:47 | ranjith_qualiantech_com | Status | new => scheduled |
2020-04-16 11:08 | guilleaer | Assigned To | ranjith_qualiantech_com => shankarb |
2020-04-16 11:08 | guilleaer | Status | scheduled => feedback |
2020-04-27 10:57 | guilleaer | Assigned To | shankarb => Retail |
2020-04-27 10:57 | guilleaer | Status | feedback => new |
2020-04-27 10:57 | guilleaer | Assigned To | Retail => ranjith_qualiantech_com |
2020-04-27 10:57 | guilleaer | Status | new => scheduled |
2020-05-04 09:53 | ranjith_qualiantech_com | Relationship added | related to 0040185 |
2020-05-04 09:56 | ranjith_qualiantech_com | Note Added: 0119514 | |
2020-05-04 12:17 | marvintm | Review Assigned To | => marvintm |
2020-05-04 12:17 | marvintm | Note Added: 0119525 | |
2020-05-04 12:17 | marvintm | Status | scheduled => closed |
2020-05-04 12:17 | marvintm | Resolution | open => unable to reproduce |
Copyright © 2000 - 2009 MantisBT Group |