← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 710516] Re: [Trunk] purchase: Try to select partner address which has no partner on it

 

** Also affects: openobject-addons/5.0
   Importance: Undecided
       Status: New

** Also affects: openobject-addons/6.0
   Importance: Undecided
       Status: New

** Also affects: openobject-addons/trunk
   Importance: Low
     Assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2)
       Status: Fix Released

** Changed in: openobject-addons/5.0
       Status: New => Confirmed

** Changed in: openobject-addons/trunk
       Status: Fix Released => Confirmed

** Changed in: openobject-addons/5.0
     Assignee: (unassigned) => Jay Vora (OpenERP) (jvo-openerp)

** Changed in: openobject-addons/5.0
   Importance: Undecided => Low

** Changed in: openobject-addons/6.0
    Milestone: None => 6.0.2

** Changed in: openobject-addons/6.0
     Assignee: (unassigned) => Jay Vora (OpenERP) (jvo-openerp)

** Changed in: openobject-addons/6.0
   Importance: Undecided => Low

** Changed in: openobject-addons/5.0
    Milestone: None => 5.0.16

** Changed in: openobject-addons/6.0
       Status: New => Confirmed

** Summary changed:

- [Trunk] purchase: Try to select partner address which has no partner on it
+ Purchase: Try to select partner address which has no partner on it

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

Title:
  Purchase: Try to select partner address which has no partner on it

Status in OpenERP Modules (addons):
  Confirmed
Status in OpenERP Addons 5.0 series:
  Confirmed
Status in OpenERP Addons 6.0 series:
  Confirmed
Status in OpenERP Addons trunk series:
  Confirmed

Bug description:
  Hello,

  If i select Destination Address on Purchase order (Delivering and inovicing tab) which has no partner defined it gives error:
  File "/home/mra/workspace/trunk-dev-addons3/purchase/purchase.py", line 260, in onchange_dest_address_id
      part_id = self.pool.get('res.partner.address').read(cr, uid, [adr_id], ['partner_id'])[0]['partner_id'][0]
  TypeError: 'bool' object is unsubscriptable


  Thanks,
  mra





References