← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 727467] Re: client crash importing data

 

Working in import the problem is when i set the case code for tax code, name_search from import_data method is called with operator='=', as you can see here: http://bit.ly/gsD9lb. and here http://bit.ly/fqVSJr is the defintion of name_search, id passed from file is CODE_FIELD - NAME_FIELD, when try to search in line 1626 with:
ids = self.search(cr, user, ['|',('name',operator,name),('code',operator,name)] + args, limit=limit, context=context)
never will catched so the name must be splited as next option if not ids, i read the code in account_account object http://bit.ly/fBFszd the name_search method is better implemented.

Finally this bug affect to modules and client because the process crash
the client.

** Project changed: openobject-server => openobject-addons

** Also affects: openobject-client
   Importance: Undecided
       Status: New

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

Title:
  client crash importing data

Status in OpenERP Modules (addons):
  New
Status in OpenERP GTK Client:
  New

Bug description:
  I ma trying to import tax codes in v6 stable revno1814 and:
  Data is not imported give this error  http://paste.pocoo.org/show/346673/
  then the client rash with segmentation fault

  I attached the file what i am trying to import in tax codes.

  Regards,



References