Problem is that while creating Opportunity from schedule activity at the bottom of the activity view, context was not applied. For Example, CRM > Pipeline, while creating opportunity that will create a lead because context was not applied. In this commit, context should be applied. task-2072491 closes odoo/odoo#37139 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>