Duplicate res_partner_address for new client (one blank)

Bug #1001641 reported by ocset
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
New
Undecided
Unassigned

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

affects: openobject-server → openerp-web
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.