Hello Jay,
You are right that the revision provided does not fix the problem,
the corrected revision is 
http://bazaar.launchpad.net/~openerp-dev/openobject-addons/trunk-dev-addons2/revision/3997
Reason: Talking on functional aspect, Its illogical to send purchased goods to 
a destination without any partner, however there may some probability to send 
the purchased goods to a destination without partner, but still it doesn't make 
sense.
think for the case when PO has Invoicing Control "From Picking", we won't be 
able to create Invoice from picking as partner is missing,
Correct me if I am wrong giving proper realtime case.
Changing read to browse is appreciated, Nice fix...
Thanks

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

-- 
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 destination address which has no partner on it

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

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



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to