← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 794614] Re: customer address clobbered

 

res_users.email is null and the res_partner_address.email is being shown/updated.
The wrong table is being referenced in the code.  There is only 1 occurence of the updated email address in the Postgres database (res_partner_address.email)

crm=# select count(*) from res_users;
 count 
-------
     7
(1 row)

crm=# select count(*) from res_users where email is null;
 count 
-------
     7
(1 row)


crm=# select id, email from res_partner_address where email like '%xxxxxxxx.com';
 id |         email         
----+-----------------------
  1 | xxxxxxxx@xxxxxxxxxxxx
(1 row)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/794614

Title:
  customer address clobbered

Status in OpenERP Web Client:
  Confirmed

Bug description:
  v 6.0.2  web
  Open an existing customer that has at least 1 address already defined.
  Click NEW to create a new address.
  In the email field, only enter "bad email" (do not put the @ symbol)
  Click on Save/Edit.
  OpenERP writes a message in red saying the email address is invalid.
  Fix the email address and push Save/Edit.

  The original address gets deleted and over-written by the new address!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/794614/+subscriptions


References