← Back to team overview

openerp-india team mailing list archive

[Bug 1037089] Re: target_dict is string

 

Hey guys,

Everytime the bug doesn't get generated doesn't mean it never existed!

In this particular as, the bug existed earlier and has  been fixed by
Olivier Dony by revision http://bazaar.launchpad.net/~openerp
/openobject-server/6.1/revision/4259.1.1.

The bug was reported on Aug 15th and has been fixed for an OPW on the
date Aug 21st. Hence, lets conclude that this should be set as fixed
released.

Thanks everyone.
Serpent Consulting Services!


** Changed in: openobject-server
       Status: Incomplete => Fix Released

** Changed in: openobject-server
   Importance: Undecided => Low

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Changed in: openobject-server
    Milestone: None => 6.1

** Summary changed:

- target_dict is string
+ [6.1] : Attachment : target_dict is string

-- 
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:
  [6.1] : Attachment : target_dict is string

Status in OpenERP Server:
  Fix Released

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