Openbravo Issue Tracking System - POS2
View Issue Details
0057732POS2POSpublic2024-12-10 13:222025-01-28 12:19
sofidossant 
Bimla_vm 
highmajoralways
closedfixed 
5
pi 
24Q4.2 
No
0057732: NULL in address with CRM
When I mark the CRM fields in address as:
NO Mandatory in Create
NO Mandatory in Edit
Without the check of “Used as Record Identifier”.

Then in webpos2, I add an address to a bp, and when I open again the address I created, it shows NULL in the name field, as well as in the backoffice it saves NULL and not “ ”.
1 - Go to CRM Configuration, Address Mapping, and remove name in the registry.
2 - Go to CRM Configuration, Api Property for Address, NAME field, and configure it:
NO Mandatory in Create
NO Mandatory in Edit
Without the check of “Used as Record Identifier”.
3 . Go to CRM Configuration, Api Property for Address, Country field, and I configure:
check in Yes of “Used as Record Identifier”.
4 - Open webpos2, and create a new address for a customer.
5 - In this new address, add all the information except the address and save.
6 - Go again to this new address, and see the NULL in the address, and if you check in backoffice the NULL is also saved.
No tags attached.
blocks defect 0057411pi closed Bimla_vm NULL in address with CRM 
Issue History
2025-01-23 09:02guilleaerTypedefect => backport
2025-01-23 09:02guilleaerTarget Versionpi => 24Q4.2
2025-01-23 11:22hgbotNote Added: 0174578
2025-01-23 11:23hgbotNote Added: 0174579
2025-01-23 13:44ivazquezIssue Monitored: ivazquez
2025-01-28 12:18hgbotNote Added: 0174812
2025-01-28 12:18hgbotNote Added: 0174813
2025-01-28 12:19hgbotResolutionopen => fixed
2025-01-28 12:19hgbotStatusscheduled => closed
2025-01-28 12:19hgbotNote Added: 0174814
2025-01-28 12:19hgbotFixed in Version => RR24Q4.1
2025-01-28 12:19hgbotNote Added: 0174815

Notes
(0174578)
hgbot   
2025-01-23 11:22   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/805 [^]
(0174579)
hgbot   
2025-01-23 11:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1886 [^]
(0174812)
hgbot   
2025-01-28 12:18   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 04646e08b9be21f18e82aa87bb66d233e8443071
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 23-01-2025 14:59:16
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/04646e08b9be21f18e82aa87bb66d233e8443071 [^]

Related to ISSUE-57732: Display <unknown identifier> when the identifier is empty

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/app/integration/external-business-partner/ExternalBusinessPartnerBase.js
---
(0174813)
hgbot   
2025-01-28 12:18   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/805 [^]
(0174814)
hgbot   
2025-01-28 12:19   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1886 [^]
(0174815)
hgbot   
2025-01-28 12:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ebab32ec9ae4f769773a50dcac2e8da77eea8bfe
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 28-01-2025 11:18:08
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ebab32ec9ae4f769773a50dcac2e8da77eea8bfe [^]

Fixed ISSUE-57732: Modified the conditions to check the customerAddr values

---
M src/org/openbravo/retail/posterminal/CustomerAddrLoader.java
M src/org/openbravo/retail/posterminal/master/BPLocationProperties.java
---