2016-05-12 24 views
0

我想從odoo 9.0中獲得工作職位,在.NET中工作正常。工作崗位的對象是「hr.job」。如何從odoo 9.0使用xml-rpc獲得工作deatil

XmlRpcStruct[] JobPositions = odooProxyObject.Read("odoodb", userid, "awais", "hr.job", "read", new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 30 }, new string[] { "id", "name" }); 

我想獲得具體工作職位的詳細信息。什麼是工作細節的對象?

回答

0

我找到了。我們需要提及我們希望所有工作的屬性,如「id」,「name」,「department_id」,「description」,「no_of_employee」,「no_of_recruitment」,「expected_employees」,「no_of_hired_employee」,「狀態」。

XmlRpcStruct[] JobPositions = odooProxyObject.Read(dbname, UserID, password, "hr.job", "read", new int[] { 0, 1, 2, 3, 4, 5, 6, 7 }, new string[] { "id", "name", "department_id", "description", "no_of_employee", "no_of_recruitment", "expected_employees", "no_of_hired_employee", "state" }); 
     return JobPositions;