Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022771Retail ModulesWeb POSpublic2013-01-10 17:542013-01-25 13:32
jecharri 
guilleaer 
urgentmajoralways
closedfixed 
5
 
RMP19 
marvintm
No
0022771: Impossible to create two times one business partner with the same name
Impossible to create two times one business partner with the same name
-Go to web POS
-create a BP with name "hola"
-create again a BP with name "hola"

You will see that it is impossible.

The problem is that we are creating a user every time and the table ad_user has the constraint:"CONSTRAINT ad_user_un_username UNIQUE (username)",
No tags attached.
Issue History
2013-01-10 17:54jecharriNew Issue
2013-01-10 17:54jecharriAssigned To => guilleaer
2013-01-10 17:54jecharriResolution time => 1328828400
2013-01-11 12:33hgbotCheckin
2013-01-11 12:33hgbotNote Added: 0055480
2013-01-11 12:33hgbotStatusnew => resolved
2013-01-11 12:33hgbotResolutionopen => fixed
2013-01-11 12:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fc99b4bed4f4853edc97b4043752683ca5ad168f [^]
2013-01-25 13:32marvintmReview Assigned To => marvintm
2013-01-25 13:32marvintmStatusresolved => closed

Notes
(0055480)
hgbot   
2013-01-11 12:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fc99b4bed4f4853edc97b4043752683ca5ad168f
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Jan 11 12:29:26 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fc99b4bed4f4853edc97b4043752683ca5ad168f [^]

Fixed issue 22771: BP with same name can be created without problems from Web POS.
Search key of created BP is now more readable trying to use the name of the customer (without spaces)
If the name of the BP is changed from Web POS the associated user first name is updated
Credit limit is not set to 0 when a BP is edited from web POS

---
M src/org/openbravo/retail/posterminal/CustomerLoader.java
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
---