[FIX] lp: 1038173

bzr revid: qdp-launchpad@openerp.com-20120823143521-3517gexkbqkljnp1
This commit is contained in:
Quentin (OpenERP) 2012-08-23 16:35:21 +02:00
commit f6a4aae8c2
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ class crm_lead(base_stage, osv.osv):
def on_change_partner(self, cr, uid, ids, partner_id, context=None):
result = {}
values = {}
if partner_id:
partner = self.pool.get('res.partner').browse(cr, uid, partner_id, context=context)
values = {