Skip to content

[18.0] [IMP] spreadsheet_oca: what-if scenarios with cell overrides - #102

Open
dnplkndll wants to merge 3 commits into
OCA:18.0from
ledoent:18.0-feat-scenarios
Open

[18.0] [IMP] spreadsheet_oca: what-if scenarios with cell overrides#102
dnplkndll wants to merge 3 commits into
OCA:18.0from
ledoent:18.0-feat-scenarios

Conversation

@dnplkndll

@dnplkndll dnplkndll commented Mar 13, 2026

Copy link
Copy Markdown

Adds what-if scenarios: a named set of cell overrides applied to a copy of a
spreadsheet, so alternatives can be modelled without touching the original.

Depends on #99 — its two commits are shared and drop out once
that merges.

Non-mechanical points worth flagging

  • The original is never mutated. action_apply_to_copy deep-copies
    spreadsheet_raw before writing any override, then creates a new record.
  • Overrides are validated on save, not on run. A constraint checks the JSON
    parses, is an object, and that every key is a usable cell reference — so a
    malformed scenario fails where the user typed it.

AI-assisted (Claude Code); every change reviewed, tested, and owned by the author.

@dnplkndll dnplkndll changed the title [IMP] spreadsheet_oca: what-if scenarios with cell overrides [18.0] [IMP] spreadsheet_oca: what-if scenarios with cell overrides Mar 13, 2026
@dnplkndll
dnplkndll force-pushed the 18.0-feat-scenarios branch from c89bd65 to 39fd8ac Compare March 13, 2026 02:05
@dnplkndll
dnplkndll force-pushed the 18.0-feat-scenarios branch from 39fd8ac to 4776204 Compare May 13, 2026 20:39
@dnplkndll
dnplkndll force-pushed the 18.0-feat-scenarios branch from 4776204 to 3d442a3 Compare July 27, 2026 16:25
@dnplkndll
dnplkndll force-pushed the 18.0-feat-scenarios branch from 3d442a3 to 07e9a73 Compare July 27, 2026 18:04
@dnplkndll
dnplkndll force-pushed the 18.0-feat-scenarios branch from 07e9a73 to b7790d2 Compare July 27, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants