Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
2695 มุมมอง

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
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 19
4928
5
ก.พ. 16
8075
1
ก.ย. 23
3266
1
มี.ค. 21
5826
1
ส.ค. 25
336