odoo/o-spreadsheet#7725
Created by fw-bot
Merged
at 3b078a53a358db8241b71a5e522a3de64b80710e
Statuses:
- label
- odoo:saas-19.1-19.0-transport-promise-lul-488433-fw
- head
- 03d748362212ac77c612c1a8e4b0ac4bb7f696eb
- 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