Open gosysdata opened 8 months ago
While executing
var tableName = "project.project"; var modelResult = await odooClient.GetModelAsync(tableName);
odoo version?
17.0 enterprise on odoo.sh
On 8 Jan 2024, at 23:23, Patrick @.***> wrote:
odoo version?
— Reply to this email directly, view it on GitHubhttps://github.com/Intechnity-com/OdooJsonRpcClient/issues/90#issuecomment-1881915061, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDRQ72T2GW3SKWDSOP735P3YNRWVFAVCNFSM6AAAAABBQSDHYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHEYTKMBWGE. You are receiving this because you authored the thread.Message ID: @.***>
I got the same error. This is the version info:
{
"server_version": "saas~17.1+e",
"server_version_info": [
"saas~17",
1,
0,
"final",
0,
"e"
],
"server_serie": "saas~17.1",
"protocol_version": 1
}
Same error trying to get the "crm.lead" table, anyone found a solution?
System.Exception HResult=0x80131500 Message=Cannot unmarshal Enum 'OdooValueTypeEnum' - 'properties_definition' Source=PortaCapena.OdooJsonRpcClient StackTrace: at PortaCapena.OdooJsonRpcClient.Models.OdooPropertyInfo.ToOdooValueTypeEnum(String value) at PortaCapena.OdooJsonRpcClient.Models.OdooPropertyInfo.get_PropertyValueType() at PortaCapena.OdooJsonRpcClient.Converters.OdooModelMapper.ConvertToDotNetPropertyTypeName(KeyValuePair$>d__0.MoveNext() in
2 property, String tableName) at PortaCapena.OdooJsonRpcClient.Converters.OdooModelMapper.GetDotNetModel(String tableName, Dictionary
2 properties, Boolean addSummary) at Program.<