Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
2560 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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);

}

Tác giả

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

Tác giả Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 19
4846
5
thg 2 16
7956
1
thg 9 23
3124
1
thg 3 21
5689
0
thg 7 25
211