Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038978Retail ModulesWeb POSpublic2018-07-17 15:562018-07-31 09:08
rafaroda 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR18Q4 
marvintm
Packaging and release
2018-06-02
main
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a0b72cf6d1ca0e962cfda8e257fbca2a75bbf158 [^]
No
0038978: Problems with Date Picker: can't save change of day in Birthday
Problems with Date Picker: can't save change of day in Birthday

If I change Month or Year of a date and save it works.
In Livebuilds:
1. Log into https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]
2. Set the preference WEB POS Show BusinessPartner Birth Information = Y.
3. Log into https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#login [^]
4. Search and select an existing customer
5. Edit it and set a date for him: if you set a date after today you get an error message and are not able to change and save: KO
6. Set a date before today and save
7. Edit the customer again and try to change the day of the birthday and Save: KO, new day is not saved
If you change the Month or the Year it works.
Might this issue have caused the regression? 0038429
No tags attached.
depends on backport 0039053RR18Q3 closed ranjith_qualiantech_com Problems with Date Picker: can't save change of day in Birthday 
caused by defect 0038429 closed ranjith_qualiantech_com User must select the month before the day depend on the current month. 
has duplicate defect 0038987 closed Retail Datepicker component is not setting the correct date if only day is modified 
Issue History
2018-07-17 15:56rafarodaNew Issue
2018-07-17 15:56rafarodaAssigned To => Retail
2018-07-17 15:56rafarodaTriggers an Emergency Pack => No
2018-07-17 15:57rafarodaRelationship addedrelated to 0038429
2018-07-18 12:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-07-18 12:40ranjith_qualiantech_comStatusnew => scheduled
2018-07-18 17:14jonibcRelationship addedhas duplicate 0038987
2018-07-24 07:53hgbotCheckin
2018-07-24 07:53hgbotNote Added: 0105849
2018-07-24 07:53hgbotCheckin
2018-07-24 07:53hgbotNote Added: 0105850
2018-07-24 07:53hgbotStatusscheduled => resolved
2018-07-24 07:53hgbotResolutionopen => fixed
2018-07-24 07:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/306d14f7b6aae72faa8e0be4e7bdb503973aa7b8 [^]
2018-07-26 10:18ranjith_qualiantech_comRegression level => Pre packaging ( pi )
2018-07-26 10:18ranjith_qualiantech_comRegression date => 2018-06-02
2018-07-26 10:18ranjith_qualiantech_comRegression introduced in release => pi
2018-07-26 10:18ranjith_qualiantech_comRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a0b72cf6d1ca0e962cfda8e257fbca2a75bbf158 [^]
2018-07-26 10:18ranjith_qualiantech_comNote Added: 0105954
2018-07-26 10:18ranjith_qualiantech_comStatusresolved => new
2018-07-26 10:18ranjith_qualiantech_comResolutionfixed => open
2018-07-26 10:18ranjith_qualiantech_comStatusnew => scheduled
2018-07-26 10:20marvintmRegression levelPre packaging ( pi ) => Packaging and release
2018-07-26 10:20marvintmRegression introduced in releasepi => main
2018-07-26 10:20marvintmStatusscheduled => resolved
2018-07-26 10:20marvintmFixed in Version => RR18Q4
2018-07-26 10:20marvintmResolutionopen => fixed
2018-07-27 10:22dmitry_mezentsevRelationship replacedcaused by 0038429
2018-07-31 09:08marvintmReview Assigned To => marvintm
2018-07-31 09:08marvintmStatusresolved => closed

Notes
(0105849)
hgbot   
2018-07-24 07:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dd65c311efbfffc316f6bf6cd0e2c3ad1fa85615
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 24 11:23:21 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dd65c311efbfffc316f6bf6cd0e2c3ad1fa85615 [^]

Related to issue 38978 : Customer Save button should be enabled when validation fails

* IN Customer Create/Edit popup, If birthDate validation or any other is failed, Save button should be enabled again

---
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
---
(0105850)
hgbot   
2018-07-24 07:53   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 306d14f7b6aae72faa8e0be4e7bdb503973aa7b8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 24 11:23:08 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/306d14f7b6aae72faa8e0be4e7bdb503973aa7b8 [^]

Fixed issue 38978 : Date shoudl be updated when changing the day in date picker

* If we change the day (and month and year is empty), we should not set the date picker value.
* If we change the day and month and year is selected, then we have to set the date picker value

---
M web/org.openbravo.mobile.core/build/lib.js
---
(0105954)
ranjith_qualiantech_com   
2018-07-26 10:18   
Reopened to create backport