跳至內容
選單
此問題已被標幟
3 回覆
30150 瀏覽次數

Hi , 

I am just started with Odoo . I am a .net developer and want to create products, receipts , scraps etc.... all things in inventory, contacts , sales modules . So i made a CRUD in c# but i am stuck in creating a category because it has foreign keys involve in it ( this what i think, because exception code are also not descriptive) . So any one know who to add and delete any entity in Odoo via api ?

頭像
捨棄
最佳答案

https://github.com/patricoos/PortaCapena.OdooJsonRpcClient

https://www.nuget.org/packages/PortaCapena.OdooJsonRpcClient/

頭像
捨棄
最佳答案

There is a bug in version 2.5.0 when using "search_read".  Apparently there is a fix in version 3, but the link on the website to download is broken.

http://xmlrpcnet.googlecode.com/files/xml-rpc.net.3.0.0.270-snapshot.zip [BROKEN]

But you can read it on these links
https://stackoverflow.com/questions/25628216/fault-response-contains-a-string-value-where-an-integer-was-expected

http://www.xml-rpc.net/

Appears I will need to write my own library as I have been unable to find any suitable links

頭像
捨棄
最佳答案

Hi,

You can use this library "\https://github.com/ieski/OdooXmlRpc"

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
5月 22
2047
1
3月 21
5502
2
12月 24
1758
3
1月 23
6933
2
12月 22
3581