Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051958Retail ModulesWeb POSpublic2023-03-23 17:532023-04-17 07:08
rtoledano 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR23Q3 
No
0051958: External BP edition popup: When the validations of the fields have some delay, users need to click two time on Save button
When the validations of the fields have some delay, users need to click two time on Save button.

On clients like Norauto, that have BP field validations(DQM) with some complexity and delays, when users modify such fields, and click directly on save button, they need to click two time the Save button to be able to complete the action.

There is a logic related with the blur events of the fields and the tap event of the Save button that need to be reviewed

To be able to reproduce this issue in PI I have to do a little modification attached to this issue, to inject a delay during field validation of the Input components. Please before follow the steps to reproduce apply the patch attached.
1- Apply the patch attached "forceValidationDelay.diff"
2- Go Backend to the Organization "Vall Blanca Store"
3- On "CRM Connector" section, enable flag "Enable CRM Connector" and select "Sample CRM Integration - Proxy" on the "CRM Connector Configuration" selector
4- Go to Web POS on terminal=VBS-1
5- Assign the customer "John Doo" to the ticket.
6- Edit the customer "John Doo"
7- Do a change on the Zip Code field for example and move the mouse over button Save a click.
8- You can check that you will need to click again to the Save button to complete the action
NORAUTO
diff forceValidationDelay.diff (636) 2023-03-23 17:53
https://issues.openbravo.com/file_download.php?file_id=18303&type=bug
Issue History
2023-03-23 17:53rtoledanoNew Issue
2023-03-23 17:53rtoledanoAssigned To => Retail
2023-03-23 17:53rtoledanoFile Added: forceValidationDelay.diff
2023-03-23 17:53rtoledanoTriggers an Emergency Pack => No
2023-03-23 17:55rtoledanoTag Attached: NORAUTO
2023-03-27 08:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-03-27 08:13ranjith_qualiantech_comStatusnew => scheduled
2023-04-10 07:17hgbotNote Added: 0148341
2023-04-17 07:08hgbotResolutionopen => fixed
2023-04-17 07:08hgbotStatusscheduled => closed
2023-04-17 07:08hgbotNote Added: 0148455
2023-04-17 07:08hgbotFixed in Version => RR23Q3
2023-04-17 07:08hgbotNote Added: 0148456

Notes
(0148341)
hgbot   
2023-04-10 07:17   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1134 [^]
(0148455)
hgbot   
2023-04-17 07:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1134 [^]
(0148456)
hgbot   
2023-04-17 07:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5f98b33b2330238c47371a8c961c3bc5906963e7
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 17-04-2023 05:08:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5f98b33b2330238c47371a8c961c3bc5906963e7 [^]

Fixed ISSUE-51958: Removed ProcessListener for ExtBp Save action
* Saving of ExtBp should be prevented, if process "extbp_propertychanged" is active

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/components/externalbusinesspartner_viewedit.js
---