Openbravo Issue Tracking System - POS2
View Issue Details
0051635POS2POSpublic2023-02-16 17:022023-02-24 00:40
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q2 
No
0051635: When creating a new customer, if one mandatory info is missing, filling it and valid is KO
On Pos2, when I create a new customer, I fill some mandatory info except address. Then I validate.
A error message appears, which is correct because a missing data is found.


Expected result : the mandatory fields are marked in red color and it’s possible to fill them and validate the form

Obtained result : impossible to fill the form. Everything is grayed out.
We have to click on undo and refill the form again.
1- Login in POS2.
2- Click on customer name after create new customer.
3- Fill in all the fields without the address.
4- Click on save.

the mandatory fields are marked in red color and it’s impossible to fill the form. Everything is grayed out.
No tags attached.
depends on backport 005167723Q1 closed meriem_azaf When creating a new customer, if one mandatory info is missing, filling it and valid is KO 
Issue History
2023-02-16 17:02meriem_azafNew Issue
2023-02-16 17:02meriem_azafAssigned To => Retail
2023-02-16 17:02meriem_azafTriggers an Emergency Pack => No
2023-02-16 17:02meriem_azafAssigned ToRetail => meriem_azaf
2023-02-16 17:02meriem_azafStatusnew => scheduled
2023-02-22 14:35hgbotNote Added: 0146878
2023-02-22 14:38hgbotNote Added: 0146881
2023-02-22 16:33meriem_azafStatusscheduled => acknowledged
2023-02-22 16:33meriem_azafAssigned Tomeriem_azaf =>
2023-02-22 16:33meriem_azafAssigned To => meriem_azaf
2023-02-22 16:34meriem_azafStatusacknowledged => scheduled
2023-02-22 16:37meriem_azafStatusscheduled => acknowledged
2023-02-22 16:37meriem_azafStatusacknowledged => scheduled
2023-02-24 00:40hgbotResolutionopen => fixed
2023-02-24 00:40hgbotStatusscheduled => closed
2023-02-24 00:40hgbotNote Added: 0146949
2023-02-24 00:40hgbotFixed in Version => 23Q2
2023-02-24 00:40hgbotNote Added: 0146950

Notes
(0146878)
hgbot   
2023-02-22 14:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/985 [^]
(0146881)
hgbot   
2023-02-22 14:38   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/985 [^]
(0146949)
hgbot   
2023-02-24 00:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/985 [^]
(0146950)
hgbot   
2023-02-24 00:40   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 8852690a7a4ec652c0aa8c6efb456dd56515ca0f
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 22-02-2023 15:05:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8852690a7a4ec652c0aa8c6efb456dd56515ca0f [^]

Fixes ISSUE-51635: When creating a new customer, if one mandatory info is missing, filling it and valid is KO

On Pos2, when I create a new customer, I fill some mandatory info except address. Then I validate.

Obtained result : impossible to fill the form. Everything is grayed out.

The problem was that we validate the field twice, we deciced to cancel one validation by adding isValidation in formHandler.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
M web-jspack/org.openbravo.core2/src/components/Form/FormHandler.js
---