Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038875Retail ModulesWeb POSpublic2018-06-28 13:282018-07-04 11:11
joniturralde93 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
 
RR18Q3RR18Q3 
migueldejuana
No
0038875: 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 => RR18Q3
2018-07-03 18:27hgbotCheckin
2018-07-03 18:27hgbotNote Added: 0105563
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.0RR18Q3/org.openbravo.retail.posterminal/rev/6dbfa1d808687fd35554d926339744ef93fc737c [^]
2018-07-04 11:11migueldejuanaReview Assigned To => migueldejuana
2018-07-04 11:11migueldejuanaNote Added: 0105571
2018-07-04 11:11migueldejuanaStatusresolved => closed
2018-07-04 11:11migueldejuanaFixed in Version => RR18Q3

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

Fixed issue 38875 : 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
---
(0105571)
migueldejuana   
2018-07-04 11:11   
Reviewed