odoo/o-spreadsheet#7286

Created by BI, Adrien Minne (adrm)
Merged at 5c71d935445362c3694d6516bae7a1664cba2615

Statuses:

label
odoo:master-pivot-style-panel-adrm
head
38b122019746efde73076a81aa5e2d6aa28a2fd9
merged
2 weeks ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet
master #7286

[IMP] pivot: add pivot design panel

Description

This commit adds a new tab "Design" in the pivot side panel, allowing users to customize the appearance of pivot tables.

At the moment the panel only allow for the same customization as the arguments of the =PIVOT() function. The user can easily edit those settings in the side panel, and can override them in the formula if needed.

Task: 5150320

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