odoo/o-spreadsheet#4601

Created by BI, Adrien Minne (adrm)
Merged at 830ad0377c954eb36cbd776d8794ed08a08fb81f

Statuses:

label
odoo:maste-tests-window-typing-adrm
head
c9ce1214e233a75d6db0c1c71b371d09841993f5
merged
3 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
master #4601

[IMP] tests: add typing for window

We added things to the window global variable in the tests, but we didn't add them to the typing. This commit adds the missing typing, allowing us to remove a bunch of @ts-ignore.

Task: : 4037352

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