odoo/o-spreadsheet#4634

Created by fw-bot
Merged at 86adb37bfe895d64c4fb8a22596e9b2645a246e8

Statuses:

label
odoo:saas-17.2-17.0-fix-truncate-labels-by-default-dhrp-BmbU-fw
head
bfb1f88a8dcce076507326186bd416ef3097f625
merged
3 months ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet
17.0 #4596
saas-17.1 #4633
saas-17.2 #4634
saas-17.3 #4635
master #4636

[FW][FIX] charts: truncate labels by default

Description

This PR ensures that labels are truncated by default in charts. The truncation can be disabled by passing the truncate option to the chart configuration.

Task: : 3958962

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

Forward-Port-Of: #4596