Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047626Retail ModulesWeb POSpublic2021-09-03 03:462021-09-10 13:02
collazoandy4 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
RR21Q4 
jorge-garcia
No
0047626: Required email field is empty in Customer details popup
When the customer email is required and the form validation in customerCreateAndEdit popup is trigged the required email validation is raised but the empty email attribute is saved in the object, therefore the customer details popup shows the email field as empty
Log in YS-11 Pos Terminal
Open Customers popup and search for Carl Studson
Click on View Details context menu
Click on Edit Customer button
Set Commercial Auth check to true, check email option and fill email field
Click on Save button and check the customer has the email saved
Click on Edit Customer button
Remove email field
Click on Save button and check the required field warning is shown (this is OK)
Click on Cancel button and check the details popup shows the email field empty
Clone the customer object used to load the model
No tags attached.
png loadCustomerModel.png (79,303) 2021-09-03 03:46
https://issues.openbravo.com/file_download.php?file_id=16173&type=bug
png
Issue History
2021-09-03 03:46collazoandy4New Issue
2021-09-03 03:46collazoandy4Assigned To => Retail
2021-09-03 03:46collazoandy4File Added: loadCustomerModel.png
2021-09-03 03:46collazoandy4Triggers an Emergency Pack => No
2021-09-08 09:28ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-09-09 02:15hgbotNote Added: 0131666
2021-09-10 11:06jorge-garciaStatusnew => scheduled
2021-09-10 11:06jorge-garciaStatusscheduled => resolved
2021-09-10 11:06jorge-garciaResolutionopen => fixed
2021-09-10 13:02hgbotNote Added: 0131705
2021-09-10 13:02hgbotStatusresolved => closed
2021-09-10 13:02hgbotFixed in Version => RR21Q4
2021-09-10 13:02hgbotNote Added: 0131706
2021-09-10 13:02jorge-garciaReview Assigned To => jorge-garcia

Notes
(0131666)
hgbot   
2021-09-09 02:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/570 [^]
(0131705)
hgbot   
2021-09-10 13:02   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/570 [^]
(0131706)
hgbot   
2021-09-10 13:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5a39960c8818c078e018445574ed0c62ec0afdf0
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-09-10T11:00:21+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5a39960c8818c078e018445574ed0c62ec0afdf0 [^]

Fixed ISSUE-47626: Customer should be cloned when editing the Customer
* To retain the original values of customer when editing, cloned customer should be used

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/customerdetailview.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/editcreatecustomerform.js
---