Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odoo 17 Projects - Bug cannot unmarshal properties_definition #90

Open
gosysdata opened this issue Jan 7, 2024 · 5 comments
Open

Odoo 17 Projects - Bug cannot unmarshal properties_definition #90

gosysdata opened this issue Jan 7, 2024 · 5 comments

Comments

@gosysdata
Copy link

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(KeyValuePair2 property, String tableName) at PortaCapena.OdooJsonRpcClient.Converters.OdooModelMapper.GetDotNetModel(String tableName, Dictionary2 properties, Boolean addSummary)
at Program.<

$>d__0.MoveNext() in

@gosysdata
Copy link
Author

While executing

var tableName = "project.project";
var modelResult = await odooClient.GetModelAsync(tableName);

@patricoos
Copy link
Member

odoo version?

@gosysdata
Copy link
Author

gosysdata commented Jan 8, 2024 via email

@alberthoekstra
Copy link

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
}

@WMLondo
Copy link

WMLondo commented Jun 11, 2024

Same error trying to get the "crm.lead" table, anyone found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants