Openbravo Issue Tracking System - POS2
View Issue Details
0057955POS2POSpublic2025-01-31 10:162025-02-16 10:16
jinigo 
sreehari 
normalminoralways
closedfixed 
5
 
24Q4.224Q4.1 
No
0057955: [25Q1] Anonymous customer should not be validated when no email is present
When email validation is configured in the Openbravo CRM, the anonymous customer (VBS Customer) is marked as invalid if no email is associated with it. This is incorrect because the anonymous customer is not supposed to have an email, and therefore should not be subject to validation.
1. Go to Backoffice
2. Go to CRM Connector Configuration
3. Select Openbravo CRM
4. In 'API Property for Customer' select 'email'
5. In Validations & Notifications set the following values:
- Validation: Informative
- Validation Type: Empty
- Show Notification Icon in Order Header: Wrong Format
6. Ensure that 'VSB Customer' has not email (Business Partner -> VBS Customer -> Contact subtab)
7. Log in to POS2
8. Click VBS Customer -> New customer
9. Complete Greetings, Name and Last Name
10. Click Save and Assign
11. Click 'Not now' in 'Incorrect Customer Data Detected'

Error icon is shown next to the customer (correct)

12. Select any product and complete a payment

Error icon is shown next to anonymous customer (incorrect)
No tags attached.
blocks defect 0057815 closed Bimla_vm [25Q1] Anonymous customer should not be validated when no email is present 
Issue History
2025-02-12 07:16sreehariTypedefect => backport
2025-02-12 07:16sreehariTarget Version => 24Q4.2
2025-02-12 07:17sreehariAssigned ToBimla_vm => sreehari
2025-02-12 18:24hgbotNote Added: 0175545
2025-02-12 18:25hgbotNote Added: 0175546
2025-02-12 18:26hgbotNote Added: 0175547
2025-02-16 10:15hgbotResolutionopen => fixed
2025-02-16 10:15hgbotStatusscheduled => closed
2025-02-16 10:15hgbotNote Added: 0175725
2025-02-16 10:15hgbotFixed in Version => 24Q4.1
2025-02-16 10:15hgbotNote Added: 0175726
2025-02-16 10:15hgbotNote Added: 0175727
2025-02-16 10:15hgbotNote Added: 0175728
2025-02-16 10:16hgbotNote Added: 0175729
2025-02-16 10:16hgbotNote Added: 0175730

Notes
(0175545)
hgbot   
2025-02-12 18:24   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3495 [^]
(0175546)
hgbot   
2025-02-12 18:25   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/829 [^]
(0175547)
hgbot   
2025-02-12 18:26   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/80 [^]
(0175725)
hgbot   
2025-02-16 10:15   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3495 [^]
(0175726)
hgbot   
2025-02-16 10:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: ad560c3f11b13689429cc1c4fb0e72d582954722
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 16-02-2025 09:13:15
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/ad560c3f11b13689429cc1c4fb0e72d582954722 [^]

Fixes ISSUE-57955: Removing CRM validation for Anonymous customer

---
M web-jspack/org.openbravo.pos2/src/components/ButtonBar1/__test__/ButtonBar1.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ButtonBar2/__test__/ButtonBar2.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ButtonBar4/__test__/ButtonBar4.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerSelector/CustomerNotification/CustomerNotification.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketBPNotifications/TicketBPNotifications.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketBPNotifications/__test__/TicketBPNotifications.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketHeader/TicketHeaderBPButton/__test__/TicketHeaderBPButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketList/TicketListLocalGrid/__test__/TicketListLocalGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketList/TicketListRemoteGrid/__test__/TicketListRemoteGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/DeleteTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/LoadLocalTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/NewTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/__test__/UnassignExternalBusinessPartner.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/LoadExternalBpNotifications.js
---
(0175727)
hgbot   
2025-02-16 10:15   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 03a5a657e77bf6fb9bcaf2cbac544b1dfdcabfae
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 15-02-2025 21:55:03
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/03a5a657e77bf6fb9bcaf2cbac544b1dfdcabfae [^]

Related ISSUE-57955: Add utility function to make easier to work with anonymous customer

---
M web/org.openbravo.mobile.core/app/integration/external-business-partner/CRMConfigurationHelper.js
---
(0175728)
hgbot   
2025-02-16 10:15   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/829 [^]
(0175729)
hgbot   
2025-02-16 10:16   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: b26cb92d8cad74efc86a1731a3eff1736ddf67fb
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 12-02-2025 22:42:28
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/b26cb92d8cad74efc86a1731a3eff1736ddf67fb [^]

Related ISSUE-57955: Fixed test cases

---
M web-jspack/org.openbravo.retail.loyalty.programs/src/components/LoyaltyTicketBPButton/__test__/LoyaltyTicketBPButton.test.jsx
M web-jspack/org.openbravo.retail.loyalty.programs/src/components/LoyaltyTicketBPButtonWithDocType/__test__/LoyaltyTicketBPButtonWithDocType.test.jsx
---
(0175730)
hgbot   
2025-02-16 10:16   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/80 [^]