Openbravo Issue Tracking System - POS2
View Issue Details
0057411POS2POSpublic2024-12-10 13:222025-01-23 09:02
sofidossant 
Bimla_vm 
highmajoralways
closedfixed 
5
pi 
pi25Q2 
No
0057411: 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.
depends on backport 005773125Q1 closed Bimla_vm NULL in address with CRM 
depends on backport 005773224Q4.2 closed Bimla_vm NULL in address with CRM 
png POSAddress.png (47,973) 2024-12-26 17:18
https://issues.openbravo.com/file_download.php?file_id=20690&type=bug
png

png BOAddress.png (111,722) 2024-12-26 17:19
https://issues.openbravo.com/file_download.php?file_id=20691&type=bug
png
Issue History
2024-12-10 13:22sofidossantNew Issue
2024-12-10 13:22sofidossantAssigned To => Retail
2024-12-10 13:22sofidossantTriggers an Emergency Pack => No
2024-12-10 13:25sofidossantNote Added: 0173146
2024-12-11 14:44guilleaerAssigned ToRetail => guilleaer
2024-12-11 14:44guilleaerStatusnew => acknowledged
2024-12-12 04:48Bimla_vmAssigned Toguilleaer => Bimla_vm
2024-12-12 04:48Bimla_vmStatusacknowledged => scheduled
2024-12-17 06:28hgbotNote Added: 0173352
2024-12-18 19:21hgbotResolutionopen => fixed
2024-12-18 19:21hgbotStatusscheduled => closed
2024-12-18 19:21hgbotFixed in Version => RR25Q1
2024-12-18 19:21hgbotNote Added: 0173462
2024-12-18 19:21hgbotNote Added: 0173463
2024-12-26 17:18axelmercadoNote Added: 0173682
2024-12-26 17:18axelmercadoPrioritynormal => high
2024-12-26 17:18axelmercadoStatusclosed => new
2024-12-26 17:18axelmercadoFixed in VersionRR25Q1 =>
2024-12-26 17:18axelmercadoIssue Monitored: axelmercado
2024-12-26 17:18axelmercadoFile Added: POSAddress.png
2024-12-26 17:19axelmercadoFile Added: BOAddress.png
2024-12-30 07:59Bimla_vmStatusnew => scheduled
2025-01-02 06:57hgbotNote Added: 0173779
2025-01-06 05:55hgbotNote Added: 0173851
2025-01-10 11:48hgbotNote Added: 0173996
2025-01-10 11:48hgbotNote Added: 0173997
2025-01-10 11:48hgbotNote Added: 0173998
2025-01-10 11:48hgbotStatusscheduled => closed
2025-01-10 11:48hgbotFixed in Version => RR25Q2
2025-01-10 11:48hgbotNote Added: 0173999
2025-01-21 20:02ivazquezSeverityminor => major
2025-01-21 20:02ivazquezStatusclosed => new
2025-01-21 20:02ivazquezResolutionfixed => open
2025-01-21 20:02ivazquezETAnone => < 1 month
2025-01-21 20:02ivazquezFixed in VersionRR25Q2 =>
2025-01-21 20:02ivazquezTarget Version => pi
2025-01-21 20:04ivazquezNote Added: 0174484
2025-01-21 20:08ivazquezIssue Monitored: ivazquez
2025-01-23 09:02guilleaerStatusnew => scheduled
2025-01-23 09:02guilleaerStatusscheduled => resolved
2025-01-23 09:02guilleaerResolutionopen => fixed
2025-01-23 09:02guilleaerStatusresolved => closed
2025-01-23 09:02guilleaerFixed in Version => 25Q2

Notes
(0173146)
sofidossant   
2024-12-10 13:25   
VIDEO
https://drive.google.com/file/d/1PXPEbx0TQ9m8qAgnQgAVV3h0rNOd3N56/view?usp=sharing [^]
(0173352)
hgbot   
2024-12-17 06:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1851 [^]
(0173462)
hgbot   
2024-12-18 19:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1851 [^]
(0173463)
hgbot   
2024-12-18 19:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 10d7d053072a8982f9575a4122bcabc1aebfd24f
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 18-12-2024 18:21:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/10d7d053072a8982f9575a4122bcabc1aebfd24f [^]

Fixed ISSUE-57411: Changed the condition used to check the name of address

---
M src/org/openbravo/retail/posterminal/CustomerAddrLoader.java
---
(0173682)
axelmercado   
2024-12-26 17:18   
Hi team,

I am reopening the issue because the problem keeps recurring, plus we don't know why now the POS address shows the zip code but not in BackOffice.
I think the fix is wrong, checking the commit I can notice that the fields are still set to “null” and not an empty string.

See screenshots.
(0173779)
hgbot   
2025-01-02 06:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1866 [^]
(0173851)
hgbot   
2025-01-06 05:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/794 [^]
(0173996)
hgbot   
2025-01-10 11:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: de7048670b15064221ec3e78f59c2ee6a514d117
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 10-01-2025 10:48:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/de7048670b15064221ec3e78f59c2ee6a514d117 [^]

Related to ISSUE-57411: Display <unknown identifier> when crm 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
---
(0173997)
hgbot   
2025-01-10 11:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/794 [^]
(0173998)
hgbot   
2025-01-10 11:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1866 [^]
(0173999)
hgbot   
2025-01-10 11:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a9589b5e577e697833f1715c9ea47392eb71fa06
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 10-01-2025 10:48:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a9589b5e577e697833f1715c9ea47392eb71fa06 [^]

Fixed ISSUE-57411: Added condition to check the values for city and postal code

---
M src/org/openbravo/retail/posterminal/CustomerAddrLoader.java
M src/org/openbravo/retail/posterminal/master/BPLocationProperties.java
---
(0174484)
ivazquez   
2025-01-21 20:04   
Dear Team,

I am reopening the issue because the problem keeps happening.

You can see all the configurations to make and a video reproducing the problem in live builds here:

https://drive.google.com/drive/folders/11-7Ru6NnsjZoTkSpxS5EBs0zpz_jok3u?usp=drive_link [^]

Any doubts please don't hesitate to contact me.

Regards,
Ignacio Vazquez