public List <CRMOpportunities> GetOpportunityList() { if (!App.opp_filter) { App.filterdict["range"] = false; App.filterdict["days"] = false; App.filterdict["month"] = true; } App.filterdict["lead"] = false; List <CRMOpportunities> quotList = new List <CRMOpportunities>(); quotList = odooConnector.odooMethodCall_crmopportunities <JArray>("crm.lead", "get_crm_lead_data"); // tarList = result.ToObject<List<SalesQuotation>>(); return(quotList); App.opp_filter = false; }