odoo/o-spreadsheet#9599
Created by Ronakkumar Mukeshbhai Bharadiya (rmbh)
- label
- odoo:saas-19.3-fix-empty-zoom-level-rmbh
- head
- 52b8954bb32bdc08f385d7586f87d4e1b34690f2
| odoo/o-spreadsheet | |
|---|---|
| saas-19.3 | #9599 missing r+ |
| saas-19.4 | |
| master |
[FIX] sheetview: prevent blank grid when zoom value is empty
Description:
Current behavior before PR:
- Clearing the zoom value sets the zoom level to NaN, causing
the grid to become completely blank.
Desired behavior after PR is merged:
- Ignore empty zoom values and keep the current zoom level unchanged.
Task: 6515617
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