Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022249Retail ModulesWeb POSpublic2012-11-09 12:152012-11-27 18:44
jecharri 
marvintm 
immediatemajoralways
closedfixed 
5
 
RMP17 
No
0022249: WebPOS fails in login process if one business partner has 2 contacts
WebPOS fails in login process if one business partner has 2 contacts
-Assign to one "Business partner" 2 contacs
-login in the application and you will get an error when is trying to insert

The problem is that the query that is getting the business partners is getting duplicate id's.
No tags attached.
Issue History
2012-11-09 12:15jecharriNew Issue
2012-11-09 12:15jecharriAssigned To => adrianromero
2012-11-09 12:19alostaleAssigned Toadrianromero => marvintm
2012-11-09 12:19alostaleStatusnew => scheduled
2012-11-09 12:19alostalefix_in_branch => pi
2012-11-09 14:16hgbotCheckin
2012-11-09 14:16hgbotNote Added: 0054126
2012-11-09 16:39marvintmNote Added: 0054131
2012-11-09 16:45hgbotCheckin
2012-11-09 16:45hgbotNote Added: 0054132
2012-11-09 16:45hgbotStatusscheduled => resolved
2012-11-09 16:45hgbotResolutionopen => fixed
2012-11-09 16:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f7df30ba147aac6ccfa3f6b4fa19fbd3c8e18f0a [^]
2012-11-27 10:19adrianromeroTarget Version => RMP17
2012-11-27 18:44adrianromeroNote Added: 0054577
2012-11-27 18:44adrianromeroStatusresolved => closed

Notes
(0054126)
hgbot   
2012-11-09 14:16   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 51d3753da0f31799c656909d0c4aec21468825b9
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Nov 09 14:15:19 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51d3753da0f31799c656909d0c4aec21468825b9 [^]

related to issue 22249: user_id has been added to bp table and customerLoader uses this id (and location id) to edit the fields [part1]

---
M src/org/openbravo/retail/posterminal/CustomerLoader.java
M src/org/openbravo/retail/posterminal/master/BusinessPartner.java
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
---
(0054131)
marvintm   
2012-11-09 16:39   
The problem also happens if there are two different locations associated with the business partner, the business partner itself is not the one specified in the "organization" as anonymous customer, and the location is not associated with the organization as anonymous location.

The change will fix both problems.
(0054132)
hgbot   
2012-11-09 16:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f7df30ba147aac6ccfa3f6b4fa19fbd3c8e18f0a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Nov 09 16:45:18 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f7df30ba147aac6ccfa3f6b4fa19fbd3c8e18f0a [^]

Fixed issue 22249. Now if the business partner has more than one location or contact, one of them will be selected instead of creating an error in the client.

---
M src/org/openbravo/retail/posterminal/master/BusinessPartner.java
---
(0054577)
adrianromero   
2012-11-27 18:44   
Closed for RMP17