Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0043540 | Retail Modules | Web POS | public | 2020-03-23 10:14 | 2020-05-04 12:17 | |||||||
Reporter | shankarb | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | unable to reproduce | |||||||||
Platform | OS | 30 | OS Version | Openbravo Appliance 14.04 | ||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
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. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|