Openbravo Issue Tracking System - POS2
View Issue Details
0047149POS2POSpublic2021-06-15 17:432021-07-07 12:36
javietxe 
AtulOpenbravo 
normalmajorhave not tried
closedopen 
5
 
 
guilleaer
No
0047149: JIRA 2068 - Send by mail: Not able to validate
After payment, in the popup where you can choose how you want to get your receipt (printed, demat, none), you can enter an email address

If there is not a client selected and there is not a DQM configured there is no control to check the validity and there is no way to do the checks in a custom way.

It would be necessary to add some way to add custom validations in this case.
1. Connect to POS
2. Create an order and pay it
3. When finished the order, enter an wrong email address (ex: test.test), then choose to send receipt by email
=> the address is accepted instead of choosing an error
Modify the isValidEmailCheck.js to be able to add custom code in the validation. The line is marked with:

// TODO Pending to implement default logic when no provider has been found
  return true;
No tags attached.
Issue History
2021-06-15 17:43javietxeNew Issue
2021-06-15 17:43javietxeAssigned To => Retail
2021-06-15 17:43javietxeResolution time => 1624917600
2021-06-15 17:43javietxeTriggers an Emergency Pack => No
2021-06-16 18:30dmiguelezStatusnew => scheduled
2021-06-16 18:30dmiguelezStatusscheduled => acknowledged
2021-06-21 13:35guilleaerSummarySend by mail: Not able to validate => JIRA 2068 - Send by mail: Not able to validate
2021-06-23 12:00dmiguelezStatusacknowledged => scheduled
2021-06-23 12:00dmiguelezAssigned ToRetail => AtulOpenbravo
2021-06-29 14:25hgbotNote Added: 0129944
2021-06-29 16:15guilleaerReview Assigned To => guilleaer
2021-06-29 16:15guilleaerNote Added: 0129952
2021-06-29 16:15guilleaerStatusscheduled => closed
2021-07-07 12:36hgbotNote Added: 0130226

Notes
(0129944)
hgbot   
2021-06-29 14:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/582 [^]
(0129952)
guilleaer   
2021-06-29 16:15   
DQM should be used to implement validations
(0130226)
hgbot   
2021-07-07 12:36   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/582 [^]