← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 699960] Re: [RC2] many2many with many records doesn't load

 

I found the problem. It's because the value X-Concurrency-Info in the
HTTP Response Header is too big and FireFox aborts the session. Do you
really need to send this information in the header with the List widget
? The only thing you do with this is to refresh the last updated date
for existing concurrency info in the form, but these records are not
already here and the information is also provided in the returned HTML
code !


addons/openerp/widget/listgrid.py - Line 176 :

        if ids and len(ids) > 0:

            ctx = rpc.session.context.copy()
            ctx.update(context)
            
            try:    
                data = proxy.read(ids, fields.keys() + ['__last_update'], ctx)
            except:
                pass
            
-           ConcurrencyInfo.update(self.model, data)
            self.concurrency_info = ConcurrencyInfo(self.model, ids)

-- 
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/699960

Title:
  [RC2] many2many with many records doesn't load

Status in OpenObject Web Client:
  New

Bug description:
  I have to write a wizard that allow mass mailing to partner contacts
  based on criteria. The user want to be able to add and remove contacts
  from the mailing list. I have a many2many field that I fill with the
  contacts that match these criteria. When the list is huge (about
  1000), the form fail to load. BTW, when using the GTK client, it
  works, but it's always limited to 100 records !





References