Openbravo Issue Tracking System - POS2
View Issue Details
0048187POS2POSpublic2021-12-01 16:142022-03-01 17:57
timothee_catteeuw 
guilleaer 
normalmajorsometimes
closedno change required 
5
 
TAP 
guilleaer
No
0048187: JIRA 2534 (Custom) - Blocking error when returning a ticket
Sometimes when doing a verified return a blocking error appears and it is not possible to do this return ticket. When it happen it is necessary to close all the opened tickets and do again the return.

Not reproducible on livebuild, just on Test and INT env
Go and login in Webpos
open a new ticket and add several product
Don't go to the payment but just open a new ticket and add several product to this new ticket
switch to payment method for this one and pay
Go to orders historic and select the last order you have done
click on "verified return"
select 1 product by clicking a checkbox
Click apply
An error appears --> Cannot read properties of undefined (reading 'scale'); line: (*)

Actually if you go back (by clicking cancel button) and go the ticket view and then you delete the ticket you didn't finish, you will be able to do your verified return you tried to do previously (no error appears)

AGPCustom
related to defect 0048247 closed prakashmurugesan88 JIRA 2490 - Wrong behavior when external system discount are applied 
related to defect 0048234 closed sntgreale Verified returns and discounts are not having a correct behavior - Case 3 
blocks defect 0048148 closed Retail Verified returns and discounts are not having a correct behavior (Umbrella issue) 
Issue History
2021-12-01 16:14timothee_catteeuwNew Issue
2021-12-01 16:14timothee_catteeuwAssigned To => Retail
2021-12-01 16:14timothee_catteeuwTriggers an Emergency Pack => No
2021-12-17 09:53caristuTag Attached: AGPCustom
2021-12-17 09:54caristuAssigned ToRetail => guilleaer
2021-12-17 09:55caristuStatusnew => acknowledged
2021-12-17 09:55caristuRelationship addedrelated to 0048247
2021-12-17 09:55caristuRelationship addedrelated to 0048234
2021-12-23 09:51guilleaerRelationship addedblocks 0048148
2021-12-23 09:53guilleaerNote Added: 0133929
2021-12-23 10:03guilleaerSummaryJIRA - Blocking error when returning a ticket => JIRA 2534 (Custom) - Blocking error when returning a ticket
2022-01-17 13:21guilleaerStatusacknowledged => scheduled
2022-01-17 13:22guilleaerReview Assigned To => guilleaer
2022-01-17 13:22guilleaerNote Added: 0134329
2022-01-17 13:22guilleaerStatusscheduled => closed
2022-01-17 13:22guilleaerResolutionopen => no change required
2022-03-01 17:57guilleaerNote Added: 0135368

Notes
(0133929)
guilleaer   
2021-12-23 09:53   
It seems that this issue is caused by a wrong customization done in AGP environment (com.openbravo.flunch.integration.comarch.orders/web-jspack/com.openbravo.flunch.integration.comarch.orders/src/model/user-interface/user-actions/ReturnVerifiedTicket.js)

Once all issues about VR (48148) are fixed this file should be removed and this issue re-checked
(0134329)
guilleaer   
2022-01-17 13:22   
Caused by customization file


com.openbravo.flunch.integration.comarch.orders/web-jspack/com.openbravo.flunch.integration.comarch.orders/src/model/user-interface/user-actions/ReturnVerifiedTicket.js
(0135368)
guilleaer   
2022-03-01 17:57   
File removed from FS

https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.integration.comarch.orders/-/merge_requests/13 [^]