[FIX] website_crm_partner_assign: portal edit activity change activity type

On the portal, edit a Lead in order to make/edit the
next activity
Change the activity type

Before this commit, the modal closed when clicking on the selection field
This was because the wrong method was called

After this commit, the modal stays and the activity type is changed

OPW 1943428

closes odoo/odoo#31349
This commit is contained in:
Lucas Perais (lpe)
2019-02-25 09:38:39 +00:00
parent 4e0a7cd944
commit 74bd66e1b5
@@ -13,7 +13,7 @@ sAnimations.registry.crmPartnerAssign = sAnimations.Class.extend({
'click .edit_contact_confirm': '_onEditContactConfirm',
'click .new_opp_confirm': '_onNewOppConfirm',
'click .edit_opp_confirm': '_onEditOppConfirm',
'change .edit_opp_form .next_activity': '_onEditOppConfirm',
'change .edit_opp_form .next_activity': '_onEditOppForm',
'click div.input-group span.fa-calendar': '_onCalendarIconClick',
},