Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038876Retail ModulesWeb POSpublic2018-06-28 13:282018-07-04 11:10
joniturralde93 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
 
RR18Q2.1RR18Q2.1 
migueldejuana
No
0038876: Module script 'UpdateIsLayaway' doesn't always work
Updated from 17Q4 to 18Q2, and layaways previous to the update have not 'isLayaway' to yes.

In this test, the lawayay was created from POS in 17Q4 and it recognized the order as layaway (it could be open from 'layaways' filter). In 18Q2, if you filter by Order Type 'Layaway', it doesn't find it.

Update database log has not the module script execution (attached).

This may happen for other versions.
1. Install 17Q4 environment with retail modules.
2. Create a layaway in a layaway POS Terminal.
3. Check that you can find it in Web POS, by searching it in 'Layaways' filter.
4. Update to 18Q2 (both core and retail), update database and compile.
5. Go to sales order and check that order. It has 'isLayaway' to NO.
6. Log into POS Terminal and 'Open Receipt', search by 'Order Type' and select 'Layaway'. The system doesn't recognize the order as such.

No tags attached.
blocks defect 0038856 closed ranjith_qualiantech_com Module script 'UpdateIsLayaway' doesn't always work 
Issue History
2018-07-03 08:56migueldejuanaTypedefect => backport
2018-07-03 08:56migueldejuanaTarget Version => RR18Q2.1
2018-07-03 18:27hgbotCheckin
2018-07-03 18:27hgbotNote Added: 0105564
2018-07-03 18:27hgbotStatusscheduled => resolved
2018-07-03 18:27hgbotResolutionopen => fixed
2018-07-03 18:27hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q2.1/org.openbravo.retail.posterminal/rev/4d979aac967559cd212999ee309be6e5279323aa [^]
2018-07-04 11:10migueldejuanaReview Assigned To => migueldejuana
2018-07-04 11:10migueldejuanaNote Added: 0105570
2018-07-04 11:10migueldejuanaStatusresolved => closed
2018-07-04 11:10migueldejuanaFixed in Version => RR18Q2.1

Notes
(0105564)
hgbot   
2018-07-03 18:27   
Repository: retail/backports/3.0RR18Q2.1/org.openbravo.retail.posterminal
Changeset: 4d979aac967559cd212999ee309be6e5279323aa
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 03 21:57:24 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2.1/org.openbravo.retail.posterminal/rev/4d979aac967559cd212999ee309be6e5279323aa [^]

Fixed issue 38876 : Updated ModuleScript UpdateIsLayaway to 18Q1

* Updated UpdateIsLayaway ModuleScript to execute when upated to 18Q1 form previous versions

---
M build/classes/org/openbravo/retail/posterminal/modulescript/UpdateIsLayaway.class
M src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/UpdateIsLayaway.java
---
(0105570)
migueldejuana   
2018-07-04 11:10   
Reviewed