Skip to content

[FIX] sheetview: prevent blank grid when zoom value is empty - #9599

Open
rmbh-odoo wants to merge 1 commit into
saas-19.3from
saas-19.3-fix-empty-zoom-level-rmbh
Open

[FIX] sheetview: prevent blank grid when zoom value is empty#9599
rmbh-odoo wants to merge 1 commit into
saas-19.3from
saas-19.3-fix-empty-zoom-level-rmbh

Conversation

@rmbh-odoo

Copy link
Copy Markdown
Contributor

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

Before this commit:
- Clearing the zoom value sets the zoom level to NaN, causing the
  grid to become completely blank.

After this commit:
- Ignore empty zoom values and keep the current zoom level unchanged.

Task: 6515617
@robodoo

robodoo commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants