odoo/o-spreadsheet#5022

Created by BI, Hendrickx Anthony (anhe)
Merged at 977b8f2656b7e55476b0fd85cebe9f14869e6027

Statuses:

label
odoo:master-chart-fix_trending_line_degree-anhe
head
d06d5ceedbde882ba1dc659a247433001e57ab5d
merged
1 year ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet
18.0 #5022
saas-18.2
saas-18.3
saas-18.4
19.0
saas-19.1
master #5129

[IMP] charts: limit trending line degree range

Task Description

This task aims to add a maximum value for the trending line degree (for a polynomial model), fixed to the minimum value of 10 and 1 below of the number of point in the series.

Related Task

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo