OdooJsonRpcClient
OdooJsonRpcClient copied to clipboard
OdooModelMapper.GetDotNetModel does not work for project.project and project.task
I use odoo v16 community version. bellow lines throw exception : System.Exception: 'Cannot unmarshal Enum 'OdooValueTypeEnum' - 'properties''
... var tableName = "project.task"; var modelResult = await odooClient.GetModelAsync(tableName); var model = OdooModelMapper.GetDotNetModel(tableName, modelResult.Value);
Thanks for the info, I'll check it out
I am awaiting
is there news about this? thanks!
@Maoie86 I ran in the same issue a couple of weeks ago. I had to fix/extend something so the enums would unmarshal properly. I actually already forgot what I exactly did but I think I just had to add case "porperties" ... I was able to find the issue simply with the debugger. And I think waiting for someone here to fix it for you would take for ever...