← Back to team overview

openerp-india team mailing list archive

[Bug 1001641] Re: Duplicate res_partner_address for new client (one blank)

 

** Project changed: openobject-server => openerp-web

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1001641

Title:
  Duplicate res_partner_address for new client (one blank)

Status in OpenERP Web:
  New

Bug description:
  HI

  I have a database that contains 14000 customer and supplier entries. I
  have a problem that can be reproduces but not consistently.

  When a user creates a new customer, there are random occurrences of
  the server creating two "res_partner_address" entries for the new
  client. One is blank and the second one contains the correct detail.
  If the person inputting the data does not choose a address type (like
  default or invoice) then the server return the first record which
  contains NULL's and therefore return no address details for the new
  customer.

  I have run the server with these parameters "--log-sql --log-web
  --log-request --log-response", and I can see where the server is
  inserting the blank address and then later on inserts the correct
  address but don't understand the logic of what is going on.

  My testing involves nothing more than inputting one new customer after
  another and sometime it will take 10 goes before the error occurs and
  sometime it will happen 3 times in a row. The data I am entering is
  random data like "aaaaaaaaaaaa" so there are no entries in the
  database that would match the new customer I am creating.

  System
  Ubuntu 10.04
  Openerp 6.1.1
  Web client

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/1001641/+subscriptions


References