Openbravo Issue Tracking System - POS2
View Issue Details
0055804POS2POSpublic2024-06-05 13:142024-06-21 14:35
avicente 
javierRodriguez 
highmajoralways
closedfixed 
5
 
24Q1.324Q1.3 
No
0055804: Wrong json is generated using OB CRM and remote customer when a new location is created for a no sychronized customer
When the OB CRM and remote customers are used, when a BP is not yet in BO (due to an EWI) and the user creates a new location for that customer, an EWI is generated in BO because the JSON sent has all the properties related to the customer as null. It is not possible to know what is the customer for which the location was created.
Configure the OB CRM and remote customers.
In POS, create a new customer forcing an EWI in BP.
In POS, create a new location for that customer.
ISSUE: and EWI is generated for the creation of the BP location because the section 'BusinessPartner' in the JSON has all the properties empty. Even it is not possible to know for which BP the location was created.
No tags attached.
related to backport 005580324Q1.3 closed javierRodriguez Wrong json in an case when OB CRM and remote customers are used. 
related to backport 005580124Q1.3 closed javierRodriguez Empty Customer is assigned to the ticket when we click save and then assign 
blocks defect 0055688 closed javierRodriguez Wrong json is generated using OB CRM and remote customer when a new location is created for a no sychronized customer 
Issue History
2024-06-19 15:52guilleaerTypedefect => backport
2024-06-19 15:52guilleaerTarget Version => 24Q1.3
2024-06-19 16:03guilleaerRelationship addedrelated to 0055803
2024-06-19 16:03guilleaerRelationship addedrelated to 0055801
2024-06-20 10:40hgbotNote Added: 0166129
2024-06-20 11:11hgbotNote Added: 0166131
2024-06-20 11:51hgbotNote Added: 0166133
2024-06-20 12:03hgbotNote Added: 0166137
2024-06-20 12:29hgbotNote Added: 0166150
2024-06-20 12:29hgbotNote Added: 0166151
2024-06-20 12:29hgbotNote Added: 0166152
2024-06-20 12:29hgbotResolutionopen => fixed
2024-06-20 12:29hgbotStatusscheduled => closed
2024-06-20 12:29hgbotFixed in Version => 24Q1.3
2024-06-20 12:29hgbotNote Added: 0166153
2024-06-20 12:29hgbotNote Added: 0166154
2024-06-20 12:29hgbotNote Added: 0166155
2024-06-20 12:29hgbotNote Added: 0166156
2024-06-20 12:29hgbotNote Added: 0166157
2024-06-21 14:35hgbotNote Added: 0166206

Notes
(0166129)
hgbot   
2024-06-20 10:40   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/96 [^]
(0166131)
hgbot   
2024-06-20 11:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/722 [^]
(0166133)
hgbot   
2024-06-20 11:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2745 [^]
(0166137)
hgbot   
2024-06-20 12:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1607 [^]
(0166150)
hgbot   
2024-06-20 12:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: fed93ffc8cc052e072eaa339052ad98b068c56d5
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-06-2024 10:29:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/fed93ffc8cc052e072eaa339052ad98b068c56d5 [^]

Related to ISSUE-55804: [RM-14432 | RM-14426 | RM-14418] Remove try-catch in CustomerAddrLoader to be...

---
M src/org/openbravo/retail/posterminal/CustomerAddrLoader.java
---
(0166151)
hgbot   
2024-06-20 12:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1607 [^]
(0166152)
hgbot   
2024-06-20 12:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2745 [^]
(0166153)
hgbot   
2024-06-20 12:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a2978e8fca861a5a3715d9b6e6d977b28dcb1b05
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-06-2024 10:29:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a2978e8fca861a5a3715d9b6e6d977b28dcb1b05 [^]

Fixed ISSUE-55804: [RM-14432 | RM-14426 | RM-14418] Use cache for recently created/updated Bps

---
M referencedata/standard/CRM_Connector_for_Openbravo_Customers.xml
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerMultiTabDialog/CustomerMultiTabDialogHeader/CustomerMultiTabDialogHeader.jsx
M web-jspack/org.openbravo.pos2/src/services/crm/OBCRMUtils.js
M web-jspack/org.openbravo.pos2/src/services/crm/OBCustomerRelationshipManagement.js
M web-jspack/org.openbravo.pos2/src/services/crm/__test__/OBCRMUtils.test.js
---
(0166154)
hgbot   
2024-06-20 12:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 9eeecb65d04313ca728ec4e5bbe5aa68cacdda59
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-06-2024 10:29:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/9eeecb65d04313ca728ec4e5bbe5aa68cacdda59 [^]

Related to ISSUE-55804: [RM-14432 | RM-14426 | RM-14418] Create cache for recently created/updated Bps and throw error if no BP

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-test/integration/external-business-partner/ExternalBusinessPartnerAPI.test.js
M web/org.openbravo.mobile.core/app/integration/external-business-partner/ExternalBusinessPartnerAPI.js
---
(0166155)
hgbot   
2024-06-20 12:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/722 [^]
(0166156)
hgbot   
2024-06-20 12:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/96 [^]
(0166157)
hgbot   
2024-06-20 12:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata [^]
Changeset: d91cc28206224a81e771cf0c28bc7eda63608125
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-06-2024 10:29:57
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/d91cc28206224a81e771cf0c28bc7eda63608125 [^]

Related to ISSUE-55804: [RM-14432 | RM-14426 | RM-14418] Include posTerminal property for addresses

---
M referencedata/sampledata/The_White_Valley_Group/C_EXTBP_CONFIG_PROPERTY.xml
---
(0166206)
hgbot   
2024-06-21 14:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d3c2f32d512062a2d22c5fc87e985c7ac8990238
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 21-06-2024 14:35:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d3c2f32d512062a2d22c5fc87e985c7ac8990238 [^]

related to ISSUE-55804: ensure object exist before reading property

---
M web-jspack/org.openbravo.pos2/src/services/crm/OBCRMUtils.js
---