odoo/o-spreadsheet#7726
Created by fw-bot
Merged
at 811ec6d6d21cf58f892579263bd0d9c5426549ea
Statuses:
- label
- odoo:master-19.0-transport-promise-lul-488517-fw
- head
- a5f6658894a3ea30e371964c56621b2378081199
- merged
- 1 month ago by BI, Vincent Schippefilt (vsc)
| odoo/o-spreadsheet | |
|---|---|
| 19.0 | #7721 |
| saas-19.1 | #7725 |
| master | #7726 |
[FIX] session: always return a Promise
If the implementation of transportService doesn't return a Promise when calling sendMessage, the session breaks.
With this commit, we ensure we always get a Promise which allows to safely call .then or .catch
Description:
description of this task, what is implemented and why it is implemented that way.
Task: TASK_ID
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: #7721