Beispiel #1
0
        public List <SalesOrder> GetSalesQrder()
        {
            List <SalesOrder> quotList = new List <SalesOrder>();

            App.filterdict["range"]      = false;
            App.filterdict["days"]       = false;
            App.filterdict["month"]      = true;
            App.filterdict["sale_order"] = true;
            quotList = odooConnector.odooMethodCall_getsaleorder <JArray>("sale.order", "get_sales_data");
            //  tarList = result.ToObject<List<SalesQuotation>>();
            return(quotList);
        }
Beispiel #2
0
        public List <SalesOrder> GetSalesQrder()
        {
            List <SalesOrder> quotList = new List <SalesOrder>();

            if (!App.so_filter)
            {
                App.filterdict["range"] = false;
                App.filterdict["days"]  = false;
                App.filterdict["month"] = true;
            }
            App.filterdict["sale_order"] = true;
            quotList      = odooConnector.odooMethodCall_getsaleorder <JArray>("sale.order", "get_sales_data");
            App.so_filter = false;
            return(quotList);
        }