Openbravo Issue Tracking System - POS2
View Issue Details
0050385POS2POSpublic2022-10-03 09:052022-10-13 10:21
rafaroda 
Retail 
normalmajorhave not tried
closedfixed 
5
 
23Q1 
gorka_gil
No
0050385: POS 2: Make configurable the automatic assignation of customer when serach gives 1 result
POS 2: Make configurable the automatic assignation of customer when serach gives 1 result

In POS 2, when a single customer if retrived in the search, it is automatically assigned to the ticket: versus POS 1 where the customer search has showing 1 result


1. Open POS 2
2. Make a customer search of a customer that only retrieves 1 result
3. The customer is automatically assigned to the ticket
Make configurable the automatic assignation of customer when search gives 1 result

This should work both when using CRM Connector Configuration and when not using it, so should NOT depend on CRM Connector

Proposed solution would be a Preference "Assign automatically customer when search gives 1 result" with default value Y (so it behaves the same way as now)
FASH
png Screenshot from 2022-10-13 10-20-11.png (56,338) 2022-10-13 10:21
https://issues.openbravo.com/file_download.php?file_id=17638&type=bug
png
Issue History
2022-10-03 09:05rafarodaNew Issue
2022-10-03 09:05rafarodaAssigned To => Retail
2022-10-03 09:05rafarodaTriggers an Emergency Pack => No
2022-10-03 09:06rafarodaTag Attached: FASH
2022-10-06 16:18hcurbeloFile Added: Screencast from 06-10-22 09:16:33.webm
2022-10-06 16:22hcurbeloNote Added: 0141792
2022-10-06 18:02hgbotNote Added: 0141809
2022-10-06 19:00hcurbeloFile Deleted: Screencast from 06-10-22 09:16:33.webm
2022-10-06 19:00hcurbeloNote Deleted: 0141792
2022-10-11 13:53hgbotNote Added: 0141970
2022-10-11 13:53hgbotResolutionopen => fixed
2022-10-11 13:53hgbotStatusnew => resolved
2022-10-11 13:53hgbotFixed in Version => 23Q1
2022-10-11 13:53hgbotNote Added: 0141971
2022-10-11 14:00gorka_gilReview Assigned To => gorka_gil
2022-10-11 14:00gorka_gilStatusresolved => closed
2022-10-13 10:21rafarodaNote Added: 0142004
2022-10-13 10:21rafarodaFile Added: Screenshot from 2022-10-13 10-20-11.png

Notes
(0141809)
hgbot   
2022-10-06 18:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1259 [^]
(0141970)
hgbot   
2022-10-11 13:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1259 [^]
(0141971)
hgbot   
2022-10-11 13:53   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 5623d2695e79a5d75259373ed1b357068dcf7097
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 11-10-2022 11:53:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5623d2695e79a5d75259373ed1b357068dcf7097 [^]

Fixed ISSUE-50385: Automatic Assignment Customer

---
M .gitignore
M src-db/database/model/modifiedTables/AD_ORG.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/org/openbravo/pos2/term/TerminalProperties.java
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerSelector/CustomerSelector.jsx
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerSelector/__test__/CustomerSelector.test.jsx
---
(0142004)
rafaroda   
2022-10-13 10:21   
A new field has been Added in Organization window: Auto Customer Assignment When One Result checkbox with default value Y, can be set to N by configuration and works OK