Openbravo Issue Tracking System - POS2
View Issue Details
0051835POS2POSpublic2023-03-13 07:482023-03-23 16:02
marvintm 
Retail 
normalminorhave not tried
closedfixed 
5
 
23Q2 
marvintm
No
0051835: A new flag in the CRM connector configuration for properties is needed to identify whether the customer was selected by scanning
A new flag in the CRM connector configuration for properties is needed to identify whether the customer was selected by scanning.

This flag will only be possible to set to a single boolean property.

If it is set, the property will be set to "true" if the customer was scanned. If the customer is selected via the UI selector, it will be set to "false"
.
No tags attached.
Issue History
2023-03-13 07:48marvintmNew Issue
2023-03-13 07:48marvintmAssigned To => Retail
2023-03-13 07:48marvintmTriggers an Emergency Pack => No
2023-03-13 07:50hgbotResolutionopen => fixed
2023-03-13 07:50hgbotStatusnew => resolved
2023-03-13 07:50hgbotFixed in Version => PR23Q2
2023-03-13 07:50hgbotNote Added: 0147454
2023-03-13 07:51hgbotFixed in VersionPR23Q2 => 23Q2
2023-03-13 07:51hgbotNote Added: 0147457
2023-03-13 07:52marvintmReview Assigned To => marvintm
2023-03-13 07:52marvintmStatusresolved => closed
2023-03-13 10:29hgbotNote Added: 0147470
2023-03-23 08:01hgbotNote Added: 0147869
2023-03-23 16:02hgbotNote Added: 0147902

Notes
(0147454)
hgbot   
2023-03-13 07:50   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: f8a266cf8d8e8c699e17b0457a39cd475a5b008a
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 13-03-2023 06:50:24
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f8a266cf8d8e8c699e17b0457a39cd475a5b008a [^]

Fixed ISSUE-51835: Added new flag to the CRM connector property configuration, that allows to identify the property to be set if the customer was scanned.

---
M src-db/database/model/tables/C_EXTBP_CONFIG_PROPERTY.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/event/ExternalBusinessPartnerConfigPropertyEventHandler.java
---
(0147457)
hgbot   
2023-03-13 07:51   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 3e4cebe77fccfbe0b52938b9b4864cf8e5a7d830
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 13-03-2023 06:51:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3e4cebe77fccfbe0b52938b9b4864cf8e5a7d830 [^]

Fixed ISSUE-51835: Property identified by the scanning flag will set to true automatically by the CRM connector configuration, if the customer was scanned.

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AssignExternalBusinessPartner.js
M web-jspack/org.openbravo.pos2/src/services/scan/handlers/CrmConnectorScanEventHandler.js
---
(0147470)
hgbot   
2023-03-13 10:29   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: d998bcffd545bb83bab546754bf6c0a927fb9db6
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 13-03-2023 10:29:21
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/d998bcffd545bb83bab546754bf6c0a927fb9db6 [^]

Related to ISSUE-51835: Added missing property for dbconsistency

---
M referencedata/sampledata/The_White_Valley_Group/C_EXTBP_CONFIG_PROPERTY.xml
---
(0147869)
hgbot   
2023-03-23 08:01   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 64d3b9eb609764b93344092308bef1af14562fae
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 23-03-2023 07:01:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/64d3b9eb609764b93344092308bef1af14562fae [^]

Related to ISSUE-51835: If only the filter used for scanning is used to select a customer using the selector UI, the scanning property will also be set, and discounts associated with it will also be applied.

---
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerSelector/CustomerSelector.jsx
---
(0147902)
hgbot   
2023-03-23 16:02   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 09c733fbb7183b4b1c212bb944fbb5c78e21917f
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 23-03-2023 16:02:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/09c733fbb7183b4b1c212bb944fbb5c78e21917f [^]

Related to ISSUE-51835: Fixed jest test

---
M web-jspack/org.openbravo.pos2/src/components/Customer/__mock__/MockExternalBusinessPartnerListViewData.js
---