Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045537Retail ModulesWeb POSpublic2020-12-03 12:452021-01-04 14:22
shankarb 
prakashmurugesan88 
highmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR21Q1 
No
0045537: POS picks up different first name and last name if there are multiple records in contact in Business Partner
In the customer section in POS, the first name and last name is picked up from the Contact tab. if the contact tab has multiple entries, then the Business partner name and the first name and last name shown differently.
1. Create a new Customer in the POS window
2. In Backend --> business partner window --> Open the business partner created in pos
3. Under the contacts tab, create more than 2 contacts and save.
4. Do full data refresh data in POS.
5. Open the same contact, we can see the "Name" field changed in "Personal Information".
No tags attached.
Issue History
2020-12-03 12:45shankarbNew Issue
2020-12-03 12:45shankarbAssigned To => Retail
2020-12-03 12:45shankarbResolution time => 1608764400
2020-12-03 12:45shankarbTriggers an Emergency Pack => No
2020-12-14 06:43marvintmProjectPOS2 => Retail Modules
2020-12-14 06:44marvintmCategoryPOS => Web POS
2020-12-14 11:57prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-12-16 12:27ngarciaIssue Monitored: ngarcia
2020-12-17 14:29prakashmurugesan88Statusnew => scheduled
2020-12-23 05:52hgbotNote Added: 0125053
2020-12-23 05:53hgbotNote Added: 0125054
2020-12-30 13:43hgbotResolutionopen => fixed
2020-12-30 13:43hgbotStatusscheduled => closed
2020-12-30 13:43hgbotNote Added: 0125166
2020-12-30 13:43hgbotFixed in Version => RR21Q1
2020-12-30 13:43hgbotNote Added: 0125167
2020-12-30 13:43hgbotNote Added: 0125168
2020-12-30 13:43hgbotNote Added: 0125169
2020-12-30 14:05hgbotNote Added: 0125172
2020-12-30 14:07hgbotNote Added: 0125173
2020-12-30 14:07hgbotNote Added: 0125174
2020-12-31 09:50hgbotNote Added: 0125207
2020-12-31 09:52hgbotNote Added: 0125209
2020-12-31 09:52hgbotNote Added: 0125210
2021-01-04 14:22hgbotNote Added: 0125245

Notes
(0125053)
hgbot   
2020-12-23 05:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/2 [^]
(0125054)
hgbot   
2020-12-23 05:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/231 [^]
(0125166)
hgbot   
2020-12-30 13:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/2 [^]
(0125167)
hgbot   
2020-12-30 13:43   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: c998af5223cdeec16a0fd2b4c345a946775ab3d0
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-12-28T13:15:32+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/c998af5223cdeec16a0fd2b4c345a946775ab3d0 [^]

Fixed BUG-45537: Fixes random display of first name in customer window
* Issue occurs when the BusinessPartner has multiple records in contact tab
* Fixed by creating new column to set default contact for retail
* Changed existing query to use default contact instead of max(id)

---
A build/classes/org/openbravo/retail/config/modulescript/UpdateDefaultContact.class
A build/classes/org/openbravo/retail/config/modulescript/UpdateDefaultContactData.class
A src-db/database/model/modifiedTables/AD_USER.xml
A src-util/modulescript/src/org/openbravo/retail/config/modulescript/UpdateDefaultContact.java
A src-util/modulescript/src/org/openbravo/retail/config/modulescript/UpdateDefaultContact_Data.xsql
A src/org/openbravo/retail/config/event/DeafultContactEventHandler.java
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
---
(0125168)
hgbot   
2020-12-30 13:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/231 [^]
(0125169)
hgbot   
2020-12-30 13:43   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 136e889961d56193cc7bcada7db67c73894238f2
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-12-30T12:43:27+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/136e889961d56193cc7bcada7db67c73894238f2 [^]

Fixed BUG-45537: Fixes random display of first name in customer window
* Issue occurs when the BusinessPartner has multiple records in contact tab
* Fixed by creating new column to set default contact for retail
* Changed existing query to use default contact instead of max(id)
* Default contact is set true when new BusinessPartner is created from POS

---
M src/org/openbravo/retail/posterminal/CustomerLoader.java
M src/org/openbravo/retail/posterminal/master/BusinessPartner.java
M src/org/openbravo/retail/posterminal/master/LoadedCustomer.java
---
(0125172)
hgbot   
2020-12-30 14:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/3 [^]
(0125173)
hgbot   
2020-12-30 14:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: 28f74dc8b4a54e108f53b9549a91ff0cd9358a02
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-12-30T18:33:37+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/28f74dc8b4a54e108f53b9549a91ff0cd9358a02 [^]

Related to BUG-45537: Removed StringBuffer used to build queries

---
M src/org/openbravo/retail/config/event/DeafultContactEventHandler.java
---
(0125174)
hgbot   
2020-12-30 14:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/3 [^]
(0125207)
hgbot   
2020-12-31 09:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/4 [^]
(0125209)
hgbot   
2020-12-31 09:52   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: b2d832177b8a32adf15a40fe3de4bcf44f8c32b5
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-12-31T14:19:25+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/b2d832177b8a32adf15a40fe3de4bcf44f8c32b5 [^]

Related to BUG-45537: Added business partner validation for default contact check

---
M src/org/openbravo/retail/config/event/DeafultContactEventHandler.java
---
(0125210)
hgbot   
2020-12-31 09:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/4 [^]
(0125245)
hgbot   
2021-01-04 14:22   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 73cb432ca5fa9996aa6d231aaaf18ee0c2ffe40a
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 2021-01-04T13:45:18+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/73cb432ca5fa9996aa6d231aaaf18ee0c2ffe40a [^]

Related to ISSUE-45537: Add to sample data new columun added to ad_user

---
M referencedata/sampledata/The_White_Valley_Group/AD_USER.xml
---