Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055319Retail ModulesWeb POSpublic2024-04-12 12:012024-04-26 08:19
jonae 
kousalya_r 
normalminorhave not tried
closedfixed 
5
 
RR24Q2 
No
0055319: Customer name and taxID are updatable in the customer collection data in PT
Within the PT localization, there is a validation for which some of the customer data cannot be updated as it must be key:

If the customer file contains taxID, this taxID cannot be updated if for this customer any sale has been fiscalized. Which means, the taxID is the key data for this customer.

If the customer file DOES NOT contain taxID, the customer name cannot be updated if for this customer any sale has been fiscalized.

Currently, in the customer data collection popup, both the customer name and taxID can be updated. For Portugal this could be problematic.

if will be possible for the seller to enter any data do not taken from the customer assigned to the sale, for those cases when such particular data is not available, for instance the address or the Tax ID of the customer.

it will not be possible for the seller to change the “Name” and the “Tax ID” retrieved from the customer assigned to the sale, unless:

there is a validation error of the PT Tax ID provided, so the correct one can be introduced by the seller (as we can not 100% trust the validity of the PT Tax ID provided)

there is a valid “PT Tax ID” assigned to the customer, as that is the only use case where the name of a customer can be changed.
- In a new ticket
- Choose an existant customer
- Pay it
- The name and taxid are editable
No tags attached.
blocks defect 0055184 closed kousalya_r Customer name and taxID are updatable in the customer collection data in PT 
Issue History
2024-04-25 13:43jonaeTypedefect => backport
2024-04-25 13:43jonaeTarget Version => RR24Q2
2024-04-26 08:19hgbotResolutionopen => fixed
2024-04-26 08:19hgbotStatusscheduled => closed
2024-04-26 08:19hgbotNote Added: 0163781

Notes
(0163781)
hgbot   
2024-04-26 08:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client [^]
Changeset: d4c5bda08a1f002bba3a231cabb626283311527b
Author: jonalegria <jon.alegria@openbravo.com>
Date: 26-04-2024 08:18:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/commit/d4c5bda08a1f002bba3a231cabb626283311527b [^]

Fixes ISSUE-55319: Adding backport for 55184 in 24Q2

---
M web-jspack/org.openbravo.events.client/src/components/RequestString.jsx
M web/org.openbravo.events.client/source/components/stringprocess.js
---