Open ramon-it opened 8 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; }
/// /// 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!
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!