odoo/o-spreadsheet#7367
Created by BI, Lucas Lefèvre (lul)
Merged
at 2df67bbbd1d24aee1381b879a1dea8e38f000519
Statuses:
- label
- odoo:saas-18.3-half-versions-lul
- head
- 0a011c68933991f409e76c4bfda1b8eaf9b3ccee
- merged
- 1 day ago by BI, Adrien Minne (adrm)
| odoo/o-spreadsheet | |
|---|---|
| saas-18.3 | #7367 |
| saas-18.4 | #7373 |
| 19.0 | #7374 |
| master | #7375 |
[FIX] upgrade: half-versions are missing in mapping
Commit 4d671ebd47a05 didn't add intermediary versions 12.5 and 14.5 in the mapping.
As a result, data.version was transformed to undefined and the data would go through every upgrade steps from the very begining, which could obviously lead to crashes and corrupted data.
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