Skip to Content
Menu
This question has been flagged
3855 Zobrazenia

I am trying to query OpenERP objects using xml-rpc.net from ASP.NET MVC C# to authentificate users.

Here is how im trying to do:

String[] condition = new String[] { "name", "=", "XXXX" };
        ArrayList lstFilters = new ArrayList();
        lstFilters.Add(condition);

        IOpenErp OpenERPOperations = XmlRpcProxyGen.Create<IOpenErp>();
        var oerp_results = OpenERPOperations.search(OERP_DB, UserID, OERP_PASSWORD, "res.users", "read", lstFilters.ToArray());

The thing is that i was reading through documentation but didnt understood how can i get object attributes for a specific object like users.

There is a web service CRUD example for res.partners but not for anything else.

Is there a resource where i can get more into working with objects of OpenERP, like understanding the concepts behind res.xxxxxx and other object types?

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
júl 25
7189
1
máj 25
1217
2
jan 25
2000
1
aug 24
1952
1
júl 24
2786