public JObject GetPromoData(int sale_id) { // Dictionary<int, string> oppoList = new Dictionary<int, string>(); JObject result = odooConnector.odooMethodCall_promotions <JObject>("sale.order", "app_filter_promotions", sale_id); // oppoList = result.ToObject<List<Dictionary<int, string>>>(); return(result); }
public JObject GetCustomerDetailData(int cus_id) { JObject dt = odooConnector.odooMethodCall_promotions <dynamic>("res.partner", "get_customer_detail", cus_id); return(dt); }
public JObject getuserdata(String modelname, String methodname) { JObject dt = odooConnector.odooMethodCall_promotions <dynamic>(modelname, methodname, Settings.UserId); return(dt); }