Intechnity-com / OdooJsonRpcClient

Odoo Client Json Rpc
MIT License
67 stars 29 forks source link

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

Open ramon-it opened 6 months ago

ramon-it commented 6 months ago

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!