示例#1
0
        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);
        }
示例#2
0
        public JObject GetCustomerDetailData(int cus_id)
        {
            JObject dt = odooConnector.odooMethodCall_promotions <dynamic>("res.partner", "get_customer_detail", cus_id);

            return(dt);
        }
示例#3
0
        public JObject getuserdata(String modelname, String methodname)
        {
            JObject dt = odooConnector.odooMethodCall_promotions <dynamic>(modelname, methodname, Settings.UserId);

            return(dt);
        }