odoo/o-spreadsheet#7303

Created by fw-bot
Merged at 7c113aa361ddf0fcce26179355869333e5f41877

Statuses:

label
odoo:master-17.0-fix-some-function-error-messages-adrm-469440-fw
head
249493b952fc3de421a499cfdb4fa7d6800ed432
merged
3 months ago by BI, Adrien Minne (adrm)
odoo/o-spreadsheet
17.0 #7109
18.0 #7290
saas-18.2 #7298
saas-18.3 #7299
saas-18.4 #7301
19.0 #7302
saas-19.1
master #7303

[FIX] functions: fix LINEST error massage

Description

The functions using the helper tryCastAsNumberMatrix had a wrong error message:

  • the two arguments in the translated string were inverted
  • an argument of _t was typeof cell, which isn't translated
  • the other argument of the _t was something like the first argument (data_y), which wasn't translated either

Task: 5059375

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: #7290
Forward-Port-Of: #7109