Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043575Retail ModulesWeb POSpublic2020-03-09 14:202020-04-23 17:26
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q1.1RR20Q1.1 
marvintm
Production - QA Approved
2019-12-07
RR20Q1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/annotate/2952cba75b5a/web/org.openbravo.retail.posterminal/js/receiptMultiLineEdit.js#l872 [^]
No
0043575: JS error when leaving the Delivery Date empty after changing the Delivery mode of a line
JS error when leaving the Delivery Date empty after changing the Delivery mode of a line to

Pickup in store with date
Home Delivery
In the backoffice:
   Set the Web POS Enable Delivery Modes preference to Y

In the POS:
   Add a line
   Change the Delivery Mode to "Pickup in store with date"
   Do not set a Delivery Date
   Apply
   
   The following error is shown in the browser:
      TypeError: dateSelected.toDateString is not a function at Object.applyChanges...

   The same problem happens with Home Delivery
No tags attached.
blocks defect 0043460 closed rqueralta JS error when leaving the Delivery Date empty after changing the Delivery mode of a line 
Issue History
2020-03-25 15:52jorge-garciaTypedefect => backport
2020-03-25 15:52jorge-garciaTarget Version => RR20Q1.1
2020-04-02 10:05guilleaerAssigned Torqueralta => Retail
2020-04-21 16:54ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-04-22 08:49hgbotCheckin
2020-04-22 08:49hgbotNote Added: 0119320
2020-04-22 08:49hgbotStatusscheduled => resolved
2020-04-22 08:49hgbotResolutionopen => fixed
2020-04-22 08:49hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/602fbdb28a745a76464f47376bba1825a4e7ccba [^] => http://code.openbravo.com/retail/backports/3.0RR20Q1.1/org.openbravo.retail.posterminal/rev/5771519b1737baf4d323c8941ae20875c011bbab [^]
2020-04-23 17:26marvintmReview Assigned Tojorge-garcia => marvintm
2020-04-23 17:26marvintmStatusresolved => closed
2020-04-23 17:26marvintmFixed in Version => RR20Q1.1

Notes
(0119320)
hgbot   
2020-04-22 08:49   
Repository: retail/backports/3.0RR20Q1.1/org.openbravo.retail.posterminal
Changeset: 5771519b1737baf4d323c8941ae20875c011bbab
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Apr 22 12:19:01 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q1.1/org.openbravo.retail.posterminal/rev/5771519b1737baf4d323c8941ae20875c011bbab [^]

Fixed BUG 43575: JS error when leaving the Delivery Date empty after changing
the Delivery mode of a line

- Check if date is empty too

---
M web/org.openbravo.retail.posterminal/js/receiptEdit.js
M web/org.openbravo.retail.posterminal/js/receiptMultiLineEdit.js
---