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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051683
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-02-23 13:342023-05-22 18:03
Reporterdorian_robillardView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051683: It s possible to refund more quantities as quantity salt in a verified return

DescriptionI can do it by 2 different way

Create several return from a same sales order
https://drive.google.com/file/d/17IWm03Uhn9M1aI3ch9VuApTLXc3_QZEV/view?usp=share_link [^]

Create only one return but with more product as quantities sold
https://drive.google.com/file/d/1ZJ7KetkzVMlZCsMZ7dfoeUO_JuxEKHiq/view?usp=share_link [^]
Steps To ReproduceCase 1 : Create several return from a same sales order
1) Make a return ticket and put the ticket on hold
2) Make a return with the same product for the same ticket and put the ticket on hold
3) Return the 1st ticket on hold => the product is successfully returned
4) Return the 2nd ticket on hold => the product is returned twice

Case 2 : Create only one return but with more product as quantities sold
1) Complete an order with same products ( ex : quantity 7)
2) Do a partial verify return on this ticket without refunding
3) select the quantity to return according to this ticket
4) DO an other partial verified return without refunding
5) Do an other partial verified return without refunding
result : it’s possible to return more than initial quantity ( ex : quantity return= 13)
TagsFASH
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051499 closedRetail can return more items than the original ticket had 

-  Notes
(0148932)
hgbot (developer)
2023-04-26 15:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/52 [^]
(0148933)
hgbot (developer)
2023-04-26 15:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1729 [^]
(0150092)
hgbot (developer)
2023-05-22 18:03

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: 8910fe9cfe280d25056b0a389537f77b333db9df
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 22-05-2023 11:36:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/8910fe9cfe280d25056b0a389537f77b333db9df [^]

Related to ISSUE-51683: Qty should be validated in all tickets when doing VR
* When validating VR lines with current ticket list,
  linedId should be used instead of id. Since lineId has info of original order lineId

---
M web-test/model/business-object/ticket/actions/ReturnVerifiedTicket-actionPreparation.test.js
M web/org.openbravo.retail.returns/app/model/business-object/ticket/actions/ReturnVerifiedTicket.js
---
(0150093)
hgbot (developer)
2023-05-22 18:03

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/52 [^]
(0150094)
hgbot (developer)
2023-05-22 18:03

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1729 [^]
(0150095)
hgbot (developer)
2023-05-22 18:03

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 92f033137ef1f42b3ba25e5de13f603522090c15
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 22-05-2023 15:53:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/92f033137ef1f42b3ba25e5de13f603522090c15 [^]

Fixed ISSUE-51683: RemainingQty in VR Popup should be updated based on current ticket
* If current ticket has multiple VR lines, then remaining qty in VR popup
  should be updated based on all VR lines from current ticket

---
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/VerifiedReturnsGridDataSource.js
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/__test__/VerifiedReturnsGridDataSource.test.js
---

- Issue History
Date Modified Username Field Change
2023-02-23 13:34 dorian_robillard New Issue
2023-02-23 13:34 dorian_robillard Assigned To => Triage Platform Base
2023-02-23 13:34 dorian_robillard Triggers an Emergency Pack => No
2023-04-17 16:24 rafaroda Tag Attached: FASH
2023-04-17 18:23 marvintm Assigned To Triage Platform Base => Retail
2023-04-17 18:23 marvintm Category Core => POS
2023-04-18 06:52 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-04-18 14:44 ranjith_qualiantech_com Status new => scheduled
2023-04-26 15:42 hgbot Note Added: 0148932
2023-04-26 15:42 hgbot Note Added: 0148933
2023-04-27 15:28 lorenzofidalgo Relationship added related to 0051499
2023-05-22 18:03 hgbot Note Added: 0150092
2023-05-22 18:03 hgbot Note Added: 0150093
2023-05-22 18:03 hgbot Resolution open => fixed
2023-05-22 18:03 hgbot Status scheduled => closed
2023-05-22 18:03 hgbot Note Added: 0150094
2023-05-22 18:03 hgbot Fixed in Version => 23Q3
2023-05-22 18:03 hgbot Note Added: 0150095


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker