Openbravo Issue Tracking System - POS2
View Issue Details
0047447POS2POSpublic2021-07-22 17:232021-11-20 07:17
jarmendariz 
agonzalez 
normalmajoralways
closedfixed 
5
 
 
No
0047447: Cannot add product to a Return order after a removal
After removing some products from a return order, if you try to add another product, the following error message appears:

Cannot destructure property 'qty' of 'org_openbravo_core2_src_core_OB__WEBPACK_IMPORTED_MODULE_0__.default.App.State.getState(...).Ticket.lines.find(...)' as it is undefined.;
See this video: https://youtu.be/DeAAkPYBL3A [^]
No tags attached.
related to backport 0048057TAP closed prakashmurugesan88 JIRA 2492 - Particular issue when returning products with amount = -1 
Issue History
2021-07-22 17:23jarmendarizNew Issue
2021-07-22 17:23jarmendarizAssigned To => Retail
2021-07-22 17:23jarmendarizTriggers an Emergency Pack => No
2021-07-23 11:40dmiguelezStatusnew => acknowledged
2021-07-23 11:40dmiguelezRegression date => 2021-08-06
2021-07-23 11:40dmiguelezResolution time => 1628200800
2021-07-23 11:40dmiguelezRegression date2021-08-06 =>
2021-07-27 15:51dmiguelezAssigned ToRetail => agonzalez
2021-07-27 22:24hgbotNote Added: 0130816
2021-07-28 17:51guilleaerStatusacknowledged => scheduled
2021-07-28 18:03hgbotResolutionopen => fixed
2021-07-28 18:03hgbotStatusscheduled => resolved
2021-07-28 18:03hgbotNote Added: 0130855
2021-07-28 18:03hgbotNote Added: 0130856
2021-07-29 09:21dmiguelezStatusresolved => closed
2021-11-20 07:15prakashmurugesan88Relationship addedrelated to 0048057
2021-11-20 07:17prakashmurugesan88Note Added: 0133230

Notes
(0130816)
hgbot   
2021-07-27 22:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/641 [^]
(0130855)
hgbot   
2021-07-28 18:03   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 124316882c062fd20a12bb4bb63b45b48c1da3c9
Author: Angel González <angel.gonzalez@smfconsulting.es>
Date: 2021-07-28T16:03:15+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/124316882c062fd20a12bb4bb63b45b48c1da3c9 [^]

fixes ISSUE-47447: Reverse the quantity when certain conditions are met on return orders to avoid errors

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddProduct.js
---
(0130856)
hgbot   
2021-07-28 18:03   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/641 [^]
(0133230)
prakashmurugesan88   
2021-11-20 07:17   
Backported to tap as part of the fix of 48057