Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045871Retail ModulesWeb POSpublic2021-02-09 12:142021-02-16 18:20
maite 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR21Q2 
No
0045871: Void Layaway ticket stuck in EWI with error "This order contains not fully delivered line(s) with deferred services related"
Instead of showing the correct message, the ticket is synchronized and stuck in Errors While Importing window
0. Access Product window in backoffice and set WVG/S000048 as "allow deferred sale"
1. Access to VBS-1 terminal and create LAYAWAY ticket for product WVG/T0003.
2. Open the previous Layaway, click on the line, go to Show More and to Related Services. Select the service and choose "create new receipt" option. Pay this new receipt
3. Once you are back in the layaway choose "Void this Layaway" option from the menu and press OK
4. Access to backoffice, to Data Import Entry window and realize that the Void layaway is stuck with an error. Moreover, check the openbravo.log file and confirm that error has been raised "This order contains not fully delivered line(s) with deferred services related. Is not possible to cancel a line which has related services. Cancel the service before canceling this order. Related orders: VBS1/0000002" (which will be the error shown in the Errors While Importing window as soon as the "id to load is required for loading" error is fixed)

NOTE: if you follow same steps and in step 3) you select "Cancel this layaway" option (instead of Void this layaway) proper message will be raised
Tha same message that is shown when running "Cancel this layaway" option should be launched when running "Void this layaway" option
No tags attached.
related to defect 0045872 closed ranjith_qualiantech_com "id to load is required for loading" error in VoidLayawayEntryProcessor 
patch Fixed-BUG-45871-20Q1.patch (4,642) 2021-02-16 18:20
https://issues.openbravo.com/file_download.php?file_id=15329&type=bug
Issue History
2021-02-09 12:14maiteNew Issue
2021-02-09 12:14maiteAssigned To => Retail
2021-02-09 12:14maiteResolution time => 1614034800
2021-02-09 12:14maiteTriggers an Emergency Pack => No
2021-02-09 12:16maiteRelationship addedrelated to 0045872
2021-02-10 18:11rqueraltaAssigned ToRetail => rqueralta
2021-02-10 18:11rqueraltaStatusnew => scheduled
2021-02-12 15:20hgbotNote Added: 0126096
2021-02-15 07:30hgbotResolutionopen => fixed
2021-02-15 07:30hgbotStatusscheduled => closed
2021-02-15 07:30hgbotNote Added: 0126110
2021-02-15 07:30hgbotFixed in Version => RR21Q2
2021-02-15 07:30hgbotNote Added: 0126111
2021-02-16 18:20rqueraltaFile Added: Fixed-BUG-45871-20Q1.patch

Notes
(0126096)
hgbot   
2021-02-12 15:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/299 [^]
(0126110)
hgbot   
2021-02-15 07:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/299 [^]
(0126111)
hgbot   
2021-02-15 07:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ac8e6ec88636b8876af901848421867a758d9a2c
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-02-15T06:30:27+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ac8e6ec88636b8876af901848421867a758d9a2c [^]

Fixed BUG-45871: Added the same validation for deferred services of Cancel Layaway in Void Layaway

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/components/menu.js
---