Openbravo Issue Tracking System - POS2
View Issue Details
0057354POS2POSpublic2024-12-03 14:592025-02-15 13:02
eliezerSotomayor 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
25Q2 
No
0057354: Support date filter type in customer selector API
The customer selector is not supporting filters of type date. Date filters work like any other filter where you can type any string.
- Create a date filter in POS (backoffice):
   * Log in the backoffice as admin.
   * Set the user role to 'The White Valley Group Admin - The White Valley Group'
   * Go to CRM Connector Configuration
   * Select 'Openbravo BP CRM Integration'
   * Go to the Filter tab
   * Create a filter with this data:
      - Fill Name with 'bpDate'
      - Select Reference with 'Date'
      - Uncheck Translatable field
      - Fill Text with 'Date'
      - Check Selector Filter field
      - Fill Selector Filter Sequence Number with an available number (e.g. 100)
- Call the searchCustomer function with your own code
No tags attached.
Issue History
2024-12-03 14:59eliezerSotomayorNew Issue
2024-12-03 14:59eliezerSotomayorAssigned To => Retail
2024-12-03 14:59eliezerSotomayorTriggers an Emergency Pack => No
2024-12-03 15:10eliezerSotomayorSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28873#r28873
2024-12-03 15:11eliezerSotomayorSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28874#r28874
2025-01-06 15:17ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2025-01-07 07:09ranjith_qualiantech_comStatusnew => scheduled
2025-01-09 07:35hgbotNote Added: 0173934
2025-01-09 07:36hgbotNote Added: 0173935
2025-02-15 13:02hgbotResolutionopen => fixed
2025-02-15 13:02hgbotStatusscheduled => closed
2025-02-15 13:02hgbotFixed in Version => 25Q2
2025-02-15 13:02hgbotNote Added: 0175686
2025-02-15 13:02hgbotNote Added: 0175687
2025-02-15 13:02hgbotNote Added: 0175688
2025-02-15 13:02hgbotNote Added: 0175689

Notes
(0173934)
hgbot   
2025-01-09 07:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3333 [^]
(0173935)
hgbot   
2025-01-09 07:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/795 [^]
(0175686)
hgbot   
2025-02-15 13:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: cdd0ec1782495159c1245ef8639d2777d20c3a4b
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 15-02-2025 12:02:17
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/cdd0ec1782495159c1245ef8639d2777d20c3a4b [^]

Fixed ISSUE-57354: Added Date support for filters in Customer Selector

---
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerSelector/CustomerSelector.jsx
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerSelector/CustomerSelectorHandler.js
M web-jspack/org.openbravo.pos2/src/services/crm/OBCRMUtils.js
---
(0175687)
hgbot   
2025-02-15 13:02   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3333 [^]
(0175688)
hgbot   
2025-02-15 13:02   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/795 [^]
(0175689)
hgbot   
2025-02-15 13:02   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 5faa0c68fa9025b7149a3a847f58eb744b35307a
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 15-02-2025 12:02:36
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/5faa0c68fa9025b7149a3a847f58eb744b35307a [^]

Related to ISSUE-57354: Added Date support for filters in CRM connector

---
M src/org/openbravo/mobile/core/process/SimpleQueryBuilder.java
M web/org.openbravo.mobile.core/app/integration/external-business-partner/CRMConfigurationHelper.js
M web/org.openbravo.mobile.core/app/integration/external-business-partner/ExternalBusinessPartnerListViewData.js
M web/org.openbravo.mobile.core/app/model/remote/CriteriaConverter.js
---