Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043540
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-03-23 10:142020-05-04 12:17
ReportershankarbView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043540: Duplication of lines in Verified Returns if the order line has multiple shipment lines

DescriptionThere 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 Reproduce1. 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 SolutionThe 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040185 closedrqueralta Wrong Verified Return on an order that has a line split into different Storage Bins 

-  Notes
(0119514)
ranjith_qualiantech_com (developer)
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 (manager)
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.

- 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 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
Powered by Mantis Bugtracker