コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
2703 ビュー

1) We add Custom Field to model manually from "Settings ->  Technical" menu in Odoo, but i want to add multiple fields to particular model (Like Contacts) using some API or Script call using c# or asp.net.

2) Can have any Odoo Api and call by c# for adding new field(Column) to model in Odoo.

アバター
破棄

Hello, Try calling create method of ir.models.fields with all required fields using xmlrpc or json_rpc.

check this link https://www.odoo.com/documentation/11.0/webservices/odoo.html

著作者

I know very well for that but what "XmlRpcUrl" need to pass ?

Ex:

[XmlRpcUrl("https://air-flow-master-staging-88906.dev.odoo.com")]

public interface IOpenErpLogin : IXmlRpcProxy

{

[XmlRpcMethod("login")]

int login(string dbName, string dbUser, string dbPwd);

}

著作者

And also how to find out my server name and port in odoo.sh ?

著作者 最善の回答

Please see my link all things for Odoo from c#:


https://stackoverflow.com/questions/51404705/how-to-connect-or-login-with-odoo-using-c-sharp-code
アバター
破棄
関連投稿 返信 ビュー 活動
2
2月 19
4930
5
2月 16
8076
1
9月 23
3275
1
3月 21
5839
1
8月 25
351