odoo/odoo — pull request #2438 by OSguard (2014-09-16 08:29:18+00:00)
Title: fixes #2435 - add additional fields for on_change_partner of crm.lead

crm.lead model an res.partner have both all three fields if you have install crm module. So we can safely add the information to the on_change_partner method.

Since saas-2 function "on_change_partner" was rename to "on_change_partner_id" but diff can apply to master to solve the same problem.