Openbravo Issue Tracking System - POS2
View Issue Details
0050418POS2POSpublic2022-10-05 13:072022-10-10 08:32
ebecerra 
ebecerra 
normalmajorhave not tried
closedfixed 
5
 
 
No
0050418: CRM: Allow to optionally have differents way to get specific customer information
Current CRM connector has a method to retrieve the full customer details (getCustomerById) but this method in some circumstances is quite heavy

Real example: When results of remote orders are shown we do one request per each result.

Would be great to have a separated function which is invoked from the list of orders to retrieve the customer in which implementator can decide
-> Not ask for data
-> return a light object
-> Manager errors better (if customer is not found, show not found instead of an irrelevant error)

This should be done in a way that when the new method is not implemented, the old one will be called making this change completely transparent
N/A
Must be added a new function to CRM connector API to be called when the customer information must be recover from a list of results, and thit new functions will be called when used in list.

Note: If the new function is not defined at CRM implementation the system must be work as current version

No tags attached.
Issue History
2022-10-05 13:07ebecerraNew Issue
2022-10-05 13:07ebecerraAssigned To => ebecerra
2022-10-05 13:07ebecerraTriggers an Emergency Pack => No
2022-10-05 13:07ebecerraStatusnew => scheduled
2022-10-05 13:18guilleaerSummaryCRM: Allow to optionally have differents way to get customers external information => CRM: Allow to optionally have differents way to get specific customer information
2022-10-05 13:18guilleaerDescription Updatedbug_revision_view_page.php?rev_id=24826#r24826
2022-10-05 13:36hgbotNote Added: 0141681
2022-10-05 13:55hgbotNote Added: 0141683
2022-10-10 08:27hgbotResolutionopen => fixed
2022-10-10 08:27hgbotStatusscheduled => closed
2022-10-10 08:27hgbotNote Added: 0141874
2022-10-10 08:27hgbotFixed in Version => RR23Q1
2022-10-10 08:27hgbotNote Added: 0141875
2022-10-10 08:32hgbotNote Added: 0141876
2022-10-10 08:32hgbotNote Added: 0141877

Notes
(0141681)
hgbot   
2022-10-05 13:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/417 [^]
(0141683)
hgbot   
2022-10-05 13:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1248 [^]
(0141874)
hgbot   
2022-10-10 08:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/417 [^]
(0141875)
hgbot   
2022-10-10 08:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 936b8c790b96379fdaffcb449bb12fea6deaef36
Author: Eduardo Becerra <eduardo.becerra@openbravo.com>
Date: 10-10-2022 06:26:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/936b8c790b96379fdaffcb449bb12fea6deaef36 [^]

Fixes ISSUE-50418: Add a new function (getBusinessPartnerFromList) add to CRM connector

---
M web/org.openbravo.mobile.core/app/integration/external-business-partner/ExternalBusinessPartnerAPI.js
M web/org.openbravo.mobile.core/app/integration/external-business-partner/ExternalBusinessPartnerRepository.js
---
(0141876)
hgbot   
2022-10-10 08:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: adab7bbdfcb2d38a0cdfe10101fe1472808fa757
Author: Eduardo Becerra <eduardo.becerra@openbravo.com>
Date: 10-10-2022 06:28:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/adab7bbdfcb2d38a0cdfe10101fe1472808fa757 [^]

Related ISSUE-50418: Use the new function (getBusinessPartnerFromList) when list remote orders

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/components/TicketList/TicketListRemoteGrid/render/TicketRemoteCustomerCellRender.jsx
---
(0141877)
hgbot   
2022-10-10 08:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1248 [^]