[FIX] crm: correct open lead or opportunity view from calls
authorRavi Gohil <rgo@tinyerp.com>
Mon, 9 Jun 2014 09:28:30 +0000 (14:58 +0530)
committerMartin Trigaux <mat@openerp.com>
Wed, 24 Sep 2014 13:54:44 +0000 (15:54 +0200)
commit126ba0a9a8a1aaaf959a1c2c0f235640e766a9de
tree5e314f6f91f12ec7ae9cdc09b496fab6b22fcf78
parent933d098e7d321c5aca3680178b9cc3fdd8c12823
[FIX] crm: correct open lead or opportunity view from calls

When opening a lead/opportunity from the phonecalls view, we did not open the correct view (always the lead).
This will use the type of the crm.lead to determine which view should be used, opw 608493.
addons/crm/crm_lead.py
addons/crm/crm_phonecall_view.xml