← Back to team overview

openerp-india team mailing list archive

[Bug 1037089] Re: target_dict is string

 

Hello C.T. Matsumoto ,

I have checked it with latest updated code but I did not face problem like 
string indices must be integers, not str , So would you please check this with latest 
updated code and provide detail information regarding this issue.

Thanks and waiting for reply!

** Changed in: openobject-server
       Status: New => Incomplete

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

Title:
  target_dict is string

Status in OpenERP Server:
  Incomplete

Bug description:
  string indices must be integers, not str
  TypeError: string indices must be integers, not str

  I got this error when selecting a purchase order from a tree view.
  Looking further I found the following.

  ir_attachment.py line #78

  for target_dict in targets:
      if not (target_dict['res_id'] and target_dict['res_model']):
          continue

  target_dict is a string. Perhaps targets['res_id'] should be used. Or
  target_dict should be assigned in a different way.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1037089/+subscriptions


References