c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #14516
[Bug 710516] Re: [Trunk] purchase: Try to select partner address which has no partner on it
** Branch linked: lp:~openerp-dev/openobject-addons/ksa-addons2
--
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:
[Trunk] purchase: Try to select partner address which has no partner
on it
Status in OpenERP Modules (addons):
Fix Committed
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