Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038396Retail ModulesWeb POSpublic2018-04-17 13:182018-04-18 11:00
ngarcia 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
RR18Q1.2RR18Q1.2 
marvintm
No
0038396: isInThePast function is called since RR17Q1 but it is not defined until RR18Q2
isInThePast function is called since RR17Q1 but it is not defined until RR18Q2

Used in:

modules/org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/model/businesspartner.js

Defined in:

modules/org.openbravo.mobile.core/web/org.openbravo.mobile.core/source/utils/ob-utilities.js
In 3.0PR18Q1.1:

Backend:
   Set 'WEB POS Show BusinessPartner Birth Information' preference to Y and selected
   Log out and log in

POS:
   Click on the customer
   Search Arturo Montoro
   Add a Birth Date in the future
   Try to Save it and check the following error message is shown
      TypeError: OB.UTIL.isInThePast is not a function at G.d.saveCustomer
No tags attached.
blocks defect 0038392 closed jorge-garcia isInThePast function is called since RR17Q1 but it is not defined until RR18Q2 
Issue History
2018-04-17 17:33jorge-garciaTypedefect => backport
2018-04-17 17:33jorge-garciaTarget Version => RR18Q1.2
2018-04-17 17:40hgbotCheckin
2018-04-17 17:40hgbotNote Added: 0103941
2018-04-17 17:40hgbotStatusscheduled => resolved
2018-04-17 17:40hgbotResolutionopen => fixed
2018-04-17 17:40hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q1.2/org.openbravo.mobile.core/rev/00cf7978ce54572c60cc9899b0604fe8a6f01fa9 [^]
2018-04-17 17:48jorge-garciaAssigned ToRetail => jorge-garcia
2018-04-18 11:00marvintmReview Assigned To => marvintm
2018-04-18 11:00marvintmStatusresolved => closed
2018-04-18 11:00marvintmFixed in Version => RR18Q1.2

Notes
(0103941)
hgbot   
2018-04-17 17:40   
Repository: retail/backports/3.0RR18Q1.2/org.openbravo.mobile.core
Changeset: 00cf7978ce54572c60cc9899b0604fe8a6f01fa9
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Apr 17 17:36:33 2018 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1.2/org.openbravo.mobile.core/rev/00cf7978ce54572c60cc9899b0604fe8a6f01fa9 [^]

Fixed issue 38396: isInThePast function is called since RR17Q1 but
it is not defined until RR18Q2

Added function as it is implemented in 18Q2.

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---