How to connect or login with Odoo using c# code? And after connect with Odoo how to add custom field to Odoo database from c#?

…衆ロ難τιáo~ 提交于 2019-12-06 06:29:11

问题


I have to implement some code in c# for login with Odoo database and give the logged user id please have a look,

public interface IOpenErpLogin
{
    [XmlRpcMethod("login")]
    int login(string dbName, string dbUser, string dbPwd);
}

But, it give error like "Bad Request". Also i'm not sure for XmlRpcUrl, have you any idea about what URL in to [XmlRpcUrl("")] ?


回答1:


public interface IOpenErpLogin : IXmlRpcProxy
{
    [XmlRpcMethod("login")]
    int login(string dbName, string dbUser, string dbPwd);
}


来源:https://stackoverflow.com/questions/51404705/how-to-connect-or-login-with-odoo-using-c-sharp-code-and-after-connect-with-odo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!