Skip to content

Not implemented json mapping value "analytic_distribution - json" #94

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

Open
ramon-it opened this issue Mar 4, 2024 · 0 comments
Open

Comments

@ramon-it
Copy link

ramon-it commented Mar 4, 2024

Odoo Version : 16
Model: account.move.line
Field: analytic_distribution

Property in class (generated by odooClient.GetModelAsync):
/// /// analytic_distribution - json /// Required: False, Readonly: False, Store: True, Sortable: True /// [JsonProperty("analytic_distribution")] public string AnalyticDistribution { get; set; }

Error:
System.Exception: Not implemented json mapping value: '$"analytic_distribution": { "144": 100.0 }' to String at PortaCapena.OdooJsonRpcClient.Converters.OdooModelMapper.ConverOdooPropertyToDotNet(Type dotnetType, JToken value, Object& result).

How to map correctly the json value into string property ??
Any idea for this ?

Thanks for help!

@ramon-it ramon-it changed the title Not implemented json mapping value Not implemented json mapping value "analytic_distribution - json" Mar 4, 2024
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

1 participant